Discover in this tutorial how to modify breadcrumbs in Genesis Framework archive pages using code.
One of the advantages of being an OsomCode subscriber is that you can suggest tutorials. The other day one of you asked me if you could customize the breadcrumb text on the archive pages.
So in today’s tutorial we’re going to see how you can get past the default option:

To a custom option:

Let’s see how.
Snippet to modify the breadcrumbs of archive pages in Genesis
First of all, make sure you have breadcrumbs enabled for archive pages. You can do this from the WordPress customizer under Theme Settings > Breadcrumbs:

Add the following snippet to the end of the functions.php file:
To see this and another 997 code snippets of this website, login or subscribe here.
In this case there are 3 snippets and each one modifies a part:
- The starting text
- The separator
- The following text
You can modify each of them to your liking.
Conclusion
As you can see, with a few lines of code you can modify the breadcrumbs in Genesis Framework archive pages to your liking.
If you have any question, please leave it in the comments. And if you want to give me a suggestion for future snippets, please send it through the contact form.
Benefits of being a subscriber. 🙂