projects
/
WP-Themes
/
francejourneys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffffc91
)
testing is_shop conditional to change shop page title
author
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 29 Jun 2016 18:25:02 +0000
(14:25 -0400)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 29 Jun 2016 18:25:02 +0000
(14:25 -0400)
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
b7ca211
..
b4e02ad
100644
(file)
--- 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);