Questions tagged [yoast]
Yoast is a WordPress plugin for website and search engine optimization. Use this tag if you have a question that is directly related to Yoast.
yoast
169
questions with no upvoted or accepted answers
4
votes
0
answers
2k
views
Yoast SEO breadcrumbs missing ListItem name and adding #webpage at the end of the URL
I am using Yoast SEO.
Our SEO tool is showing an error that we can't seem to fix through the configuration options.
A value for the name field is required
Apart from the 'missing' name field, Yoast ...
4
votes
0
answers
890
views
How can I replace og:image value on Yoast version 15?
Yoast change their way to change og:image and remove wpseo_opengraph functions and replaced it with
wpseo_frontend_presenters, Now I want to change the value of og:image, the thing I don't get it is ...
4
votes
0
answers
452
views
How to edit Yoast Breadcrumbs JSON-LD array
I'm using Yoast plugin Wordpress.
My page url is https://abc.example.com/company/aurora-cannabis/latest-news
My actual URL is https://abc.example.com/company/aurora-cannabis/ which is custom post ...
4
votes
1
answer
1k
views
Change author @id in JSON-LD schema generated by Yoast
The Yoast plugin for WordPress generates Schema.org markup for posts. In my case it's something like this:
"author":{"@id":"https://www.example.org/#/schema/person/123456abcdef"}
and
{"@type":["...
3
votes
2
answers
7k
views
Thumbnail not showing when sharing on FB and WhatsApp?
I have a WordPress site installed with Yoast SEO. I have checked that it has the necessary open graph tags but my image is still not showing when being shared.
<meta property="og:title" ...
3
votes
0
answers
219
views
Yoast Breadcrumbs not following slug
I currently pull through breadcrumbs from Yoast <?php yoast_breadcrumb('<p>','</p>'); ?> but it only pulls in the current page, and its parent.
Is there any way it can pull through ...
3
votes
1
answer
4k
views
Add page number to meta title on paginated pages Wordpress, Yoast
I know this kind of questions has been asked many time before, I have read all post on web, none of answers meet my need.
I'm not able to add page numbers to meta title on paginated pages, including ...
2
votes
0
answers
92
views
Update Yoast Focus keyphrase _yoast_wpseo_focuskw via cURL
I am trying to update the Focus keyphrase for a post via cURL, however, it does not insert nor update the Post.
Here is my curl. Any ideas what I'm missing, or what am I doing wrong? (I'm trying ...
2
votes
0
answers
96
views
Unable to update Focus keyphrase in woocommerce product category using update_post_meta
I am trying to update yoast focus keyphrase using the code below.
add_action( 'created_product_cat', 'ts_custom_woocommerce_placeholder', 10, 2 );
function ts_custom_woocommerce_placeholder( $post_id )...
2
votes
0
answers
717
views
WP Yoast - wp_yoast_indexable - Timeout
I have an Error in my Dashboard:
DeleteDuplicateIndexables - Error executing 'query' with: DELETE wyi FROM wp_yoast_indexable wyi INNER JOIN wp_yoast_indexable wyi2 WHERE wyi2.object_id = wyi....
2
votes
0
answers
701
views
Add Yoast breadcrumbs HTML to WordPress REST API
I am using this plugin:
https://wordpress.org/plugins/wp-rest-yoast-meta/ to add Yoast meta data to the WP REST API response.
I can see that you can add custom data to this via:
/**
* Add Yoast ...
2
votes
1
answer
1k
views
Category slug not showing on sitemap xml using Yoast plugin
I have this problem in my sitemap.xml. I was wondering why in the list, the category slug is not present while in the dashboard permalink section, the URL is displaying its category link.
Here are ...
2
votes
1
answer
2k
views
Yoast SEO/Facebook OG: Image not displaying after fb url change
I set up my blog to connect to a facebook page, and automatically post articles to it. I set up Yoast SEO and everything worked fine. Then, I changed the name of my Facebook page (I regret this), and ...
2
votes
1
answer
826
views
WordPress AJAX - Yoast primary category ID in functions.php using $_POST
I've been working on an AJAX 'load more' feature for a WordPress category archive page, this one is slightly different though as the client only wants the 'Primary Category' as set by the Yoast SEO ...
2
votes
0
answers
310
views
Show content in preview of custom variable created for meta field SEO Yoast admin panel
I want to show post description as meta description on frontend.For this i created custom variable that will show post desction on frontend.
Here is the code which i am using to create custom ...