Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter mohamedadam19

    (@mohamedadam19)

    How can I link the sidebar appearance to be matched with the post content

    Thread Starter mohamedadam19

    (@mohamedadam19)

    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?

    Plugin Author Benjamin Pick

    (@benjamin4)

    Plugin Author Benjamin Pick

    (@benjamin4)

    Oh, and taxonomy=category&tag_ID is not a condition that is understood by this plugin. You would need a seperate shortcode around this.

    Thread Starter mohamedadam19

    (@mohamedadam19)

    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

    Plugin Author Benjamin Pick

    (@benjamin4)

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘sidebar appearance’ is closed to new replies.