• 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

Changing the LANG meta tag on a per post basis

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 › Changing the LANG meta tag on a per post basis

This topic is: not resolved

Tagged: header, language, meta

  • This topic has 1 reply, 1 voice, and was last updated 10 years, 11 months ago by lostintime.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • June 14, 2014 at 7:33 am #109717
    lostintime
    Member

    Hi everyone,

    I am looking for a way to change the LANG meta tag on a per post basis. Nearly all of my posts are written in German and have <html lang="de-DE"> which is automatically applied by WordPress. Every once in a while I would like to publish an article in Dutch, such as this one:

    http://www.buurtaal.de/blog/als-niederlaender-in-deutschland

    In cases likes this I would like to be able to change the meta information to <html lang="nl">.

    Can anyone offer a suggestion as to how I would achieve this? I am using the Lifestyle Pro theme.

    Thanks in advance

    http://www.buurtaal.de/blog/
    June 15, 2014 at 7:26 am #109853
    lostintime
    Member

    Might this be something that could be accomplished by using a custom field? If so, I suspect I would have to add some PHP code to the functions.php file …

    Any tips would be greatly appreciated.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 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

© 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