Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › remove breadcrumb from woocommerce pages
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › remove breadcrumb from woocommerce pages
- This topic has 13 replies, 3 voices, and was last updated 9 years by Rui Guerreiro – SUPPORT.
-
Posted in: Neighborhood
-
April 13, 2015 at 7:11 am #164512
Hello,
I’m trying to remove the breadcrumb from the woocommerce pages but it doesn’t work:
– neither with the function
remove_action( ‘woocommerce_before_main_content’,’woocommerce_breadcrumb’, 20, 0);– neither by ticking the box remove Breadcrumb. Well, this option only works on the product page, but not on the landing of the ecommerce, AND I need to remo it form the tag and category pages of Woocommerce too.
I don’t want to use CSS display none for that.
What is the solution?
Thank you
April 13, 2015 at 7:33 am #164524Hi,
Please use this custom css code:-.woocommerce #breadcrumb{ display:none !important; }
Thanks
MohammadApril 13, 2015 at 2:01 pm #164737Hello,
I specifically said in my previous comment that I don’t want to use the css display none trick,… I’m very careful with the duplicate content en organic SEO of my website and the “display:none” doesn’t help at all
Also:
– it’s not normal that option of the template doesn’t work, as it’s the case of the tick box ·remove breadcrumb” in the ecommerce landing page.
– for various element the standard “remove” function doens´t work.Can you give me please a proper answer?
April 13, 2015 at 2:32 pm #164752Hi,
Please go to Admin -> Settings -> NavXt breadcrumb setting -> Post Type -> Here you can hide breadcrumb for product pages.
Thanks
MohammadApril 13, 2015 at 7:07 pm #164844No you don’t understand, the breadcrumb is already OK in the PRODUCT page. https://d-talentos.mx/eboutique/bolsas/neceser-de-piel-viator-bags/
As I already explained before, it’s something I was able to do in the page product: remove the woocommerce breadcrumb thank’s to the option “remove the breadcrumb” form the neighborhood template, but I can’t do the same in
– woocommerce LANDING https://d-talentos.mx/eboutique/ (the “remove the breadcrumb” option of the template doesn’t work on that page)
– woocommerce CATEGORY https://d-talentos.mx/categoria-producto/bolsas/I´ve set the nevxt Breadcrumb plugin because I want this one (still for SEO matter).
And also as explained before, the Remove breadcrumb Hook doesn’t work either
remove_action( ‘woocommerce_before_main_content’,’woocommerce_breadcrumb’, 20, 0);See the screenshot to see what I’m talking about.
Thank’s
Attachments:
You must be logged in to view attached files.April 14, 2015 at 10:43 am #165003Hi,
Why did you add another breadcrumb while theme have default breadcrumb? How did you add left side breadcrumb?
Thanks
MohammadApril 14, 2015 at 4:57 pm #165123Honestly Mohammad, I don’t understand why instead of offering me a solution that matches my needs, you ask me another question.
It doesn’t help at all…But well, to answer you question: isn’t it the right of a customer to change the template as he wants when for instance, the markup isn´t SEO friendly, or the position of an element doesn´t match the rest of the design?
Is there someone in the support team who can help you to help me please…
Thank you.
April 14, 2015 at 5:15 pm #165126Hi,
Apologies all about it. Please provide me wordpress admin login to check and found any exact solution. We are always ready to provide you best support.
Thanks
MohammadApril 15, 2015 at 6:18 am #165209This reply has been marked as private.April 15, 2015 at 6:33 am #165211Hi,
Please open to edit page.php file.Find this code:- echo sf_breadcrumbs(); Change with:- //echo sf_breadcrumbs();
Thanks
MohammadApril 15, 2015 at 6:51 am #165217I’ve tried it, I’ve cleared the cache, it doesn´t work.
Clémence
April 15, 2015 at 7:05 am #165224Hi,
There are two more files remaining single-product.php and archive-product.php at /neighborhood/woocomerce/. You need to make same change here. Thanks for your patience.
Thanks
MohammadApril 17, 2015 at 8:21 pm #166130Ok,
This time everything works fine.
Just a comment for next users: I’ve modified the files, but in the neighborhood-child/woocommerce
Thank you
Clémence
April 17, 2015 at 8:27 pm #166131Glad it’s sorted. Thanks for the heads up.
-Rui -
Posted in: Neighborhood
You must be logged in and have valid license to reply to this topic.