=== AA Block country ===
Contributors: aaextensions
Donate link: https://aaextensions.com
Tags: aaextensions, aaextension, ip,block, visitors
Requires at least: 5.2
Tested up to: 6.8.1
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
It's unique plugin from AA Production House and it is created to block visitors from any country
== Description ==
It's unique plugin from AA Production House and it is created to block visitors from any country :) You can easily do that from settings option
= Features =
- Blocks visitors based on their country using IP detection.
- Uses
ip-api.com for geolocation with transient caching.
- Custom block message support via admin settings.
- Option to require GDPR consent before blocking.
- Displays a GDPR consent banner on the frontend (mobile-friendly).
- Admin panel with easy country code input and message editor.
- Modern, clean, responsive admin UI.
- Multilingual ready with
.pot file support (text domain: aa-block-country).
- Secure coding practices and follows latest WordPress standards.
- Lightweight and optimized for performance.
= How to use it =
- Install and activate the AA Block Country plugin in your WordPress admin.
- Go to Admin → Block Country from the dashboard menu.
- Enter the country codes you want to block (e.g.,
US, IN, CN).
- Customize the block message shown to restricted visitors.
- (Optional) Enable the GDPR consent toggle if required by law.
- Click Save to apply your settings.
- Visitors from blocked countries will now be denied access with your custom message.
= Installation =
- Download the AA Block Country plugin ZIP file.
- Go to your WordPress dashboard → Plugins → Add New.
- Click Upload Plugin and choose the ZIP file.
- Click Install Now, then Activate the plugin.
- The settings panel will appear under Block Country in the admin menu.
= Screenshots =
= Changelog =
- Version 1.0.1 (2025-06-02)
- Added multilingual support with text domain
aa-block-country.
- Improved admin settings UI with better mobile responsiveness.
- Enhanced GDPR consent banner styling and accessibility.
- Sanitized and validated all user inputs for better security.
- Refactored code for compliance with latest WordPress coding standards.
- Optimized transient caching for IP-based geolocation.