Hello,
I am using the following code in my functions file to get shortcodes to appear in my topbar:
add_filter( ‘x_option_x_topbar_content’, ‘topbar_content_filter’ );
However an unintended consequence of this is that the shortcode appears twice.
This does not happen when it is elsewhere on the website.
Does anyone have any solutions?
Thanks!