Automatically Add ALT+TITLE to Images in the_content() output

This will automatically assign the ALT & TITLE attributes to <img> elements that miss those. The value will be the post title ( aka get_the_title() );  

Integrate With MailChimp API With This Simple PHP Code

Integrating your website with MailChimp is easily done with this code. You can connect it with any form that’s processed with PHP.

WordPress Error Log 3 Code Lines Alternative with PHP

Debugging WordPress error can be sometimes a tough mission. For that, we can use that simple code to create error log file in the website’s root. Paste this into your wp-config.php: Once an error is occurred, it will create the error log file named error_log.txt with a full report of that error. Warnings will also […]

How To Get The Real Visitor’s IP With PHP

The following function will return the visitor’s IP address: Usage: