Tagged: science project ideas for kids
- September 14, 2017 at 2:50 pm #1324824
There’s something you do on your eStore free (probably others too) theme that’s considered bad practice for SEO. You have two <h1> tag.
So on product pages, one <h1> tag is the product title, and another <h1> tag is the “Shop” title from the breadcrumbs. A solution would be to set up a rule where if it’s a product page, then change the breadcrumbs title from <h1> to whatever with the same CSS class from before.September 15, 2017 at 8:31 am #1324939
Thanks for the concern. Since we’ve to do some research on this topic, it may take time to provide you solution.
So, this issue will be fixed in our next update or later.
Please have patience until then.
Regards.September 15, 2017 at 2:00 pm #1324977
That may take a while though. Can you provide a temporary solution that I can implement now? Don’t know how complicated it actually is, but a rule like I mentioned where if it’s a product page, then change the breadcrumbs title from <h1> to <p> while keeping the same css class should be pretty easy.
if (page = product.page)
then (update <h1> to <p>)September 15, 2017 at 3:38 pm #1324996
Ok, I fixed it.
You should update the commented line below.
<div class="page-header clearfix"> <div class="tg-container"> <?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?> <!--change from <h1> to <p> --> <p class="entry-title"><?php woocommerce_page_title(); ?></p> <?php endif; ?> <h3 class="entry-sub-title"><?php woocommerce_breadcrumb(); ?></h3> </div> </div>
Can you review it please? Tried it on my website and it works fine. It’s a pretty simple and easy fix.
Now how do I implement this in my child theme?
September 18, 2017 at 4:50 am #1325230
- This reply was modified 1 week ago by is.
woocommerce_page_title()generates page title, it is better to use heading tag like
Thanks.September 18, 2017 at 9:04 am #1325282
Sure, whatever, I’ll add <h2>, but how do I actually implement this via a child theme? Or maybe if you update the theme and implement it yourself I won’t have to do it. 🙂September 18, 2017 at 9:33 am #1325291
I really like your blog. I really appreciate the good quality content you are posting here for free. science project ideas for kidsSeptember 19, 2017 at 5:01 am #1325443
Yes, it would be better to implement this changes on your child theme for now.
As it may take some time to add these things in theme and don’t have any ETA for new update.
ThemeGrill Support TeamSeptember 21, 2017 at 7:34 pm #1325934
Ok. How do I implement them via a child theme?September 22, 2017 at 4:46 am #1325970
Firstly, you can follow the link below where you can download the child theme for estore and then please create the folder woocommerce as in the main theme. And clone the file “single-product.php” where you can overwrite the above provided code.
ThemeGrill Support Team
You must be logged in to reply to this topic.