How To: Execute Shortcodes in Genesis Breadcrumbs

We usually use shortcodes to display dynamic content in WordPress.

In WordPress, shortcodes can’t be executed at some places without overriding the default function.

I had this issue recently with my site built on the Genesis Framework.

I added a dynamic current year shortcode to my post’s title, and it showed up as it is without getting executed.

I got it figured out and below is the solution!

Execute Shortcodes in Genesis Breadcrumbs

Simply paste the code given below to your theme’s functions.php file and save it.

/* Execute shortcodes in Genesis Breadcrumbs */
add_filter( 'genesis_single_crumb', 'do_shortcode' );

Don’t forget to clear cache after saving the file to see the result. Cheers!

Ritesh Saini
Ritesh Saini
I’m a Professional Blogger & Internet Marketer living in India. Started my blogging and online marketing journey in 2013 when I was just 18 years old. You can see my work here on this blog and at

Best Managed WordPress HostingWPX Hosting
Best Managed Cloud HostingCloudways
Best Shared HostingSiteGround
Best Site & Page BuilderElementor
Beautiful WordPress ThemesElegant Themes
Lightest & Fastest WordPress ThemeGeneratePress
Best Lead Generation ToolOptinMonster
Best CDNStackPath
Best Domain RegistrarNamecheap

Related Posts

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

ShortPixel Logo 50% Extra Credits
ShortPixel Coupon
Use our exclusive ShortPixel deal and get 50% extra credits on your purchase of one-time credits.
PeerBoard Logo $59 for Lifetime
Get PeerBoard for Lifetime @ $59 ONLY!
PeerBoard lets you create Reddit style forums with ease. It is self-hosted and requires no technical expertise. Grab this lifetime deal before it's gone forever.
Share via
How To: Execute Shortcodes in Genesis Breadcrumbs
Scroll to Top
Send this to a friend