WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Twansparant
    Member
    Posted 10 months 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/

Reply

You must log in to post.

About this Plugin

About this Topic