I think that your main problem is that you are trying to display the results with searchform.php. That is basically just the form for the search, which you don’t need since you have your own form in the sidebar (if I understand you correctly).
The results of a WP search are displayed with “search.php“
Related Posts:
- Using meta query (‘meta_query’) with a search query (‘s’)
- Including custom fields in search?
- Add custom fields to search
- Custom search: by post data and post metadata?
- Need small coding with Custom Fields Search
- Search ONLY by meta key / meta values
- Filter results with custom field values and dropdown
- Add custom field (value) to search result (without plugin)
- Is there a way to do multiple ordering on a multiple meta_query?
- searching in custom meta field
- WordPress Search Custom Meta Field Only
- Exclude custom post type from search by custom field value?
- Extend ‘The Events Calendar’ search to include custom fields [closed]
- Include woocommerce custom field value in front-end search result
- Including Database Generated Pages in Site Search [closed]
- Adding Custom Fields to Search
- sort search results by custom fields using dropdown
- Using a checklist to search against metadata
- How do I use wp_query for WordPress search?
- Custom Fields Not in Search Results
- How make a custom search on backend in WordPress without plugin?
- filtering custom post types via meta data drop down
- Advanced search by two criteria – sort by location and date (ascending or descending)
- How do I have WP_Query match posts based on search parameter OR meta fields? (rather than search parameters AND meta fields)?
- Advanced search for meta fields
- Merge Multiple Custom Fields into one New Custom Field for Searching
- How to populate custom field dropdown box based on prior selection?
- Search in Archive Pages by subcategory, tag, custom field and year
- Custom WP_Query for WordPress Search Results with meta_query
- filter custom field values $min $max
- Restrict WordPress Search to Custom Field
- How can you include custom post meta in search without calling each key?
- Include one custom field in search results
- Custom search SQL Query to add custom field in result
- Search Results Page – Displaying Custom Meta Fields
- Custom field Search with Relavanssi
- How to exclude custom fields from search queries?
- How to show content of custom fields in search results?
- Searching with Multiple (Parallel) Criteria on Custom Fields?
- Need to search a custom field (ingredients, one long string per post), but want it to allow phrases/non-exact matches
- Type character in name and make it invisble
- Search & column order by meta value in admin
- search based on custom field
- Very large list of options for BuddyPress profile fields
- searching by keywords in post’s metas or pagination links problem
- Search fails when using the radio buttons
- Admin – Search Events by a custom field
- Search one custom field?
- Create custom query for search?
- Query postmeta values, and return multiple post_titles for common meta value
- Query Custom Fields in Searchform
- Help sorting by Meta Key value
- How to display search query as formatted text?
- Search for meta_query does not return any result if combined with title
- Is there a way to set default custom fields when creating a post?
- Development of a WordPress Search Plugin – Best Practices
- Show only posts which can be commented OR have custom meta field
- How do I make a custom field choose an image?
- get_post_meta() unserialize issue – returns boolean(false)
- How can I remove fields in the attachment editor?
- Edit Custom Database Tables in WordPress
- Gutenberg Custom Block
- Change content before writing to database
- post meta data clearing on autosave
- Query Problem – Show posts within category ‘x’ that have a custom field between ‘y’ and ‘z’
- Add description text under input field for new profile fields
- How to add content at the end of posts?
- Get all posts that do not have a specific custom field without using a subquery
- How to query posts with certain custom meta data, and output Post data
- Store array as single, serialized post meta field or many post meta fields?
- Get an advanced custom field after post publish
- Categorising search results based on Custom Fields
- Pull custom fields from custom posts within a loop
- Ordering posts by custom field named “date” in backend
- How to display custom fields from a plugin
- Adding “meta” info to WP site PHP function?
- WordPress Media Uploader custom Javascript not working
- Custom fields issue [closed]
- List custom queried terms in the edit-tags.php?taxonomy page
- Front end register with custom fields
- Display custom field from the front page on another page
- No result update a custom field using wp_schedule_event
- Display custom widget value in header.php
- Gravity Forms Update post meta from template [closed]
- wpdb function insert doesn’t work
- Adding Custom Metadata to my Archive/Posts page
- Categories In English version showing not canonical URL, instead shows query search result
- Ordering by ACF custom field vaule
- add different custom fields value to post class if permalink or index
- User Filter Options on Archive Page
- Create Shortcode shows only posts with custom_field meta
- Login_form add to top of form rather then bottom
- Can’t save meta field value if the title not set
- Get a different meta value with ajax when different elements are clicked
- Delete custom fields on post publish?
- How do you turn a custom field’s value into a permalink for that post?
- Using Hooks. Thematic
- Custom field for image, not showing image!
- How to include custom fields in wordpress search
- Extend search query to search meta keys values based on search string