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!