Remove tags and category information of the home page …

Community Forums Forums Design Tips and Tricks Remove tags and category information of the home page …

This topic is: resolved

This topic contains 5 replies, has 2 voices, and was last updated by  AC 1 year, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #23935

    miltonolave
    Participant
    Post count: 5

    Hello,

    I want to know how to hide information from the tags, categories, from the home page in the excerpt. I have installed the theme Prose, and desire to have the excerpts, only with the title.

    Thank you very much for the help.

    #23937

    AC
    Blocked
    Post count: 7712

    Please post a link to your website so we can take a look.

    #23963

    miltonolave
    Participant
    Post count: 5

    Hello, thank you very much for your help, here I leave the link to my home page. thanks

    http://goo.gl/P1PhC

    #23970

    AC
    Blocked
    Post count: 7712

    Try this. Add it to at the bottom of your Functions.php file. I found this on another forum post. Not sure if it works with Prose, but give it a go anyway.

    [php]
    add_action( ‘genesis_before’, ‘child_conditional_actions’ );
    function child_conditional_actions() {

    if( is_home() || is_front_page() ) { //if page is home page or front page
    remove_action( ‘genesis_after_post_content’, ‘genesis_post_meta’ );
    }
    }
    [/php]

    #23977

    miltonolave
    Participant
    Post count: 5

    Wow, you’re great, it worked, thank you very much.

    #23981

    AC
    Blocked
    Post count: 7712

    You’re welcome, glad I could help.

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

The topic ‘Remove tags and category information of the home page …’ is closed to new replies.