• Hello, I have little sugestion, which might be easy to implement and would help a lot of people.
    As of now, you are enqueuing frontend scripts and styles globaly on whole site. And what’s worse, you enqueue script, which is dependent on jquery in header. This automatically puts whole render-blocking jquery on every page of site. Not to mention every page now loads fontawesome 🙂
    If this happens on modern site, which follows all frontend best practices (non-renderblocking scripts, maybe not using jquery at all), you quite significantly determining the site performance.
    It would be nice, if you can enqueue your scripts and styles only on pages, where it’s needed – which is basically only the “virtual page” for subscription management.

    Thanks for considering this, Jakub Klapka

  • The topic ‘Conditionaly load plugins scripts and styles’ is closed to new replies.