cdzan
Forum Replies Created
-
i have found the solution; At the setting age from the plugin, i didn’t select “Show modal window where shortcode is inserted”. And the page somehow loaded the modal window twice automatically. Now it works as it should.
I have removed <?php echo do_shortcode(” [Wow-Modal-Windows-Pro id=\”0\”] “); ?> from the footer. but now instead of showing 3 modular windows it shows 2, and i dont have any more <?php echo do_shortcode(” [Wow-Modal-Windows-Pro id=\”0\”] “); ?> any any file.
I have removed it, but it still says there are 2 modal windows.
OK i see it now, but i have removed all shortcodes for modal windows and even checked all php files on my server and i cant find any shortcodes left… I have no idea how a shortcode is even called right now.
For the ID 0, we put auto increment off and a static id in the database, since we will always have 1 modal window at a time, and don’t want the id to change.
I also have checked all php pages and i can only find 1 modal window with the ID=0.
Done, still the same issues. Also, after checking the console on the browser, i can see that i get this error:
VM6732:1 Uncaught TypeError: jQuery(…).ModalWindow is not a function
at HTMLDocument.eval (eval at <anonymous> (script-0.js?ver=1553758671:1), <anonymous>:1:66)
at j (VM6705 jquery.min.js:2)
at Object.fireWith [as resolveWith] (VM6705 jquery.min.js:2)
at Function.ready (VM6705 jquery.min.js:2)
at HTMLDocument.I (VM6705 jquery.min.js:2)
(anonymous) @ VM6732:1
j @ VM6705 jquery.min.js:2
fireWith @ VM6705 jquery.min.js:2
ready @ VM6705 jquery.min.js:2
I @ VM6705 jquery.min.js:2https://drive.google.com/drive/folders/1r5sGYrKmm5OkO8NN3IusETnK21EQyFHP?usp=sharing
Here are the header, index and footer files.
I have done that, still have the same problem.
This is the index page, where it does not work: https://www.lokalec.si/
This is the single post page, where it does work: https://www.lokalec.si/novice/na-ptuju-tudi-letos-festival-salon-sauvignon/I have done done that and the issues is still here.
I am using my custom theme. I have the </body> tag at the end of my footer, so i cannot do that.I have also tried putting the shortcode at the end of the footer.php, but no luck, its the same as before. On single post pages the modal windows shows as normal, but at the index page it show for a half a second as plain text at the page, before everything loads.