How can I link the sidebar appearance to be matched with the post content
In other words, I use the below shortcode so based on the country and the selected post category, a relevant sidebar template “8125” will be shown
[geoip_detect2_show_if country=”US” taxonomy=category&tag_ID=”83″]
[elementor-template id=”8125″]
[/geoip_detect2_show_if]
However, it is not working, what is the issue?
Oh, and taxonomy=category&tag_ID is not a condition that is understood by this plugin. You would need a seperate shortcode around this.
Thanks for your feedback, however, as I understood so I want the category ID as a condition in the if statement. If I get as shortcode so how can I use it?
Or is there any other approach that I can link the sidebar content with its related post and both are under the same category?
Appreciate your support for that
Category as condition – you will have to find a different plugin that has this condition as a shortcode, and then wrap it around the shortcode of this plugin.