Skip to content

Add support for more search form fields in Instant Results#4292

Draft
burhandodhy wants to merge 6 commits intodevelopfrom
fix/2978
Draft

Add support for more search form fields in Instant Results#4292
burhandodhy wants to merge 6 commits intodevelopfrom
fix/2978

Conversation

@burhandodhy
Copy link
Copy Markdown
Contributor

@burhandodhy burhandodhy commented Feb 23, 2026

Description of the Change

This PR adds support for more search form fields when opening Instant Results from a submitted form. Values are picked up automatically when their field names match one of these rules:

  • Explicit map (filterable): The field name is mapped to an Instant Results arg via the ep.instantResults.queryVarMap filter.
  • Direct schema match: The field name matches a key in the Instant Results args schema (e.g. post_type).
  • Taxonomy pattern: The field name matches a taxonomy slug and resolves to a tax-{taxonomy} arg that exists in the schema.

Closes #2978

How to test the Change

Changelog Entry

Added - Add support for more search form fields in Instant Results

Credits

Props @burhandodhy @JakePT

Checklist:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support more search form fields in Instant Results

1 participant