Hi,
did that, and the main blog page title also changed to the post title…
so, i tried this code:
// Heading for blog and archives
if( is_singular( 'post' ) || woodmart_is_blog_archive() ):
if(woodmart_is_blog_archive()) {
$title = ( ! empty( $page_for_posts ) ) ? get_the_title( $page_for_posts ) :
esc_html__( 'Blog', 'woodmart' );
}
if(is_singular( 'post' )) {
$title = get_the_title();
}
if( is_tag() ) {
$title = esc_html__( 'Tag Archives: ', 'woodmart') . single_tag_title('', false) ;
}
//rest of the code
and it works nice.
do you think that my code can couse any problem?
regards