Featured Articles

black and brown industrial machine

WordPress

Gutenberg block for adding AdSense ads

Vibe coding WordPress plugins: I used Google Gemini to create a Gutenberg block for inserting Google AdSense ads into posts. One automatically after the more tag and add where you want them to appear


Latest articles

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

WordPress core-, plugin- and theme updates sometimes fail because of enabled opcode caches in PHP. 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 🙂

WordPress

Last updated:

Disable WordPress comments (how-to)

With thousands spam reactions, disabling (and removing) WordPress comments is often the only way to go. Here is how to disable WordPress comments in both the WordPress Dashboard interface and in your MySQL / MariaDB database.