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.

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

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

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

Leave a Comment

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

ShortPixel Logo50% Extra Credits
ShortPixel Coupon
Use our exclusive ShortPixel deal and get 50% extra credits on your purchase of one-time credits.

Send this to a friend