WordPress.org

Forums

Geoposty GeoLocation Widgets, Posts and Redirects
[resolved] Conditional content based on country (3 posts)

  1. jmzolezzi
    Member
    Posted 2 years ago #

    Is there any kind of shortcode to show some specific content to a people from a country and some other content to another, inside a Page or Post?

    Example:
    Hello [geoposty locations="AR"] Argentina [/geoposty] [geoposty locations="MX"] Mexico [/geoposty] [geoposty locations="ES"] EspaƱa [/geoposty] [geoposty locations="AR,MX,ES" display="0"] Rest of the world [/geoposty]

    http://wordpress.org/extend/plugins/geoposty/

  2. mikelynn
    Member
    Posted 2 years ago #

    My WP-Geocode plugin does example what you're looking to do. My plugin has conditional shortcodes to let you offer different content to different readers based on their location... check it out... http://wordpress.org/extend/plugins/wpgeocode/

  3. jmzolezzi
    Member
    Posted 2 years ago #

    Thanks for your reply mikelynn!

    For the time being I've ended up using http://wordpress.org/extend/plugins/custom-content-by-country/ which works great, but will consider yours in case any problems arise.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Geoposty GeoLocation Widgets, Posts and Redirects
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.