Title: reverse shortcode?
Last modified: November 29, 2016

---

# reverse shortcode?

 *  [wordp-TB](https://wordpress.org/support/users/wordp1478/)
 * (@wordp1478)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/reverse-shortcode/)
 * Do you have any “reverse” shortcode so we don’t have to define “all other countries
   but these 2”. The example says we would have to define the countries.
 * It would be easy to say if country is US or Canada, do this. But we need a condition
   that says if it’s NOT US or Canada, do that.
 * Is that possible?

Viewing 1 replies (of 1 total)

 *  Thread Starter [wordp-TB](https://wordpress.org/support/users/wordp1478/)
 * (@wordp1478)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/reverse-shortcode/#post-8494166)
 * Paul what we are looking to do is showing different pages not different content
   within a page, so i think we would need an if/then code, visitor hits the page,
   if this country show this page if not/then show that page.
 * what would be the best way to do that?

Viewing 1 replies (of 1 total)

The topic ‘reverse shortcode?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-by-country.svg)
 * [Custom Content by Country (by Shield Security)](https://wordpress.org/plugins/custom-content-by-country/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-content-by-country/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-by-country/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-by-country/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-by-country/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-by-country/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [wordp-TB](https://wordpress.org/support/users/wordp1478/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/reverse-shortcode/#post-8494166)
 * Status: not resolved