Support » Plugin: Squelch Tabs and Accordions Shortcodes » No Tabs shown anymore

Viewing 1 replies (of 1 total)
  • Plugin Author Matt Lowe


    At a guess the huge bugs in your theme are causing the issue 😉

    Uncaught TypeError: undefined is not a function custom.js?ver=3.9.1:5

    Looking at the JavaScript in question:

    function doClear(theText) { if (theText.value == theText.defaultValue) { theText.value = "" } }
    function doDefault(theText) { if (theText.value == "") { theText.value = theText.defaultValue } }

    This script does not have any jQuery noConflict wrappers. From the Codex:

    The jQuery library included with WordPress is set to the noConflict() mode (see wp-includes/js/jquery/jquery.js). This is to prevent compatibility problems with other JavaScript libraries that WordPress can link.

    In the noConflict() mode, the global $ shortcut for jQuery is not available, so you can still use:

        jQuery(#somefunction) ...

    but the following will either throw an error, or use the $ shortcut as assigned by other library.

         $(#somefunction) ...

    Also the theme’s loading its own copy of jQuery instead of using WordPress’s built-in copy:

    Squelch TAAS tells WP to load its built-in copy of jQuery (which is the correct thing to do) and so WordPress is loading jQuery AND your theme is loading jQuery, which will conflict with each other.

    You’re using the Ocean theme from 2s Studio. Since their website no longer seems to exist I’d guess that they’re no longer in business, so asking for an update is probably out of the question. I’d have to say that I can’t say I’m surprised they’re out of business given the way their theme “works”.

    My suggestion would be to try a different theme, although I appreciate that’s a pain.

Viewing 1 replies (of 1 total)
  • The topic ‘No Tabs shown anymore’ is closed to new replies.