This topic has 4 replies, 2 voices, and was last updated 7 years, 7 months ago ago by Rose Tyler
Hello,
In version 3.1, as I display the products per attribute (using a direct url, not using the filters), the page title is the title of the first product in the page (and no longer the name of the attribute).
This was working well in version 3.0.
Can you please check?
Thanks in advance !
Can you please have a look at this isssue quickly?
Most of my SEO is based on that feature. This bug is therefore really bad for me.
By the way, I am sure the bug is dépendant on your theme. I désactivâtes my child theme and activated the Lège,da theme, and I reproduced it directly.
Thanks in advance for your quick reply.
Hello,
I think I finally understood what created the issue.
It is located in theme-functions.php, line 4788.
<?php if ( is_shop() || is_product_category() || is_product_tag() || taxonomy_exists( 'brand' ) && is_tax( 'brand' ) ): ?>
<h1 class="title"><span<?php echo $bk_color; ?>><?php woocommerce_page_title(); ?></span></h1>
If you change the condition as follows :
<?php if ( is_shop() || is_product_category() || is_product_tag() || is_tax() ): ?>
then it corrects the bug.
Was there any good reason to limit the wooocommerce_page_title() function to the brand taxonomy only?
If not, can you please change that in the next code release?
Thanks in advance !
Hello,
I sent your report to our developers.
Thank you for the notice.
Regards,
Rose Tyler.
You must be logged in to reply to this topic.Log in/Sign up