Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Add widget or shortcode to site header

Home / Forums / Kadence Theme / Add widget or shortcode to site header

This topic is: Not Resolved
[Not Resolved]
Posted in: Kadence Theme
August 13, 2020 at 9:30 am

Hey There!

I’m working on a site that will have data-driven ozone alerts and a weather widget in the top bar of all pages. My first thought was to create widgets – or probably shortcodes – to do this. But when I look at the customizer for header sections, I don’t see an option to add either to the top bar. I tried dropping {year} into an HTML block as a test, but no luck.

What is the best way for me to add custom coded objects to the site header? Can I add a function to allow shortcodes in the header? Or maybe hook in? Worst case scenario, I suppose I could add the header template into my child theme and customize, but I’d like to avoid this if possible.

Thanks!

  • The forum ‘Kadence Theme’ is closed to new topics and replies.