Search WordPress Posts By Custom Term Name (Category/Tag/Any Taxonomy)

Copy this code to your theme’s functions.php and it will return posts in search result also by their category/tag name.

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: