Digital experiences for all disciplines
New Landing › How can we help? › Atelier › Is it possible to rename the SHOP page
New Landing › How can we help? › Atelier › Is it possible to rename the SHOP page
Tagged: name, page, shop, woocommerce
- This topic has 12 replies, 7 voices, and was last updated 8 years by Rui Guerreiro – SUPPORT.
-
Posted in: Atelier
-
April 24, 2015 at 1:55 am #167921
Hello, in all your themes you have a default ecommerce page named SHOP. Is there any way possible to rename this page to any thing else? Even through some functions routine or Option/setting field in the theme?
As a photographer, I would love to have it changed to “Prints” or anything else besides “Shop”. There should be a variable we can customize to say anything we need in replace of SHOP. This link change should be reflected site wide in buttons like the “Return to Shop” which would go to the renamed shop page.
So change
http://www.domain.com/shop
to
http://www.domain.com/prints or http://www.domain.com/whateverIs there an easy way to do this that won’t be affected by future theme updates?
It would be great to give us a little more freedom.
Thank you very much.
April 24, 2015 at 3:15 am #167925Hi,
Please paste this code at functions.php of child theme.add_filter( 'woocommerce_page_title', 'woo_shop_page_title'); function woo_shop_page_title( $page_title ) { if( 'Shop' == $page_title) { return "My new title"; } }
Thanks
MohammadApril 24, 2015 at 9:27 am #168035I don’t want to just rename the title, I want to the URL to not be http://www.domain.com/shop
So change
http://www.domain.com/shop
to
http://www.domain.com/prints or http://www.domain.com/whateverApril 24, 2015 at 9:46 am #168057Hi,
Please go to Admin -> Pages -> Find this page and change to page slug.Thanks
MohammadApril 24, 2015 at 12:19 pm #168178If you check your shop page in Pages, you can see the permalink below the title, like this: https://www.dropbox.com/s/gcloxd2xp5mj6sr/Screenshot%202015-04-24%2013.19.12.png?dl=0
If the structure is wrong, you’ll need to check your permalink settings in Settings > Permalinks.
Hope that helps.
– Ed
September 2, 2015 at 3:37 pm #209822Hi,
I tried the code you gave to change the Shop page’s name, but nothing happened.
The page’s name still is Products Archive – “The name of my site”. How do I change that ?Thanks for your time 🙂
September 3, 2015 at 9:12 am #210033Hi
Are you referring to the page title bar or the page title meta?
– Kyle
September 3, 2015 at 2:22 pm #210161Hi Kyle,
I’m referring to the page title bar (the meta is ok with my SEO plugin).
September 3, 2015 at 2:36 pm #210167It will use whatever name you have set for the page, it doesn’t have to be ‘shop’
– Kyle
September 3, 2015 at 3:00 pm #210172I’m sorry but I don’t understand… The page in my browser shows as Products Archive, but the name I gave it is Shop (and I want it to be precisely “Shop – My site’s name”) but I can’t…
September 4, 2015 at 1:19 pm #210448Hi @EmmeranR,
Assuming you have YOAST SEO plugin installed. Please do this:
SEO => Titles & Meta => Post Types => Custom Post Type Archives => Products => Title. Here you can change the Title to anything you need.
Thanks,
David.September 7, 2015 at 4:49 pm #211008Hi David Martin,
That works, thank you !
September 7, 2015 at 4:57 pm #211009Great. Thanks David.
-Rui -
Posted in: Atelier
You must be logged in to reply to this topic.