grep -r "Boutique" ./wp-content/themes
doesn’t return anything
I even ran a search-replace command with wp-cli on my full database to be sure the page title I wanted to remove was not present, but this didn’t fix my problem.
The most probable explanation to me at this point is that the shop page title is hardcoded in the translation files (wp-content/languages/plugins/woocommerce-fr_FR.po:)
grep -r "Boutique" ./wp-content/languages
returns a couple of matches like
./languages/plugins/woocommerce-fr_FR.po:msgstr "Boutique"
./languages/plugins/woocommerce-fr_FR.po:msgstr "Page Boutique"
./languages/plugins/woocommerce-fr_FR.po:msgstr "Boutique"
Can you confirm that, tell me if it’s normal behavior, and if the only way to solve that is by editing these po files?
Edit : ok now I’m confused. I tried to switch to another theme such as Storefront and now I’m seeing the correct title. But at the same time, there is nowhere inside the twenty twentyfour theme files where the shop page title seems to be hardcoded.
Edit 2: found someone with the same problem: https://www.ads-software.com/support/topic/change-shop-to-my-burger-joint-in-twenty-twenty-four/ But it’s a pity the person who posted the solution posted images that are not online anymore.
]]>I installed Woo on a new WP site (Apache, cPanel, using Softacolous), activated the default Storefront theme, but I am having problems changing the shop title (in the browser tab – the name between <title></title>). Currently, this is a brand new install – no other plugins besides Woo, no customizations, etc.
My Shop page is the default, also named Shop with slug “shop”. Set in WooCommerce > Settings > Products > Shop Pages > Shop Page > “Shop”
However, instead of Shop (the title I see in the page editor), it is called “Products”. You can also see this on the official Storefront live demo here: https://themes.woocommerce.com/storefront/shop/
When I set the permalinks to Plain, the Shop page’s URL becomes /?post_type=product and I guess this is where the “problem” comes from. Using pretty permalinks (/%postname%, no trailing slash) the page is /shop, but the title is once again “Products”
I can’t find a way to change this to something custom, for example “My Store”.
If I change the default “Shop” page in Woo settings to a different one, for example a brand new page I created called “Test Page” with slug “test”, the title when I open my.site/shop changes to “Shop”, but the page contents are empty (no product archive at all).
I am not sure how else to troubleshoot this problem… I guess I’d be able to change it to what I want using Yoast, but IMHO that’s a workoaround, not a true solution.
]]>I would like to find out how to remove the Shop page title without removing the featured image too. As you can see in the link I have a .gif as the featured image and I do not need the page title over this. I have tried a few things but it seems to remove the entire image section.
]]>I’d like to know how to remove (hide ideally) the Home/Shop title from this page.
Thanks in advance
]]>I want to insert a slider after the main shop home page title. I’ve got my action all written, but I can’t find the right hook name to use that says the above.
Could someone point out the right hook name for me? The nearest thing I can find is woocommerce_page_title
but I would think that would put my slider on every page.
https://www.ads-software.com/plugins/woocommerce/
]]>My theme has a custom header thing for page titles, where the page title is usually to be found-
But on my shop page (and also on product category pages) the name of the page is changed to the name of my first product, “Simpel hjemmeside” (Name is Danish, not important)
Meanwhile, the actual page title is on the content of the page.
I suspect the error could be within my woocommerce.php-file, but I wouldn’t know where to look.
Here’s a screendump of the issue: Here
Here’s the testing site in question: Here
I’m relatively new in customizing Woocommerce and am currently on a steep learning curve.
Thanks in advance
https://www.ads-software.com/plugins/woocommerce/
]]>