back to top button

  • Is it possible to deactivate the back to top button? The theme I use already have one by default and I would like to keep things this way. Thank you!

  • Hello @phil59

    Add the following code in your theme's functions.php or a site specific plugin (if you have one).

    add_action( 'wp_head', 'remove_my_class_action' );
    function remove_my_class_action(){
    	global $jQuerySmoothScroll;
    	remove_action( 'wp_footer', array( $jQuerySmoothScroll, 'wp_footer_lol' ) );

Log in to reply