Likely you will need to do a bit of custom filtering to get this done.
HTML part likely comes from language_attributes() function and passes through language_attributes filter.
WP SEO part comes from WPSEO_OpenGraph->locale() and passes through wpseo_locale filter.
Related Posts:
- Display Yoast WordPress SEO title in archive template
- How to add a page to the Yoast breadcrumbs
- How to print meta description to posts? [closed]
- Removing “Noindex, follow” from pages [closed]
- Why do I get a 404 for my sitemap index after installing Yoast? [closed]
- Add Page number to Meta Description in WordPress SEO by Yoast [closed]
- Manipulating wp_head content
- Yoast’s WordPress SEO plugin is not showing the correct snippet [closed]
- XML Sitemap : broken XML file [closed]
- make the url unlimited
- Query Post Based of Yoast Primary Category Class
- Wrong Canonical url link
- When does the Yoast SEO filter hook wpseo_sitemap_urlimages fire?
- How to parse Yoast SEO Snippet Variables
- Post content blank after disabling Yoast SEO
- With the Yoast SEO plugin, is it possible to make the meta description a required form field?
- WP-RestAPI and xml sitemap
- help to write a custom php script to settingup yoast priority to pages or posts
- Yoast Seo Plugin – Set no-index to a post automatically when a post is set to sticky [closed]
- Yoast SEO Plugin: Double Title isse [closed]
- Yoast SEO creates sitemaps with a dash ‘-‘ but I can’t get Bing to accept them [closed]
- Edit title-tag in wp_head with yoast seo
- Way to change the Yoast Schema depending on post type? [closed]
- Change base URL of Yoast Sitemap [closed]
- Variable focus word YOAST
- How can I add a second Open Graph image to a site using Yoast? [closed]
- How to call Yoast Seo Tags without needing to call the whole wp_head?
- My WordPress website has 2 header [closed]
- Add content before Yoast description
- Twenty Eleven Theme – SEO Yoast duplicate site titles
- Add Page number to Meta Description in WordPress SEO by Yoast [closed]
- Blog home page has canonical link that is incorrect. Do not see where to change this
- How to Modify Breadcrumb Page Names for Specific Pages? [closed]
- P3 Profiler and Yoast SEO plugin
- WordPress site running on Yoast not being indexed into Google News [closed]
- How to use the Yoast SEO wpseo_canonical filter to set a canonical URL for /, /au/ & /uk/ sites in a MU environment
- Yoast Metadata API to adjust/override the meta description
- Prevent Yoast from removing the canonical tag if robots meta tag is set to noindex [closed]
- Fixing link rel=”next” in Yoast SEO for paginated links
- how to disable Yoast SEO schema from homepage only?
- WPML and Yoast SEO setup on a wordpress site is not working properly
- Remove canonical link element from noindex pages
- What could be causing the category to be appearing as the post title in the title tag?
- Changing Post Sitemap Frequency to Hourly [closed]
- Turn off auto 301 on archive pages? [closed]
- Yoast: do I still need to manually insert meta tags in my theme or will Yoast do this for me? [closed]
- Hard-code SEO Title defaults across all sites on a multisite
- WordPress site using Yoast SEO being blocked from indexing by robots.txt
- SEO Yoast Menu Not working
- Wrong Open Graph image is shown (og:image) using yoast
- An inactive plugin causes an HTTP 404 issue on a translated post – WPML
- Set default image for twitter cards with Yoast?
- Overwriting yoast’s og:meta output?
- yoast seo plugin – remove bulk title and description editor menu from non-admins [closed]
- Yoast SEO makes repeated INSERT queries loading any page
- how to add urls dynamically into the sitemap
- yoast sitemap xml
- Change Paginated Blog Canonicals
- Preview Problem Yoast SEO
- My wordpress website showing 2 titles in source code how can i fix this issue
- Separate Sitemaps for Each Language with Polylang and Yoast SEO
- Facebook og:image issues after https change [closed]
- “Select your country” landing page. Remember user choice
- Declare global var from Template File and use it in Functions.php
- How to add a rest field to post tags?
- Adding a H1 Tag to Post Tags automatically, but hide the tag? (Same for Category)
- How can I redirect a request to the site root using htaccess, if there’s not a specific cookie set?
- How to remove WordPress Virtual Robots.txt that keeps overriding my root robots.txt? [closed]
- Is there a straight-forward way to provide a meta description tag via Yoast SEO, programmatically, without relying on the admin panel?
- How to loop through yoast primary categories? [closed]
- How to handle a WordPress blog with articles in different languages?
- Buddypress Language Files Question [closed]
- Redirect user based on his language and country using WPML [closed]
- Yoast SEO Plug In and my Theme duplicating code. Need some feedback on what to do? [closed]
- Setting up robots.txt with Yoast’s Seo plugin
- Workaround for og:image unsupported webp image type, Yoast SEO?
- Different Admin language
- Custom function that re-writes page title breaks when the Yoast plugin is activated
- Change language in SiteOrigin Widgets
- My page is shown as archive in my site
- How do I fix errors regarding the language markup of my webpage?
- Print shortcode according to site language
- How to Convert Date to Thai
- Recall translations made with Poedit
- How do I change a plugin language of only one page?
- Missing content on author archive page
- GUID to related post not in current language
- Changing some of the language within the revision viewer admin page revision.php
- Language selection for blog doesn’t exist?
- Plugin scans for images in post_content, how about “featured image”?
- WordPress language problem
- Enabling canonical links to force search engines to go to site.com rather than site.net [closed]
- Can anyone help me with replace genesis post excerpt with yoast meta description and if there is no meta description show the excerpt?
- Spanish site, some words translation still in English
- How to dynamically change the locale?
- YOAST slug does not take the custom permalink I have made
- Insert meta-description into Yoast-SEO input-field via JavaScript
- Remove a specific sitemap from Sitemap_index.xml
- How to include empty archives in sitemap?
- How to retrieve blog language without any region (locale) attached?