From: Anthony Talarico Date: Wed, 29 Jun 2016 18:25:02 +0000 (-0400) Subject: testing is_shop conditional to change shop page title X-Git-Tag: v1.0.0^2~69 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=82441be1dc136dc945f707be62bf3468e58b4c64;p=WP-Themes%2Ffrancejourneys.git testing is_shop conditional to change shop page title --- diff --git a/functions.php b/functions.php index b7ca211..b4e02ad 100644 --- a/functions.php +++ b/functions.php @@ -161,7 +161,9 @@ add_action( 'woocommerce_single_product_summary', 'shareThis', 20); add_filter( 'woocommerce_page_title', 'woo_shop_page_title'); function woo_shop_page_title( ) { - return "All Tours"; + if ( is_shop()){ + return "All Tours"; + } } add_theme_support('post-thumbnails'); set_post_thumbnail_size(120, 100, true);