Create a gist now

Instantly share code, notes, and snippets.

<?php
require_once('geoplugin.class.php');
$geoplugin = new geoPlugin();
$geoplugin->locate();
echo get_posts_by_tag("{$geoplugin->city},$geoplugin->region}", 5);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment