Featured Articles

black and brown industrial machine

WordPress

Gutenberg block for adding AdSense ads

A Gutenberg block for inserting Google AdSense ads into posts. Vibe coding WordPress plugins: I used Google Gemini to create a WordPress Block Editor block which inserts an Adsense ad automatically after the more tag. And wherever you want an advertisement to appear. Sweet! (-:


Latest articles
wpcount registered users at a glance dashboard

WordPress

Last updated:

Count and display number of WordPress users in your Dashboard

Show the number of registered WordPress users in a At-a-Glance widget. This is particular handy as an indicator of compromise (IoC), when a hacker has registered numerous new users in your WordPress database for spam purposes.

WordPress

Last updated:

Disallow direct access to PHP files in wp-content/uploads/

Securing the WordPress uploads folder is important. In many hacked WordPress sites, a PHP backdoor is found within the WP_CONTENT_DIR/uploads directory. Often because this is the location where uploads are placed automatically. From the backdoor within wp-content/uploads other backdoors are uploaded to various locations, and scripts are injected with malware.

WordPress

Last updated:

Delete spam comments after three (3) days

How to change Akismet interval to three days instead of 15 days for deleting spam comments using the akismet_delete_comment_interval filter.

Anime Dude with Retro-futuristic Jetpack Soaring Above Neon-lit Cityscape

WordPress

Last updated:

Remove Jetpack email sharing service

Remove Jetpack email sharing service using WordPress plugin or theme functions.php file. It’s often abused by spammers

WordPress

Last updated:

Check WordPress Core files integrity

Check WordPress integrity and verify WordPress Core files’ md5 checksums against WordPress’ checksums API, using this standalone PHP file.

WordPress

Last updated:

Clear PHP opcode caches before WordPress Updates: ease the updating process

Clear PHP opcode caches before WordPress core-, plugin- and theme updates are applied, easing the updating process. Popular PHP opcode caches are OPcache, WinCache and APC. This little WordPress Must Use Plugin tries to flush opcode caches, making your live a bit easier when updating WordPress Core, Plugins and Themes.

silver pocket watch at 10 00

WordPress

Last updated:

Measure WordPress loading time and queries

How to measure WordPress loading time and executed database queries? During an HTTP request, WordPress executes a lot of queries on your MySQL database. Not just the database queries take time, also loading and executing PHP takes time.

WordPress

Last updated:

My WordPress web.config

A web.config file for WordPress on Windows Server IIS. Are you having trouble with your web.config? Here is mine 🙂