- This topic has 3 replies, 2 voices, and was last updated 9 years ago by .
- You must be logged in to reply to this topic.
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.
I want to change the head-tag of one specific page. On this page (ID=42) i want to include lang="en" instead of nl-NL
What is the best way to do this?
Thank you very much for your help.
An interesting question, so I looked into it. Beyond creating a new template that changes it manually, and using it for the page, you can try this idea.
I've played with Genesis functions that deal with all sorts of page attributes, but I don't believe Genesis has attribute code for the HTML element, so this is a straight WordPress method.
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
Wow Dave, this works perfect. I needed this for a site that is in Dutch, but has one page in English.
Thank you very much for your great solution.
Best regards, Rogier
© 2023 WPEngine, Inc.