Woocommerce shop page displayes "Archive" in browser tab
-
Hello,
When I activate that plugin, my woocommerce shop page will display as a page name Products Archive. When I deactivate plugin, the displayed name is shop as set in settings. I found some threads where they suggest to add following code to functions.php but it did not help me, nothing did′nt change:
// Change title tag of shop page
function new_shop_page_name( $title ) {if ( is_shop() ) {
$name = get_the_title( get_option( ‘woocommerce_shop_page_id’ ) );
return str_replace( __( ‘Products’, ‘woocommerce’ ), $name, $title );
}
return $title;}
add_filter( ‘wp_title’, ‘new_shop_page_name’ );_shop_archive_title’ );Then other suggestion is to Go to (Yoast) “SEO” > “Titles & Meta’s”
Click on the “Post Types” Tab but if I go to shop page, there is no such place like Post types.Can you suggst how to get ride that Archive and display correct page name?
- The topic ‘Woocommerce shop page displayes "Archive" in browser tab’ is closed to new replies.