I’ve installed the WordPress theme Domik however I need to add extra functionality. Therefore I am developing my custom plugin and I experience a problem:
I am including my JS files the WordPress way – using wp_register_script & wp_enqueue_script functions if that can be helpful for you.
I really hope you will find solution for this problem because it is very important for me this to be working. Thank you in advance.
OK if I use jQuery and its powerful selectors this is not a problem anymore so that’s what I did as solution.
However, the AJAX is causing me the same problem now but for the WPML language switcher. When I navigate over pages and decide to switch the language, it will not redirect me to the current page but to the page that latest was loaded without AJAX. Any solutions for this one? Of course without touching the WPML core files.
Kinda sad that you didn’t even reply to my first question for two days… 🙁