Remove Header Entry Title from Only Pages

Community Forums Forums Design Tips and Tricks Remove Header Entry Title from Only Pages

This topic is: not resolved

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  BlakeN 7 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #85772

    BlakeN
    Participant
    Post count: 15

    I am trying to remove the entry title from only the pages and not posts.

    I do not want to use the genesis title toggle plugin.

    The code snippet removes posts also.
    //* Remove page titles site wide (posts & pages) (requires HTML5 theme support)
    remove_action( ‘genesis_entry_header’, ‘genesis_do_post_title’ );

    What is the code to do this?

    http://directmktg101.com
    #85919

    Ozzy
    Participant
    Post count: 213

    something like what i have in the linked gist should work. https://gist.github.com/ozzyrod/a7e89a822f882776e987


    #86209

    BlakeN
    Participant
    Post count: 15

    Thanks for taking a look Ozzy.

    It worked well except for one hitch. All of the post titles on the blog page were also removed.

    Do you know how I would keep the titles on the blog page?

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.