Last active
August 29, 2015 14:21
-
-
Save ryanshoover/c024b414a1153baed6e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2>Shortcode models</h2> | |
For each heading below, you'll see shortcode content appear <i>if </i>you're in the right area. | |
To spoof being in an area, add this to your URL | |
<pre>http://mywebsite.com/?geoip&country=US </pre> | |
Note that <pre> country </pre> and <pre> US </pre> can be any values you want. | |
--- | |
<h3>North America</h3> | |
<strong>Shortcode: </strong> [geoip-content continent="NA"] Content *just* for NA visitors [/geoip-content] | |
<strong>Result: </strong> [geoip-content continent="NA"] Content *just* for NA visitors [/geoip-content] | |
--- | |
<h3>United States</h3> | |
<strong>Shortcode: </strong> [geoip-content country="US"] Content *just* for US visitors [/geoip-content] | |
<strong>Result: </strong> [geoip-content country="US"] Content *just* for US visitors [/geoip-content] | |
--- | |
<h3>Not Houston</h3> | |
<strong>Shortcode: </strong> [geoip-content not-city="Houston"] Content for everyone *not* in Houston [/geoip-content] | |
<strong>Result: </strong> [geoip-content not-city="Houston"] Content for everyone *not* in Houston [/geoip-content] | |
--- | |
<h3>Not San Francisco</h3> | |
<strong>Shortcode: </strong> [geoip-content not_city="San Francisco"] Content for everyone *not* in San Fran [/geoip-content] | |
<strong>Result: </strong> [geoip-content not_city="San Francisco"] Content for everyone *not* in San Fran [/geoip-content] | |
--- | |
<h3>Texas or California</h3> | |
<strong>Shortcode: </strong> [geoip-content region="TX, CA."] Content *just* for everyone in Texas and California [/geoip-content] | |
<strong>Result: </strong> [geoip-content region="TX, CA."] Content *just* for everyone in Texas and California [/geoip-content] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment