[resolved] How to not load the tabber javascript code? (3 posts)

  1. Wastabik
    Posted 1 year ago #

    Though I'm not using tabber function right now, the theme seems to be loading the js when I check the blog with Pingdom. How can I stop the theme from loading the tabber js every time it loads?

    The tabber js is a great functionality in the theme but I have to stop using it as it seems to be hindering in the smooth loading of the site.

  2. Richie KS
    Theme Author

    Posted 1 year ago #

    best way, create a new file in wp-content/ name it meso-custom-functions.php (check faq #14) and add this code

    add_action( 'wp_print_scripts', 'meso_deregister_tab_js', 100 );
    function meso_deregister_tab_js() {
    wp_deregister_script( 'tabber' );

    or add in functions.php but you will lose the change when theme update.

  3. Wastabik
    Posted 1 year ago #

    Thanks Richie, that did it.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic