WordPress.org

Forums

WordPress SEO by Yoast
Is it possible to insert a query var into SEO title? (1 post)

  1. Twansparant
    Member
    Posted 1 year ago #

    Hi there,

    I was wundering if it's possible to insert a custom query var value into the SEO title on a post type archive. Something like this:

    %%query_var_value%% post type plural %%page%% %%sep%% %%sitename%%

    My query var is defined like this:

    function add_query_vars($vars) {
    	$vars[] = 'query_var';
    	return $vars;
    }
    add_filter('query_vars', 'add_query_vars');

    Thanks!

    https://wordpress.org/plugins/wordpress-seo/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress SEO by Yoast
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic