Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Hi @semblance_er,

    I am sorry, I don’t know how to do this. If you know a way feel free to send the code and I can implement this into the core of the plugin. Thanks,

    andrewgoma

    (@andrewgoma)

    Hi @northernbeacheswebsites

    I wanted to revive this topic with you and see if you had revisited the idea.

    I have the same issue as @semblance_er

    I am working for a site that has thousands of post and pages, but only has the webinar signup on one page.

    GoToWebinar adds quite a lot of load time (this is taking 15 points off our Google Pagespeed Insights score for every page).

    It is simply a complete waste to load the GoToWebinar scripts and css on these thousands of pages over and over where it has no purpose. At the moment we are likely going to have to remove it / change plugins because of this.

    The way I have typically seen this handed by other plugins is to have an option in the plugin settings to only load scripts/css on specified page/post id’s.

    In settings you can select ‘All pages’ or ‘only load on page id’s = **** ”

    And you simply enter 1,3,50 etc. with the post id’s where you need the script to appear.

    This would be a massive improvement for the plugin. Are you able to add this?

    Regards,
    Andrew.

    Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Hi @andrewgoma,

    Since version 14, the plugin only loads styles and scripts only when the shortcode is implemented on the page. So make sure you have the latest version installed and also clear any caches you may have.

    How the plugin is working now is extremely efficient and best practice.

    Thanks

    andrewgoma

    (@andrewgoma)

    Hi @northernbeacheswebsites

    That’s great, thanks.

    We are on 13.8 so can upgrade.

    Cheers.

    Thread Starter Elzette Roelofse

    (@semblance_er)

    @andrewgoma thank you for asking again.
    @northernbeacheswebsites thank you for the update. That is great news. ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Load scripts only on page needed.’ is closed to new replies.