• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Modern Portfolio [non-HTML5] Remove Filed Under

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

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

This topic is: resolved

Tagged: original modern portfolio

  • This topic has 10 replies, 2 voices, and was last updated 12 years, 7 months ago by Ozzy.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • December 19, 2013 at 10:41 am #80219
    AnitaC
    Keymaster

    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.


    Need help with customization or troubleshooting? Reach out to me.

    December 19, 2013 at 11:10 am #80236
    Ozzy
    Member

    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;
    }
    }


    Ozzy Rodriguez | Twitter | Google+

    December 19, 2013 at 11:22 am #80238
    AnitaC
    Keymaster

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


    Need help with customization or troubleshooting? Reach out to me.

    December 19, 2013 at 11:24 am #80239
    AnitaC
    Keymaster

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


    Need help with customization or troubleshooting? Reach out to me.

    December 19, 2013 at 11:28 am #80240
    AnitaC
    Keymaster

    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;
    }
    }

    Need help with customization or troubleshooting? Reach out to me.

    December 19, 2013 at 11:30 am #80241
    Ozzy
    Member

    try this: https://gist.github.com/ozzyrod/8043041

    it works as i tried it.


    Ozzy Rodriguez | Twitter | Google+

    December 19, 2013 at 11:33 am #80243
    AnitaC
    Keymaster

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


    Need help with customization or troubleshooting? Reach out to me.

    December 19, 2013 at 11:42 am #80245
    AnitaC
    Keymaster

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


    Need help with customization or troubleshooting? Reach out to me.

    December 19, 2013 at 11:42 am #80246
    Ozzy
    Member

    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.


    Ozzy Rodriguez | Twitter | Google+

    December 19, 2013 at 11:44 am #80247
    AnitaC
    Keymaster

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


    Need help with customization or troubleshooting? Reach out to me.

    December 19, 2013 at 11:48 am #80248
    Ozzy
    Member

    Glad to be of assistance!


    Ozzy Rodriguez | Twitter | Google+

  • Author
    Posts
Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Modern Portfolio [non-HTML5] Remove Filed Under’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble