Modern Portfolio [non-HTML5] Remove Filed Under

Community Forums Forums Design Tips and Tricks Modern Portfolio [non-HTML5] Remove Filed Under

This topic is: resolved

This topic contains 10 replies, has 2 voices, and was last updated by  Ozzy 4 months ago.

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #80219

    anitac
    Participant
    Post count: 6489

    Using the Modern Portfolio (original, non-html5 version) – how can I remove the words “Filed Under:” from showing up on the home page? I need the Category to show up – name only without Filed Under – just on the home page. This function would probably be helpful for all themes.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    • This topic was modified 4 months ago by  anitac.
    • This topic was modified 4 months ago by  anitac.
    #80236

    Ozzy
    Participant
    Post count: 211

    something like this in the functions file should work:

    add_filter( ‘genesis_post_meta’, ‘anitac_post_meta_filter’ );
    function anitcac_post_meta_filter($post_meta) {
    if ( is_home() ) {
    $post_meta = ‘[post_categories before=""]‘;
    return $post_meta;
    }
    }


    #80238

    anitac
    Participant
    Post count: 6489

    Yikes, it blew the site. I made sure the (‘) were correct. But still got the white screen/black line of code.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #80239

    anitac
    Participant
    Post count: 6489

    Was missing a (‘) and not working. But thank you for trying Ozzy.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #80240

    anitac
    Participant
    Post count: 6489

    This is what I have in there now:

    add_filter( 'genesis_post_meta', 'anitac_post_meta_filter' );
    function anitcac_post_meta_filter($post_meta) {
    if ( is_home() ) {
    $post_meta = '[post_categories before=""]';
    return $post_meta;
    }
    }

    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #80241

    Ozzy
    Participant
    Post count: 211
    #80243

    anitac
    Participant
    Post count: 6489

    Check out the site here. It leaves the Filed Under on the home page.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #80245

    anitac
    Participant
    Post count: 6489

    I deactivated Genesis Simple Edits and Genesis Simple Hooks and still nothing. I am baffled.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #80246

    Ozzy
    Participant
    Post count: 211

    oh, you’re using the featured posts widget. it’s not a function you change, but a setting in the widget.

    under Show Post Info, change what you have to [post_categories before=""]

    that should do the trick.


    #80247

    anitac
    Participant
    Post count: 6489

    Duhhhhhhhhh! Thanks Ozzy. I never tried to edit the short code there. I learn something new every day!!! Appreciate the help.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #80248

    Ozzy
    Participant
    Post count: 211

    Glad to be of assistance!


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

You must be logged in to reply to this topic.