I am trying to be able to search a particular custom post type on my blog. The custom post type is named: website_bookmarks
I have modified my search form with a hidden field
<input type="hidden" name="post_type" value="website_bookmarks" />
So on my search page in the URI I will see...
www.mydomain.com/?s=mysearchterm&post_type=website_bookmarks
The problem is it ONLY shows search results for my regular blog post and no results from my custom post type.
It should not be showing any results for my blog post and ONLY results for my custom post type website_bookmarks
Can someone help me? I can not figure out why it will not work and it will work on other people blogs simply by changing the search form to what I did above.