Remove post meta function not working

Community Forums Forums Design Tips and Tricks Remove post meta function not working

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  stepheniryna 8 months, 2 weeks ago.

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

    stepheniryna
    Participant
    Post count: 16

    Studiopress offers some code to remove post meta on this page: http://my.studiopress.com/snippets/post-meta/

    Here it is: remove_action( ‘genesis_after_post_content’, ‘genesis_post_meta’ );

    I added it to finctions, but all my author, reply, category and tags info is still there. What did I miss?

    http://smallbusinessyou.com
    #80327

    nunotmp
    Participant
    Post count: 164

    The author is controlled by the post info so you will need to add remove_action( 'genesis_before_post_content', 'genesis_post_info' );


    #80346

    stepheniryna
    Participant
    Post count: 16

    Thanks for the reply, but tried this, didn’t work:

    remove_action( 'genesis_before_post_content', 'genesis_after_post_content', 'genesis_post_info', 'genesis_post_meta' );

    Tried this too, didn’t work either:

    remove_action( 'genesis_after_post_content', 'genesis_post_meta' );

    remove_action( 'genesis_before_post_content', 'genesis_post_info' );

    Any ideas?

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

You must be logged in to reply to this topic.