Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter JJP

    (@jjp)

    Cleary no one else was bothered or concerned by this issue using the WordCult theme, but after not looking at this problem for several weeks I figured out over the weekend how to resolve the issue and thought I’d share it here to close out this thread with a happy ending. 🙂

    Basically, it has nothing to do with the NGG plugin. It’s the JQuery Slider script being used in the header.php of the WordCult theme file that is causing a JavaScript conflict with some other plug-ins (rendering them useless on the front end) which currently includes Next Gen Gallery, Smart Archives and WP AJAX Edit Comments — though I doubt it’s not limited to only those, but they’re the ones I’ve noticed thus far.

    Anyway, the fix I found to be most effective is to make the slider script invisible to all the other theme pages except the homepage (where it was only intended to be used) with a modified conditional statement placed within the <head> tag.

    It’s really easy, and here’s how to do it: just open the WordCult header.php file and on line 58 you’ll see the conditional endif; statement and on line 59 you’ll notice the second enqueue function wp_enqueue_script calling for ‘site -functions’ . Simply reposition line 58 with line 59 so that the endif; statement comes AFTER the second enqueue request and make sure the ending ?> comes directly after this on line 60 to close out the condition statement. And presto, it’s now fixed for the other pages that are not the home/index page!

Viewing 1 replies (of 1 total)