Contributors: macbookandrew
Tags: search form, post type, custom post type
Donate link: https://cash.me/$AndrewRMinionDesign
Requires at least: 2.7.0
Tested up to: 4.8.3
Stable tag: 1.0.0
License: GPL2
Adds a shortcode for displaying post type-specific search forms
Adds a shortcode for displaying search forms including only a specified post type.
[post_type_search_form post_type="your_post_type_here"]
will display a search form for only posts of the your_post_type_here
type (modify as necessary). If you don’t know the post type key, go to the WordPress backend and add a new post of that type; look in the address bar for post_type=…
and use that in the shortcode.
- Install the plugin
- Add the shortcode where you want the search form to be shown
- First stable version