How to include all public post types in WordPress search

Snippets WordPress
Please Rate this ..

This snippet will automatically include all public post types (that have not been excluded from searches), in your search results.

Instructions
Add this to your functions.php file

1
Leave a Reply

avatar
0 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
0 Comment authors
Recent comment authors
  Subscribe  
newest oldest most voted
Notify of