shortcode in Header
-
Hi.
I can’t display the BelingoGeo plugin on the site in header
I use a third-party plugin to display Snippets and I write the following php code there:
add_action( ‘ocean_top_bar_content’, ‘add_shortcode_to_top_bar’ );
function add_shortcode_to_top_bar() {
echo do_shortcode( ‘[belingogeo_selector show_question=”false”]’ );
}But it doesn’t work. Nothing appears on the site. What could be the problem?
p.s. WP+OceanWP+Elementor+WoodySnippet+RankMath
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘shortcode in Header’ is closed to new replies.
