WordPress.org

Ready to get started?Download WordPress

Forums

File Gallery
[resolved] Broken after upgrade - jQuery is not defined (3 posts)

  1. cyrus6
    Member
    Posted 3 years ago #

    Thanks for an amazing plugin. Unfortunately it has seemed to quit working after a wordpress upgrade. I get the following error through firebug:
    jQuery is not defined
    [Break On This Error] jQuery(document).ready(function()

    I've tried a few different things including downloading and installing Version 1.7-RC2. I still get the same error only know with an image path displayed along with the images like so:
    http://216.197.64.114/mhm/wp-content/uploads/2011/02/CustomPub_Kecno_2-300x194;#;#;jpg

    I'll keep grinding away but am grateful for any input. Thanks!

    http://wordpress.org/extend/plugins/file-gallery/

  2. cyrus6
    Member
    Posted 3 years ago #

    I should also note that I'm using the short code in a template using echo do_shortcode, which was working fine at one point.

  3. cyrus6
    Member
    Posted 3 years ago #

    Update! D'oh - in making a new custom header for post pages I forgot some very important stuff:
    <?php wp_enqueue_style('thickbox'); ?> <!-- inserting style sheet for Thickbox. -->
    <?php wp_enqueue_script('jquery'); ?> <!-- including jquery. -->
    <?php wp_enqueue_script('thickbox'); ?> <!-- including Thickbox javascript. -->

    Everything is working fine. Now just to style it!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic