Implementing an admin GUI for your WordPress plugin, the boring part…

Implementing an admin GUI for your WordPress plugin, the boring part…

Hooking into WordPress’s actions and filters, writing callbacks to do magical stuff is a fascinating experience. Writing an admin settings GUI for a plugin has always been more boring for me, than writing the plugin itself. In this post, I will publish some code snippets from a plugin that I have written in the past (Toolbar Login Button),  and using as a boilerplate for some other plugins. Read more
Easily updating IP lists for server & firewall configurations

Easily updating IP lists for server & firewall configurations

If you are using Cloudflare (or any other CDN), Nginx, Apache or any other web server configuration should be updated with the IP range of CDN to ensure server logs and rate limiting configurations work correctly. CDN’s IP range must also be whitelisted on local firewall to bypass firewall limitations. Updating the blacklist of local firewall with a public bogon IP list is also a good idea for many servers, even without a CDN. Read more