Hi etna32,
Can you please send me the sample page where this issue occurs? Thank you
Thread Starter
etna32
(@etna32)
Hi
To resolve the problem I added this inside header masthead:
<?php elseif (is_woocommerce()) : ?>
<div id="page-sub-header">
<div class="container">
<h1 class="woocommerce-products-header__title page-title">
<?php woocommerce_page_title(); ?>
</h1>
<?php
the_archive_description( '<div class="archive-description">', '</div>' );
?>
</div>
</div>
<?php else : ?>
So I have the correct Woocommerce title in shop frontpage and search products, but the “archive-description” is still wrong so I delete it ( I mention it above if you can suggest something else to have the shop description).
Regards
Leslie,
I ran into that same problem this evening. I was not able to edit the “All products” button (which links to the home page but is located under the products tab on the menu) – my fix was to remove that from the menu and create a standard “Shop” page that resides under “pages” in the menu are and is essentially a blank page that WooCommerce knows how to populate based on the WooCommerce settings. If for some reason you do not have a “Shop” page you should be able to just create one and then may need to link it from the WooCommerce settings depending on what version you are on.
I hope that helps!
Rob
Leslie,
After looking at your page again I noticed it is a slightly different problem that what I had. Your problem is easy to fix with CSS, just put the code below into a custom CSS area within your template and it should disappear. From what I see this should not interfere with any other titles or pages but double check to make sure. Some templates allow a category description and that is what seems to be getting picked up in your case.
.woo-category-desc {
display: none;
}
Good Luck!
Rob
-
This reply was modified 8 years, 5 months ago by
radamo7.