Squelch Tabs and Accordions Shortcodes
[resolved] No Tabs shown anymore (2 posts)

  1. patrick2p
    Posted 2 years ago #


    I used to use Thethe Fly Tabs for my Website and changed to Squelch Tabs and Accordings because Thethe Fly seams not to work anymore.

    But nothing changed. My page Looks the same as bevor. Can someone please have a look on the page:


    What´s wrong?

    Thanks a lot.



  2. Matt Lowe
    Plugin Author

    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Squelch Tabs and Accordions Shortcodes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.