Support » Fixing WordPress » Changing the Load Order of Theme and Plugin

  • Hi,

    We have encountered an issue while using the Awesome Flickr Gallery Plugin coupled with the Newspress theme.

    The Jquery loaded by the newspress theme causes the lightbox images to be incorrectly displayed as an image in the same page.

    We have determined the problem occurs due to the order that the following items are loaded:

    1. WordPress loads default JQuery
    2. Colorbox plugin loaded onto JQuery
    3. Newspress Theme loaded own JQuery and overrides the default JQuery for its own display.

    Would appreciate if anyone can suggest a workaround to load the Colorbox script after the theme.

    Please click here and scroll to the bottom of the page for the images that are supposed to appear in a lightbox. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You will need to find where in the theme that the theme loads its jQuery and remove the call. That is where I would start. Then cross your fingers.

    I have some concerns though. Your theme is loading an older jQuery– jQuery 1.4.2– and it is loading a bunch of javascript of its own. If you use jQuery 1.4.2 you may have conflicts with your Colorbox plugin, or any number of newer/recently updated plugins. If you use jQuery 1.7.2, which is what WordPress is loading, you may have conflicts with the theme’s scripts which were written for 1.4.2.

    Hi s_ha_dum, appreciate the input and will give your suggestion a shot!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing the Load Order of Theme and Plugin’ is closed to new replies.