• Skip to primary navigation
  • Skip to main content
OsomCode

OsomCode

Awesome code tutorials for WordPress and Genesis

  • Subscribe
  • My account
    • Edit profile
    • Favorites
    • Update credit card
  • Login

Customize the breadcrumbs of the archive pages in Genesis

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:

breadcrumbs-default-archive-page-Genesis

To a custom option:

custom-breadcrumbs-archive-page-Genesis

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:

settings-breadcrumbs-pages-archive-Genesis

Add the following snippet to the end of the functions.php file:

To see this and another 847 code snippets of this website, login or subscribe here.

In this case there are 3 snippets and each one modifies a part:

  1. The starting text
  2. The separator
  3. 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. 🙂

Archive CPT Genesis Framework PHP

To leave read and make questions about this code, you can login or register.

  • About OsomCode
  • FAQ
  • Contact

Legal Notice · Privacy Policy · Cookie Policy · Terms and conditions
Copyright © 2023

Lost your password?