add developped Widget in pos
-
Hi,
I want to embed a Wildix Demo Widget in one of the WP posts. On their site, they produce a model that I downloaded, which has the following structure:
- root
- images/ : contains multiple images used only by this widget
- js/ : contains some js scripts (like JQuery)
- index.html : html of the widget, using <script> tags in <head> to load /js/.. files, their script from their site and define a function
For the moment to integrate it to my site I :
- Deleted included JQuery file to use WP version
- Downloaded their script in js/ and include them in index.html
- Created a root/assets/template-part/WildixWidget folder in our custom theme containing the full structure of the widget (images, js, and index.html)
- I created a Post Template in root/ (wildixWidget.php), but I can not “load” the HTML code from /assets/template-part/WildixWidget/index.html
Do anyone have an idea about how can I do ?
Thanks in advance
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘add developped Widget in pos’ is closed to new replies.