• Resolved mpjevacevic

    (@mpjevacevic)


    I have a theme that changes pages using PJAX, which means that on page changes only parts of content are changed, header stays the same as the first page that was loaded.

    This causes issue with your plugin because you are loading js and css files only if feed is on that page. Is it possible to load those files all the time even if no youtube feed is on that page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Smash Balloon Mike

    (@smashballoonmike)

    Hey @mpjevacevic,

    Thank you for reaching out to us. The plugin offers an advanced setting for sites like this. You can enable the “AJAX theme loading fix” option by logging into your WordPress Dashboard and navigating to Feeds for YouTube > Settings > Advanced > enable AJAX theme loading fix > click Save Changes. This should then resolve the issues you are having. If the issue persists please let us know.

    Thread Starter mpjevacevic

    (@mpjevacevic)

    That option is turned on but it doesn’t seem to do what we need.
    We are calling sby_init() function on every new page load and that does help in some cases, but problem is when there is no feed on page that is first loaded, there is no sby_init() function defined that we can run.

    Plugin Support Smash Balloon Louis

    (@smashballoonlouis)

    Hi @mpjevacevic,

    Thank you for the update. Could you submit a support request here, so we can get some additional information on how your site is set up and investigate from our end how best to make the plugin work for your setup?

    Best regards,
    Louis

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Always load js and css files for PJAX powered themes?’ is closed to new replies.