• 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 of Language in post meta not showing

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 › General Discussion › Change of Language in post meta not showing

This topic is: not resolved
  • This topic has 6 replies, 2 voices, and was last updated 8 years, 12 months ago by emasai.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • April 9, 2014 at 8:12 am #99338
    emasai
    Participant

    I just used the code in the functions file to change the words "Filed Under" to "Kategorie" but it does not show up on the site. The site is running the Metric theme version 1.0. Any ideas why it is not working?

    add_filter( 'genesis_post_meta', 'sp_post_meta_filter' );
    function sp_post_meta_filter($post_meta) {
    if ( !is_page() ) {
    $post_meta = '[post_categories before="Kategorie: "] [post_tags before="Tagged: "]';
    return $post_meta;
    }}


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    http://initiativbewerbung.com/category/bewerbungsvorlagen/
    April 20, 2014 at 12:17 pm #101488
    cdils
    Participant

    Hi there,

    I just tried your code on a local install of Metric 1.0 and it worked fine.

    You may have a plugin or some other customization in functions.php that is interfering. Have you added any other custom code to functions.php? If so, please share.

    Otherwise, disable/re-active plugins one at a time until you find the conflict (Genesis Simple Edits is the first potential one that comes to mind, but not sure).

    Cheers,
    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. 🙂

    I host a weekly WordPress-focused podcast called Office Hours. I tweet @cdils.

    April 20, 2014 at 1:21 pm #101504
    emasai
    Participant

    Thanks for chiming in. These are the only two items I added, the first of which works:

    add_filter( 'the_content_more_link', 'sp_read_more_link' );
    function sp_read_more_link() {
    	return '<a class="more-link" href="' . get_permalink() . '"> [Mehr lesen...]</a>';
    }
    //* Customize the post meta function
    add_filter( 'genesis_post_meta', 'sp_post_meta_filter' );
    function sp_post_meta_filter($post_meta) {
    if ( !is_page() ) {
    	$post_meta = '[post_categories before="Kategorie: "] [post_tags before="Tagged: "]';
    	return $post_meta;
    }}

    I tried deactivating and reactivating plugins and still no change of language.


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    April 20, 2014 at 1:26 pm #101508
    cdils
    Participant

    If you want to post a private reply with an admin login, I'll take a look.


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. 🙂

    I host a weekly WordPress-focused podcast called Office Hours. I tweet @cdils.

    April 20, 2014 at 1:31 pm #101510
    emasai
    Participant
    This reply has been marked as private.
    June 12, 2014 at 3:02 pm #109510
    cdils
    Participant

    Hey Lynne,
    Can you post the URL?

    Cheers,
    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. 🙂

    I host a weekly WordPress-focused podcast called Office Hours. I tweet @cdils.

    June 12, 2014 at 3:48 pm #109518
    emasai
    Participant

    Hi Carrie,

    Thanks for getting back to me so quickly, the URL is http://bit.ly/1n8auXQ

    FYI, I did not build this site and they are using an old child theme Minimum. I was just asked to add some functionality, which unfortunately I cannot seem to do. I did suggest changing the whole site to German...


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘General Discussion’ 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

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