Working only for US
-
I am trying to show conditional content for African countries only, however the only country that seems to work is the US. (site link)
I added the IP and COUNTRY shortcodes for trouble shooting. When I use GeoedgePro to simulate different locations accessing the site, the COUNTRY name doesn’t display, and the intended content doesn’t display, though the correct IP does display.
Also a user testing from South Africa informed me that they see the first link, which is meant for all countries outside of Africa, but not the second link, meant for countries in Africa.
If I add US to the country code list, then it does display in the US.
<div class="dl-box"> <!-- content for countries outside Africa --> [CBC show="n" html="div" country="DZ, AO, SH, BJ, BW, BF, BI, CM, CV, CF, TD, KM, CG, DJ, EG, GQ, ER, ET, GA, GM, GH, GW, GN, CI, KE, LS, LR, LY, MG, MW, ML, MR, MU, YT, MA, MZ, NA, NE, NG, ST, RE, RW, ST, SN, SC, SL, SO, ZA, SH, SD, SZ, TZ, TG, TN, UG, CD, ZM, TZ, ZW, SS, CD"] Education & Community Screenings: <a href="http://www.greenplanetfilms.org/product/the-high-cost-of-cheap-gas/" target="_blank">Green Planet Films</a> [/CBC] <!-- content for countries in Africa --> [CBC show="y" html="div" country="CA, DZ, AO, SH, BJ, BW, BF, BI, CM, CV, CF, TD, KM, CG, DJ, EG, GQ, ER, ET, GA, GM, GH, GW, GN, CI, KE, LS, LR, LY, MG, MW, ML, MR, MU, YT, MA, MZ, NA, NE, NG, ST, RE, RW, ST, SN, SC, SL, SO, ZA, SH, SD, SZ, TZ, TG, TN, UG, CD, ZM, TZ, ZW, SS, CD"]Download or stream the film: [purchase_link id="1175" text="Add to Cart" style="button" color="green"][/CBC] <div style="font-size:10px; color: #888">[CBC_COUNTRY /][CBC_IP /]</div></div>
Any help getting this to work would be appreciated.
The topic ‘Working only for US’ is closed to new replies.