Questions tagged [plugin-wp-seo-yoast]

WordPress SEO by Yoast is a popular SEO plugin for WordPress. Questions about this and other 3rd party plugins are closed as off-topic here and not in this stacks scope.

Filter by
Sorted by
Tagged with
1 vote
2 answers
8k views

Add Page number to Meta Description in Wordpress SEO by Yoast [closed]

The code below is from Wordpress SEO plugin by Yoast. I am trying to add the page number to the Meta description on paginated posts (to avoid duplication issues with Google). function metadesc( $echo ...
A.M.M's user avatar
  • 23
8 votes
10 answers
6k views

Remove an action from an external Class

I'm trying to do something similar to this question here: remove_action or remove_filter with external classes? I'm trying to remove the <!-- This site is optimized with the Yoast WordPress ...
Brooke.'s user avatar
  • 3,893
9 votes
5 answers
14k views

WordPress SEO by Yoast: Hide Meta Boxes in Posts for Non-admins

I have multi-author website and I am not very comfortable for allowing all members to enter SEO details in the posts they are publishing. I would like this would be visible only to Administrator of ...
Audrius's user avatar
  • 101
22 votes
1 answer
30k views

Using php to overwrite or replace title tag, while using yoast [closed]

I use yoast for my seo, indexing, title, sitemap etc. But I have one issue, for my product pages I want to use costum taxonomy data and yoast doesnt support that. Now I got the code to echo the exact ...
Bram's user avatar
  • 335
8 votes
2 answers
12k views

Remove the Yoast SEO Post Metabox [closed]

Yoasts SEO plugin adds a metabox to the post edit screen. I'm trying to remove this for users who aren't editors or above. I've tried putting a remove_meta_box call in on admin_init, trying to remove ...
Tom J Nowell's user avatar
  • 59.2k
17 votes
4 answers
45k views

Display Yoast WordPress SEO title in archive template

The WordPress SEO plugin by Yoast allows users to add SEO titles and meta descriptions to taxonomy term archive pages. These are then used in the head of the document. I´m trying to display the SEO ...
Mattvic's user avatar
  • 929
3 votes
2 answers
864 views

root-relative links for multiple parked domains

I have five domains pointing to the same server/wp installation. the domain names are important and my visitors need to be able to stay on their preferred domain as they surf through my site. how do ...
Gregory's user avatar
  • 569
1 vote
3 answers
7k views

Manipulating wp_head content

I'd like to know if it is possible for me to manipulate the output of wp_head()? Right now I'm using the Yoast SEO plugin to add some social tags into my posts (og:*). Now this site is an remake of ...
tommica's user avatar
  • 21
0 votes
2 answers
7k views

Set Primary category using the Yoast SEO plugin

function set_primary_on_publish ($post_id) { global $post; $categories = get_the_terms( $post->ID, 'category' ); // wrapper to hide any errors from top level categories or products ...
Dylan Smit's user avatar