How to Exclude Custom Post Type From Search

By: Prem Tiwari | Last Updated: | In: WordPress Snippets


This is very helpful code snippets to exclude the custom posts from WordPress search algorithm. If you are using custom post types on your WordPress sites and don’t want to display that post in your …