• 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

Change "Filed under" pre text of post-categories

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 › Change "Filed under" pre text of post-categories

This topic is: resolved

Tagged: Entry Footer, entry-meta, filed under

  • This topic has 3 replies, 2 voices, and was last updated 9 years, 5 months ago by Brad Dalton.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • September 30, 2016 at 9:27 am #193964
    harshajayman
    Member

    Hi I have been trying to replace text "Filed under" to "Artist" in Post categories

    I am using Genesis sample theme. When I asked from Studio press support , they asked to use this code

    //* Customize the entry meta in the entry footer (requires HTML5 theme support)
    add_filter( 'genesis_post_meta', 'sp_post_meta_filter' );
    function sp_post_meta_filter($post_meta) {
    	$post_meta = '[post_categories before="Artist: "] [post_tags before="Tags: "]';
    	return $post_meta;
    }

    But it remains as Filed Under : Category name
    When checked with inspector Filed under text is wrapped with a span class"entry-categories"

    Please Please help me to sort this.
    my site http:// http://www.sinhalasongbook.com

    http:// www.sinhalasongbook.com
    September 30, 2016 at 9:33 am #193965
    Brad Dalton
    Participant

    Try this


    Tutorials for StudioPress Themes.

    September 30, 2016 at 10:53 am #193996
    harshajayman
    Member

    Many Thanks

    But unfortunately didn't work

    In browser inspect it shows as

    <span class="entry-categories">== $0
    "Filed Under: "
    Category Name
    </span>

    Any help please

    thanks

    September 30, 2016 at 11:18 am #193998
    Brad Dalton
    Participant

    Works when i test it:

    add_filter( 'genesis_post_meta', 'ig_entry_meta_footer' );
    function ig_entry_meta_footer( $post_meta ) {
    	$post_meta = '[post_categories before="Artist: "] [post_tags before="Tags: "]';
    	return $post_meta;
    }
    

    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and 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