how to show the meta values of yoast seo with some function

0 votes
how to show the metadata using function using yoast
Feb 9, 2022 in Others by Kichu
• 19,050 points
398 views

1 answer to this question.

0 votes

check this folder : wordpress-seo\src\presenters\open-graph you can see locale-presenter.php

find this code line : 

protected $tag_format = '<meta property="og:locale" content="%s" />';

change like this 

protected $tag_format = '<meta property="og:locale" content="en_US" />';
answered Feb 10, 2022 by narikkadan
• 63,420 points

Related Questions In Others

0 votes
1 answer

How to add a class to the <a> tag in Yoast SEO breadcrumbs?

add_filter( 'wpseo_breadcrumb_single_link', 'ss_breadcrumb_single_link', 10, 2 ); function ss_breadcrumb_single_link( ...READ MORE

answered Feb 22, 2022 in Others by narikkadan
• 63,420 points
1,328 views
0 votes
1 answer

How to copy title of WP post dynamically to focus keyword field in Yoast SEO?

$title = get_the_title(); $args = array('posts_per_page' => -1, ...READ MORE

answered Feb 24, 2022 in Others by narikkadan
• 63,420 points
1,005 views
0 votes
1 answer

How to use next-seo for setting nextjs meta tag with multiple OGP images?

https://github.com/garmeeh/next-seo use this git repo that contains ...READ MORE

answered Feb 24, 2022 in Others by narikkadan
• 63,420 points
4,659 views
0 votes
1 answer
0 votes
1 answer

Yoast plugin is not showing meta description and meta keyword can i get an answer

function set_head_keywords() { $id ...READ MORE

answered Feb 20, 2022 in Others by narikkadan
• 63,420 points
324 views
0 votes
1 answer

Yoast plugin is not showing meta description and meta keyword

function set_head_keywords() { $id ...READ MORE

answered Feb 24, 2022 in Others by narikkadan
• 63,420 points
1,563 views
0 votes
1 answer

adding meta keyword in wordpress using yoast seo plugin.

You can use Advance Custom Fields plugin ...READ MORE

answered Feb 28, 2022 in Others by narikkadan
• 63,420 points
1,376 views
0 votes
1 answer

Problem with yoast SEO

This is (probably) not a problem of ...READ MORE

answered Feb 10, 2022 in Others by narikkadan
• 63,420 points
290 views
0 votes
1 answer

How to add meta keyword in wordpress using yoast seo plugin.?

if you dont want to use code ...READ MORE

answered Feb 12, 2022 in Others by narikkadan
• 63,420 points
742 views
0 votes
1 answer

Angular2 - SEO - how to manipulate the meta description

use the meta from @angular/platform-browser to change a met ...READ MORE

answered Feb 17, 2022 in Others by narikkadan
• 63,420 points
308 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP