public
Created

  • Download Gist
gistfile1.php
PHP
1 2 3 4 5 6 7
<?php
require_once('geoplugin.class.php');
$geoplugin = new geoPlugin();
$geoplugin->locate();
 
echo get_posts_by_tag("{$geoplugin->city},$geoplugin->region}", 5);
?>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.