WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Wastabik
    Member
    Posted 4 months 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
    Member
    Theme Author

    Posted 4 months 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
    Member
    Posted 4 months ago #

    Thanks Richie, that did it.

Reply

You must log in to post.

About this Theme

About this Topic

Tags