Hi @cannyboy:
There’s a plugin called Search Unleashed that gives lots of different functionality. One of my clients was using it and I was impressed with the control it gave. Not 100% sure it will give you what you need but it’s worth checking out.
If your blog only has post_types of “post” and you don’t use them for the rest of the site you could use @TerryMatula‘s suggestion but with $post_type
=> 'post'
instead, i.e.:
<input type="hidden" name="post_type" value="post" />
Related Posts:
- How do I represent ‘chunks’ of content within WordPress?
- Blog posts on one subdomain, pages on another
- How can I import users into WordPress?
- Stress testing WordPress
- Can I use wordpress for a non-blog site?
- Can I / Should I use WordPress as a CMS for my Flash application
- Using wordpress for a four-page website may be an overkill?
- Search form with Category and Sub Category
- WordPress product catalog site [closed]
- What are the advantages of WordPress over other systems?
- Putting main WordPress blog under a different folder name
- Is a complex site possible with WordPress?
- Convert link in WordPress 3.2.1
- WordPress for a business catalog site
- Why are wordpress posts not hierarchical?
- WordPress as a CMS – best way to decouple publishing/front-end
- Updating my wordpress CMS to 4.7 gives me a blank HTML area during the upgrade process
- Content management for static pages
- WordPress in Drupal
- Why does blog page not reveal it’s template?
- Is wordpress truly capable of anything other than blogging? [closed]
- Is wordpress a library with a default GUI?
- Editing Code for CMS *** Fixed – my own stupidity – I appologise and thank everyone for their help [closed]
- Show a different link based on IP
- Can I manage content of my custom site using wordpress?
- Get Drupal user into WordPress
- How do I add open graph tags? [closed]
- Can’t access Dashboard after WordPress 3.3 Update?
- Heterogeneous content on a page
- Multiple editable content on page
- Set a WordPress website’s language without affecting the back-end
- Can WordPress used as a CMS? [closed]
- Advanced search form with filters for custom taxonomies and custom fields
- how to limit search to post titles?
- Including custom fields in search?
- Do I need to sanitize WordPress search query?
- Have different search results template depending of custom post type searched
- Pods cms and “advanced custom fields” plugin
- Add custom parameters to JSON API search query?
- How to allow user to perform search by more than one tag
- how to hide specific post from google search
- Filter keywords from search query
- Does WP search natively return results sorted by type (post, post type, page, category…)?
- Set meta_query only for specific post type
- Sitelinks Search Box in Google and urlencoded search string
- SQL query to get adjacent posts from search query
- WordPress search issue with searching html tags
- Strange problems when I try to insert HTML\XML code snippet in my posts
- pagination hook doesn’t work with search results
- Add relevant tag to search results
- Search in Two Categories
- How to find exact match for search term in WP_Query? What is the additional string added in LIKE query in WP_Query?
- Use search in fancybox
- How to edit dashboard search posts button texts for my CPT?
- Admin search not working for any type of post
- Is there a way I can find wordpress posts that don’t contain a word?
- How can I remove the search window?
- WordPress Search Results for Multiple Post Types
- Search pages that are a child of the current page
- Search the product by tag or category not working
- Getting to a specific page on website using specific code instead of navigation bar
- Searching Custom Post Types
- Filter post_type thumbnail in Search result
- How to populate custom field dropdown box based on prior selection?
- How to import a Typo3 database to a wordpress site?
- Search form not finding content in template page
- How to implement search suggestions into search bar?
- WooCommerce search products between price range using WP_Query
- Modifying post content with the_post action hook
- Trying to remove plural ‘s’ from search Query but it’s just removing every letter of the end – what am I doing wrong? Thanks
- Blog search just returns to front page (not search results!)
- multi custom fields and taxonomy search
- WordPress Book Exchange Plugin Equivalent?
- How do you determine if a result in a search query is a post or a page?
- Search and Filter Plugin – How to disable redirection
- WordPress Search Form Issue | Misleading search URL. | Pointing to wrong URL
- WordPress Multi-Step Product Search
- Site Title in my Search URL
- Why does WordPress search returns same number of results for every search query?
- Prevent searches less than 4 characters
- search using multiple taxonomies and keyword
- Filter orders by modify date
- Search only one custom post type
- How to Create a Learning Management Plugin in WordPress to Manage Courses [LMS]
- Changable favicon
- Where to find child themes?
- How might I go about using the API to search for a user by email, but ensuring that it is an exact match?
- Include images from pages in wp search.php results in default wp search
- search for single meta_key with numeric array of meta values
- Display result of custom form
- Custom Search not working
- Get custom wp_query search results to appear on search.php
- Error when searching without any results
- Listing parent section in search results
- wordpress Search function is not working
- How to strip/remove all blank spaces at the beginning/end of a search string
- How make Autocomplete with wp_query in post_type attachment
- Filtering product search results using tags
- Sort Search Results in Order of/by Character @ count (9) of post(s) title. (Ocean-WP theme)
- WordPress Search – Reject partial matches