WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How do I remove the "subscribe" button from this specific theme? (3 posts)

  1. Danniman
    Member
    Posted 5 years ago #

    Hi

    I am working with this theme on localhost and can't seem to find a way to get rid of that "subscribe" button! Please help.

  2. Alex Mansfield
    Member
    Posted 5 years ago #

    I find that the hardest part of working with child themes. Things aren't where they would normally be in a normal theme. Lots of times you have to look in the functions.php file to find it. I'm pretty sure that's the case for you. Find this line in the functions.php file and comment it out (add a // at the beginning of the line). So change this:

    add_action( 'hybrid_after_page_nav', 'school_ subscribe' );

    to this:

    //add_action( 'hybrid_after_page_nav', 'school_ subscribe' );

    If that does the trick, you can go back and delete the line.

  3. Danniman
    Member
    Posted 5 years ago #

    Thanks Alex. That worked smoothly.

    It never occurred to me that it would be in the functions.php file!

Topic Closed

This topic has been closed to new replies.

About this Topic