January 31, 2019 at 4:37 am
#60055
Alberto
Participant
I solved but not completely. In the page source shows correct, but in google search it’s not good. You can see.
add_filter( 'pre_get_document_title', function( $title ) {
if ( is_home() || is_front_page() ) {
$title = get_bloginfo( 'description' ) .' - Portfolio | '. get_bloginfo( 'name' );
}
return $title;
}
);