Learn in this tutorial how to hide the first breadcrumb element in bbPress using a code snippet.
bbPress is one of the most popular WordPress plugins for creating a forum on a website. It’s not the most “flashy” but it has a robust code and that’s why I’ve used it several times to implement it in my clients’ projects.
In a forum it is very practical to have breadcrumbs so that the users know where they are at all times.
In this sense bbPress fulfills this function well, but one of the things I always do is to remove the first element of the breadcrumbs, as it can even be misleading.


If you also think it’s better to remove this element, read on.
Snippet to remove the first element from bbPress breadcrumbs
Add this code at the end of the file style.css:
To see this and another 965 code snippets of this website, login or subscribe here.
With this simple change you avoid displaying the first breadcrumb element, which is almost always the home page of the website.
Conclusions
Now you know how to remove the root element of the bbPress breadcrumbs with a simple snippet.
Any questions? I read you in the comments.
And if you want to give me any suggestion for future tutorials, leave it in the contact form. Advantages of being a subscriber. 😉