Heres a little WordPress snippet that allows you to exclude current WordPress post from the WP Query - i.e. list of recent posts, more posts from the same category, etc.
Custom post types are not included in the WordPress search results by default - this snippet allows specific custom post types to be queried and searched by WordPress.
This WordPress snippet will automatically include all public post types, that have not been excluded from searches in your search results.
This snippet will allow you to control which WordPress posts or pages there should be excluded from WordPress search results.
Heres a little nifty snippet that will show the number of queries made and the page load time.
This snippet will show you how to extend the WordPress search function to include custom post meta.