Probably best searching the plugin directory for a Geo restricting script – I imagine it would be easy to get around by using a proxy though.
Incidentally if you need help coding shortcodes into the template itself, rather than manually adding them to each post then here’s a tutorial for you.
Thread Starter
TOM
(@sandbad)
thanks for replay
i went to Template -single post to add <?php echo do_shortcode(“[SHORTCODE]”); ?>
but i don’t know exactly where i can add this code in my single post?
exactly where i can add this code in my single post?
where do you want to have the text show?
– before the post content, or after?
what theme are you using?
does the theme have a single.php template?
or do you want to use the shortcode directly in the post’s content?
does the shortcode come from a plugin?
if so, from which plugin exactly?
Thread Starter
TOM
(@sandbad)
– i want add before post
– theme is -Osiris
-does theme have single php template ? yes
shortcode come from GeoTargeting Lite plugin
do you want to use the shortcode directly in the post’s content? i add it before to post content the all code appear in public , i try to do in right way , so i appreciate your respond to me about how add it
try to add the code into single.php (ideally of a child theme) before this line:
<div class="post_info_wrap"><?php the_content(); ?> </div>
if you think it is a problem with the theme, please post in https://wordpress.org/support/theme/osiris
if you think it is a problem with the plugin, please post in
http://wordpress.org/support/plugin/geotargeting