Make AJAX theme work with plugins
-
Hi!
I’m developing a theme that loads all the page and post content with AJAX so the page doesn’t reload.
All the theme is working fine, but when I try to run a plugin that use javascript, it doesn’t load it’s javascript inside the ajax content, it only loads javascript on homepage. This means that the theme is not compatible with any plugin that uses javascript.
Do you know any filter, function or anything to load javascript of third-hand plugins when I load a page with AJAX?
I tried to copy the plugin javascript inside my jQuery AJAX function and it works fine, but I don’t want people to do that every time they install a plugin…
Thanks in advance!
- The topic ‘Make AJAX theme work with plugins’ is closed to new replies.