• 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 Meta Information Labels in Genesis Featured Posts Widget

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 Meta Information Labels in Genesis Featured Posts Widget

This topic is: resolved

Tagged: entry-meta, featured posts, featured posts widget, modern portfolio, post_info

  • This topic has 6 replies, 3 voices, and was last updated 8 years, 5 months ago by adougherty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • January 3, 2017 at 1:59 pm #198710
    adougherty
    Participant

    Greetings all!

    I've found the lovely snippet of code to change the meta information labels (aka: Categories: & Tagged with) on my theme but am trying to find a way to do the same with the Genesis Featured Posts widget.

    I'm using the modern portfolio theme and want to display tags on my homepage but the label, e.g. Tagged with, doesn't suit me.

    Would I need to copy the widget into the child theme folder and edit it directly or is there a way to do this with the child theme's functions.php file?

    Thanks in advance,
    Anne

    http://www.annedougherty.com
    January 4, 2017 at 2:00 am #198730
    Brad Dalton
    Participant

    Doesn't look like the entry meta for the entry footer is included in the output for the featured posts widget, only the post info.


    Tutorials for StudioPress Themes.

    January 4, 2017 at 6:27 am #198735
    adougherty
    Participant

    Hi Brad,

    Thanks for the reply. I am, perhaps, using the incorrect terminology.

    When I use the featured posts widget to display [post_tags]
    Screenshot: Featured Posts Widget

    it comes out using "Tagged with"
    Screenshot: Featured Posts Widget Tags, generated

    Yet because I have 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_tags sep=", " before="Tags: "]';
    	return $post_meta;
    }

    in my functions.php file the tags on actual posts come out with "Tags"

    Screenshot: Tags on post

    I'm trying to figure out how to make them both say "tags."

    Any help is most appreciated.

    Anne

    January 4, 2017 at 6:38 am #198738
    Genesis Developer
    Member

    You will enter this into post info input box

    [post_tags sep=", " before="Tags: "]


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    January 4, 2017 at 7:03 am #198740
    adougherty
    Participant

    That worked like a charm! Thank you!

    January 4, 2017 at 7:54 am #198743
    Brad Dalton
    Participant

    See here to modify the shortcode attribute values

    However, using the shortcodes in the post info field displays the tags before the content in the entry header and not after the content in the entry footer.


    Tutorials for StudioPress Themes.

    January 4, 2017 at 2:02 pm #198761
    adougherty
    Participant

    Hi Brad,

    Thanks again for the reply.

    Is there a super secret way to make the feature posts widget display tags in the entry footer? As in...would I need to edit the widget?

    Thanks much,
    Anne

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Change Meta Information Labels in Genesis Featured Posts Widget’ 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

© 2025 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