From 82441be1dc136dc945f707be62bf3468e58b4c64 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 29 Jun 2016 14:25:02 -0400 Subject: [PATCH] testing is_shop conditional to change shop page title --- functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.17.1