• Hello everyone,

    I’ve created a plugin that basically just loads a jQuery background plugin via “wp_footer” action hook. The background plugin works on all pages but it will not load in categories or post pages.

    Everything I’ve tried loads the scripts on pages I’ve created fine but doesn’t load on categories and post pages. I have also tried using “init” and “get_footer”.

    My scripts are loaded correctly with “wp_enqueue_script” and I am running out of ideas and I would like to avoid editing the template files directly considering I plan on releasing the plugin once I get this sorted. Any suggestions?

The topic ‘Loading jQuery on every page including categories and posts?’ is closed to new replies.