Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author joesexton00

    (@joesexton00)

    Yeah, you could hook into the sbtt_button_markup filter and return an empty string if on the home page. In your theme’s functions.php add the following:

    add_filter( ‘sbtt_button_markup’, ‘my_sbtt_filter’ );
    function my_sbtt_filter($button_markup) {
    if (is_front_page()) {
    return “”;
    } else {
    return $button_markup;
    }
    }

    Alternatively, you could add the following to the advanced css text field in the admin settings panel. Substitute {home page container parent identifier} with a css selector of a parent element on the home page. Usually WordPress themes add a post/page class to the body element, that would be a good selector to use.

    {home page container parent identifier} .scroll-back-to-top-wrapper.show {
    display:none!important;
    }

    Thread Starter nihiliste123

    (@patricestudiobluemangocom)

    It totally work.
    Thanks man.
    I do not know anything about codes but you made it so clear, that it seems like you did it for me.
    Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Create an exception?’ is closed to new replies.