Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: bbPress and Yoast SEO conflict – How to change the meta title for the replies?

@robin-w

Moderator

thanks, ok lets try this

add_filter( 'wpseo_title', 'rew_meta_title' );
function rew_meta_title( $title ) {
global $post ;
       if ($post->post_type == 'reply' ) {
	 $title = 'this is a reply' ;
    }
 return $title;
}
Skip to toolbar