GeoIP Plugin

Download:
Download version 1.0.

If you find this plugin useful please donate to the author.

This plugin adds functionality for Maxmind.com GeoIP.

Revision History:

version 1.0 Original Release

Installation:

  1. Copy the directory rjs-geoip and all it’s contents to the WordPress plugins directory on your server, (%WORDPRESS PATH%/wp-contents/plugins/).
  2. Download and copy the latest version of the GeoIP database into the rjs-geoip directory.
  3. You will then need to activate the plugin from the WordPress administration plugins page.
  4. Adjust the options as necessary.

Usage:

  1. The visitor_country function make GeoTargeting easy by using the following syntax:

    Example:

    <?php
    if (is_callable('GeoIP', 'visitor_country')) {
        $contry_code = GeoIP::visitor_country();
        if($country_code == 'US') {
            // Do Something
        } else {
            // Do Something Else
        }
    }
    ?>

WordPress database error: [Table 'd60338014.wp_comments' doesn't exist]
SELECT * FROM wp_comments WHERE comment_post_ID = '2321' AND comment_approved = '1' ORDER BY comment_date

1 Comment

Leave a comment