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 in Others by Kichu
• 17,230 points
51 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 by narikkadan
• 7,860 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 in Others by narikkadan
• 7,860 points
55 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 in Others by narikkadan
• 7,860 points
61 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 in Others by narikkadan
• 7,860 points
93 views
0 votes
2 answers

How to get the URL of the current tab in Google Chrome?

Its so simple.... If you want to ...READ MORE

answered Aug 12, 2020 in Others by Steve
• 200 points
625 views
0 votes
1 answer
0 votes
1 answer

Yoast plugin is not showing meta description and meta keyword

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

answered Feb 24 in Others by narikkadan
• 7,860 points
32 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 in Others by narikkadan
• 7,860 points
28 views
0 votes
1 answer

Problem with yoast SEO

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

answered Feb 10 in Others by narikkadan
• 7,860 points
22 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 in Others by narikkadan
• 7,860 points
78 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 in Others by narikkadan
• 7,860 points
21 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP