I need to have different tag titles for each category of my website. I've tried all in one SEO but it looks like i cannot change it individually.
Thanks in advance
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityI need to have different tag titles for each category of my website. I've tried all in one SEO but it looks like i cannot change it individually.
Thanks in advance
Would you mind using the "description" field for tags as the SEO title? If so:
add_filter( 'single_term_title', 'wpse_60464_title_from_description' );
function wpse_60464_title_from_description( $title )
{
if ( ( $obj = get_queried_object() ) && ! empty( $obj->description ) )
$title = $obj->description;
return $title
}
<title></title>
in<head>
section different for each category ? – amit Aug 1 '12 at 14:00<title>
– amit Aug 1 '12 at 14:45