Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Chad,

    thanks for your post, and sorry for the trouble.

    The reason for this is most likely your theme that is telling the browser to load a second (but very outdated) version of the jQuery JavaScript library (from the Google CDN).
    Most likely, this is done in the “functions.php” or “header.php” of the theme.
    Could you please check those files for any references to either jQuery or a line similar to

    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>

    Thanks!

    Regards,
    Tobias

    Thread Starter cswinford

    (@cswinford)

    There is no functions.php file that I could find through the Editor, but I did find the reference in the header.php.
    Here it is:

    <?php if($options[‘mts_lightbox’] == ‘1’) { ?>
    <link rel=”stylesheet” href=”<?php bloginfo(‘template_directory’); ?>/css/prettyPhoto.css” type=”text/css” media=”screen” charset=”utf-8″ />
    <script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js”></script&gt;
    <script src=”<?php bloginfo(‘template_directory’); ?>/js/jquery.prettyPhoto.js”></script>
    <script type=”text/javascript”>
    jQuery(document).ready(function($) {
    $(“a[href$=’.jpg’], a[href$=’.jpeg’], a[href$=’.gif’], a[href$=’.png’]”).prettyPhoto({
    slideshow: 5000, /* false OR interval time in ms */
    autoplay_slideshow: false, /* true/false */
    animationSpeed: ‘normal’, /* fast/slow/normal */
    padding: 40, /* padding for each side of the picture */
    opacity: 0.35, /* Value betwee 0 and 1 */
    showTitle: true, /* true/false */
    social_tools: false
    });

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    ok, that actually seems to be a second copy of that line. Its existance in exactly the same form indicates that we are on the right track. Please delete the line from the file, and then please check whether there’s a second line like this in any of the theme files. The one in question precedes a line similar to

    <script src="http://teatreeoilhq.com/wp-content/themes/splash/js/modernizr.min.js"></script>

    Regards,
    Tobias

    Thread Starter cswinford

    (@cswinford)

    Tobias,
    I’m finally back to this after a long Thanksgiving holiday.
    I’ve removed the line from the header.php file but I’m not sure what you mean when you say “check whether there’s a second line like this in any of the theme files”. I’m somewhat new at editing these files, so thanks for your patience!

    Thread Starter cswinford

    (@cswinford)

    Tobias,
    There were actually two lines in the header.php file. After I removed them both I got the sort and search functions back. Thanks a ton!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Sort and Search not working’ is closed to new replies.