Conectar una app con una página wordpress
-
Buenas tardes.
Estoy realizando una página web para un gimnasio que tiene contratada una app en el movil «mywellness» por si sirve de algo, la cual apunta a una base de datos con un timetable creado.
Quiero añadir esa base de datos a la página y que se muestre como un horario en la misma, para ella me han mandado un pdf con el código. Ese código se me abre en html creando un fichero con un editor y abriéndolo en el navegador, pero en wordpress no hay forma. Dejo abajo el código.
To integrate the Class timetable widget in your website you need to ensure that jQuery library is referenced
in your website. You can link jQuery library for example from Google CDN choosing the version that is
compatible with your website (https://developers.google.com/speed/libraries/devguide#jquery).
Then you have to provide a container for the widget and run a script to load the widget into the container.
By default the widget is rendered with Technogym look & feel but you can customize it (see How to
customize it chapter).
<!– This is the placeholder that contains the widget. –>
<div id=»_mwcloudCTT»></div>
<!– Script that loads the widget in the container. –>
<script
src=»http://www.mywellness.com/<facilityUrl>/ClassTimetable/?isWidget=True&langu
age=<language>»></script><!DOCTYPE html>
<html>
<head>
<meta charset=»utf-8″ />
<meta name=»viewport» content=»width=device-width, initial-scale=1″ />
<title>Test class timetable widget full page</title>
<script
src=»http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js»></script>
<script
src=»http://www.mywellness.com/myfacility/classtimetable/?isWidget=True&language
=en-GB»></script>
<style type=»text/css»>
html, body {
padding: 0;
margin: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
</style>
</head>
<body>
<div id=»_mwcloudCTT» style=»width: 100%; height: 100%;»></div>
</body>
</html>He de cambiar myfacility por el nombre de la base de datos y el lenguaje. Con ele ditor en local perfeto, se me abre pero sin embargo en wordpress no consigo que se muestre, copio el código en la página y nada.
Alguna sugerencia?
Muchas gracias
- El debate ‘Conectar una app con una página wordpress’ está cerrado a nuevas respuestas.