Enabling shortcodes on the top bar

add_filter('theme_mod_x_topbar_content', 'do_shortcode');
add_filter('theme_mod_x_footer_content', 'do_shortcode');

I tried the code above. It does not work.
Also, I do not want to modify the template files. Thanks!

Hello Learner,

Thanks for posting in!

To get your issue resolved, follow the instructions from this thread:

We would love to know if this has worked for you. Thank you.

It worked. Thanks!

You’re welcome, @faizan.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.