Stop Spamming In WordPress Comments & SignUp Forms

1. Install Akismet Learn More about akismet 2. Use HONEYPOT TO STOP SPAMBOT -> Install this plugin: WP Spam Fighter -> Now Enable honeypot 3. Use a reCAPTCHA plugin Google Captcha 4. Disbale Website url from comment form 5. Disable HTML in comments -> add this code in functions.php -> Or just install this plugin: […]

Frequently Used WordPress Theme Codes

1. Blog/Post Title 1.1. Custom Logo 2. Blog/Post Content   3. Blog/Post Featured Image 4. Blog/Post Publish Date 5. Template Directory 6. Blog/Post Link 6.1. Blog/Post Page Link/URL 7. Check If Number Is Even 8. Blog Page Link 9. Single Blog Condition 10. Blog/post author name 10.1. Blog/post Author Description 10.2. Blog/post Author Avatar 11. […]

Modify Main Query In WP

Following code represents hide a particular post from the main query on Homepage. All we have to do is just add the POST ID. In this case, it is 99. We have to add this code in functions.php file *** Hide all posts of a particular tag. If you want to hide all posts of […]

WP_QUERY According To Post Format

Code Example: Show Post where post format ‘Audio’ & Video ***Code Example: Show Post where post format is not ‘Audio’ & Video