Home>Support>Plugin not loading on Ajax loaded page

Plugin not loading on Ajax loaded page

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

I’m currently using the Hero slider on my website, with the slider on the homepage as a widget. The slider loads fine when I go to the homepage directly or refresh the page, however, when I navigate to the homepage from another page on the website, the plugin does not load. Upon investigation, it seems like the plugin fails to run the jquery script when visited through another page on the website (the page source is exactly the same for both failed and successful plugin loads). If I disable AJAX loading, the plugin loads fine no matter what. Is there a way to fix this issue or have it run the jquery script on AJAX complete? I tried enqueueing css/js files through functions.php and also tried running the plugin’s .php file via .ajaxComplete(), but to no avail. I would really appreciate assistance/ideas on how to get this thing to work.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 5 months ago Alex S
    Hi, I Work Here

    Hi Yangmike,

    To be honest, I might not be able to assist with this (this may be something that either developer, us or them, have to do) but I’m more than willing to take a look at how things are set up to see if I can come up with a possible solution. As such, do you have a public URL where we can take a look at what’s going on?

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More