function my_testimonials_page_title( $title ) {
if ( is_singular( 'testimonials' ) ) {
$title = get_the_title();
}
return $title;
}
add_filter( 'wpex_title', 'my_testimonials_page_title', 40 );
function my_testimonials_page_title( $title ) {
if ( is_singular( 'testimonials' ) ) {
$title = get_the_title();
}
return $title;
}
add_filter( 'wpex_title', 'my_testimonials_page_title', 40 );