-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breadcrumb code: Suggestion #5
Comments
You have great timing, @baabanai. I spent a couple of hours last on a project trying to tweak the current breadcrumb code and got frustrated. I'll definitely check this out and see about switching. Thanks for sharing! |
how can I remove breadcrumbs in-home and page? I tried to set 0 in breadcrumb.php but still shown |
If you want to remove the breadcrumbs completely, all you have to do is comment out this line in functions.php:
Setting |
Yes, i did that, comment out those lines
…On Fri, Sep 3, 2021, 9:52 PM Addison Hall ***@***.***> wrote:
If you want to remove the breadcrumbs completely, all you have to do is
comment out this line in functions.php:
require get_stylesheet_directory() . '/inc/breadcrumbs.php';
Setting $showOnHome to 0 should hide the breadcrumb on the homepage. Is
it not working in your case?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACFI7IPNC4LUWWEGBN7CNRLUADOK3ANCNFSM43QMY5RA>
.
|
If you've commented out the breadcrumb.php reference in functions.php and still see a breadcrumb on your site, I'd guess that you possible have something else adding the breadcrumb... Another plugin, perhaps? |
I tried to set 0 too in showonhome and page perhap but , breadcrumbs |
@malikshi open up the
and comment it out like so:
That should disable the breadcrumbs completely. |
Thank you for tmthe better solution |
This is not an issue but a suggestion. I suggest you swap out the breadcrumb code you have for this. I've spent close to three hours trying to remove the separator, especially for a posts nested under more than one category, but failed with the code in your child theme (which I am very grateful for). Dimox's breadcrumbs did it in less than a minute. Plus, Dimox's has structured data from the get go.
The text was updated successfully, but these errors were encountered: