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,040 points
612 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,600 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,600 points
1,554 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,600 points
1,299 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,600 points
6,120 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,600 points
513 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,600 points
2,082 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,600 points
1,608 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,600 points
458 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,600 points
999 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,600 points
620 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