If you use something like as you suggest why is that cheap and ugly? it saves you from having to rebuild a whole search mechanism, and dealing with the template hierarchy. and as you say it’s sharing html on the search page. Go for it!
Related Posts:
- AJAX search on post pages by custom post type
- How to make a WP_Query search with custom post types?
- Search multiple custom fields by using meta_query
- Search Custom Post Type with all meta attached?
- How Do I Use WP_Query to Run This Database Query as Search Result?
- Search tags in CPTs
- Including Custom Meta with posts_where query
- Including metaboxes from custom post types in global search — continued
- Advanced search form with filters for custom taxonomies
- Custom filter for main search: how to exclude specific post_type from search results
- how to get this tax_query working?
- Select2 AJAX and WP Query Returns ALL and does not filter
- find custom post type post by searching its custom field with my string
- Searching post types
- Change search query in wordpress custom post type
- Search Function not searching correct custom_post_type even though post_type is defined in search args
- post_type incorrect for custom post type
- Live search by custom tag
- Create Second Search Page Only for Custom Post Type
- Conditional posts in WP_query for search
- Manually build WP_Query
- WP_Query with custom post type search showing all results every time
- Custom post type blog pagination conflict
- Why does ‘exclude_from_search’ exclude a custom post type from WP_Query?
- Searching Custom Posts content with JQuery
- Custom post archive with search, is_search() is false?
- Advanced search form with filters for custom taxonomies and custom fields
- Have different search results template depending of custom post type searched
- category__in not working on custom post type
- Displaying Posts Related to Other Posts by a Taxonomy Term?
- Separating Search Results By Post Type
- How to query for posts (in hierarchical custom post type) that have children?
- Set default option in dropdown of WP_Query?
- Is there An Input Checkbox Option That Works like `wp_dropdown_categories()` To Use In A WP Search Form?
- Should unaltered default loop/query return a list of custom posts belonging to a custom taxonomy?
- WP_Query pagination using only numbers instead of /page/1 on URL
- Query for posts in 2 taxonomies
- How do I create an archive page for standard posts?
- CPT Search Form with Taxonomy filter & Or
- Multiple post type queries (with specific arguments for each)
- Custom WP_Query not returning results when querying custom post type
- Custom Post Type Loop within Shortcode
- Combining sorted and random CPT
- How to add post_type=value when editing that post type in the WordPress admin?
- Display CPT posts based on specific taxonomy
- Filtering WP_Query Dynamically on the Front-End
- Why get_posts() not returning only selected category posts from Custom Post Type?
- Include custom post type content in search
- search suggest – filter post type
- Prioritize posts in query by meta keys?
- Possible to filter custom post type with multiple meta data?
- WordPress search and date filter not working with custom post type
- Loop increase number
- Is This Code Efficient – Or is there a better way?
- Inefficient Query Confusion
- Display an icon based on post type
- wordpress lists similar type of posts in a custom post type
- FacetWP paging custom wp_query
- Cannot get custom posts by category
- What is the correct term for a tool that filters content based on metadata?
- Shortcode with WP_Query more than once on one page
- Can’t change posts per page in WordPress Post Type Query
- Creating a Tabbed Widget
- list posts of two post types in a single template
- CPT, meta-data, url parameter
- Using WP meta query to show custom post types by a start and finish date
- How do I list a custom field and custom taxonomies for each result in a loop?
- Find Posts based on Child Post value
- Sort custom posts by date and then by taxonomy
- Query custom post type that has a serialized relational advanced custom field value
- Display related CPT with custom taxonomy
- build child and anchestor three from post parent
- How can I query and sort custom-post type using WP_Query
- Custom query result empty on page 2
- WordPress doesn’t respect Page slug in custom post type url pagination. Keeps getting removed
- Output all terms slugs for a loop filter
- WP_query sort by taxonomy
- Custom Archive – hide posts until a search is made?
- Linking posts together with Advanced Custom Fields “both ways”
- Not able to get my custom search result using meta_query and tax_query together?
- Multiple WordPress Sites, Same Database but Filtered Content
- Display result as “prefix+ID” and show in the search result as bookcode
- Custom Field as Custom Post type element class
- Display posts on parent post if author coincides
- How to get Current week and current date record wp query
- Error in WP Query. If variable is empty it is displaying previous post value
- Custom Post Search
- WP_Query function for custom post type
- How to pass taxonomy terms to WP_Query along with $args?
- Modify shortcode to work with custom taxonomies and slugs
- Query posts from multiple post types sorted by overarching menu order
- Custom Taxonomy Query by Taxonomny not working
- Custom Post Type meta oembed html output resulting in WSoD
- WP Query Post Type with same Taxonomy name
- shortcode for recent custom type post
- next_posts_link returns same content of 1st page
- Get images only from a certain post type
- querying to custom field over ACF REST API
- WP Query + custom fields: How to query event posts from the current date backwards 6 months and organize it month by month?
- How do I get parameters from the URL?