Forums
-
- Forum
- Posts
-
- Installation
- 28,529
- Troubleshooting
- 62,964
- Themes
- 10,453
- Plugins
- 15,408
- Requests & Feedback
- 15,048
- Showcase
- 3,252
-
ah, I understand, sorry not really into SEO
try this
add_filter( 'wpseo_metatitle', 'rew_meta_title' );
function rew_meta_title( $title ) {
global $post;
if ($post->post_type == 'reply' ) {
$order = $post->menu_order ;
$post_parent = $post->post_parent ;
$topic_title = get_the_title ($post_parent) ;
$title = $topic_title.' '.$order ;
}
return $title;
}