CountryLock
CountryLock provides a simple, lightweight way to allow or block countries from accessing your WordPress site. It’s designed to be “set it and forget it” with no upsells, ads, or complex configurations. ✨ Key Features Master Toggle: Enable or disable the firewall with a single click. Allowed Countries List: Specify which two-letter country codes (e.g., US, CA) are allowed. Everyone else is blocked. Admin Bypass: Logged-in administrators can always bypass the block (toggleable). IP Allowlist: A simple list of IPs or CIDR ranges (like 123.45.67.89 or 10.0.0.0/8) that are always allowed. Block Logging: See which countries and IPs are being blocked (toggleable). Zero-Lookup Detection: Automatically uses Cloudflare (HTTP_CF_IPCOUNTRY) and other common server-level GEO headers for instant decisions with zero performance impact. Remote Lookup: As a fallback, it can query an external service (ipapi.co) if no headers are found. External Services This plugin uses one external service as a fallback to determine a visitor’s country if no local GEO headers (like those from Cloudflare or a server-level GeoIP module) are present. Service: ipapi.co What it’s used for: To look up the country of origin for a visitor’s IP address. Data Sent: The visitor’s IP address is sent to the service. This happens only if the “Use remote lookup if no geo headers” setting is enabled AND no local GeoIP headers are detected. Service Policies: Terms of Service Privacy Policy
SVG Block
This SVG block allows you to display SVG images as inline HTML markup. You can either choose an icon from the icon library with more than 3000 icons or you can upload or input your custom SVG images directly in the block’s setting. It also allows you to upload SVG images to the WordPress media library, and load them into the icon library. Only SVG files that have XML declaration at the top like can be uploaded to the WordPress media library. Key Features Accessibility ready with ‘img’ role, automatically generates title and description from settings. Automatically sanitize SVG markup to make it safe and lightweight. Include almost all settings to customize the SVG image. Include a collection of common non-rectangular dividers. An icon library included icons from “Bootstrap Icons”, “Ionicons”, “Dashicons” and new “WordPress Icons”. Allow uploading SVG images to the WordPress media library Automatically load SVG images from the media library into the icon library Video tutorials How to create an icon with custom styles using the icon library: How to create a non-rectangular background section: How to create icon buttons: Please take a look at these custom block patterns that use this block to see how it can be applied to real-world sites. If this plugin is useful for you, please do a quick review and rate it on WordPress.org to help us spread the word. I would very much appreciate it. Please check out my other plugins if you’re interested: Content Blocks Builder – Build custom layouts and blocks visually in the Block Editor without needing a code editor, using only core blocks and native Gutenberg features. Meta Field Block – A single block to display custom fields in the Block Editor without coding. It supports ACF, MetaBox, WooCommerce, meta, rest field, shortcode and more. Works everywhere: in the Site Editor (FSE), the Block Editor, inside Query Loop, WooCommerce Product Collection, Term Query blocks, and even in template files. Icon separator – A tiny block just like the core/separator block but with the ability to add an icon. Breadcrumb Block – A simple breadcrumb trail block that supports JSON-LD structured data and is compatible with WooCommerce. Block Enhancements – Adds practical features to blocks like icons, box shadows, transforms, etc. Counting Number Block – A block to display numbers with a counting effect Better YouTube Embed Block – A block to solve the performance issue with embedded YouTube videos. It can also embed multiple videos and playlists. The plugin is developed using @wordpress/create-block.