• Resolved aditron

    (@aditron)


    Is there a filter we can hook into to limit which pages the dependencies for this plugin will load onto? For our installation, there’s only a handful of templates that need this plugin but we’re finding that it loads on every page – ideally we’d find an elegant way around this.
    We’ve tried dequeue-ing relevant css and js, but this just triggers “missing resources” errors. Any suggestions?

Viewing 1 replies (of 1 total)
  • Plugin Support lastsplash (a11n)

    (@lastsplash)

    Hi @aditron

    We aren’t able to provide custom code for this per our support policy, but I tested this on a default theme (Storefront) and I was able to do it using the wp_enqueue_scripts action. You may want to try setting the priority higher and/or wrapping the code in an is_wpjm() check.

Viewing 1 replies (of 1 total)
  • The topic ‘Disable scripts and styles for pages that don’t need WP Job Manager’ is closed to new replies.