Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search and Query blocks: Add support for Default queries via pre_get_posts filter #67289

Draft
wants to merge 1 commit into
base: feature/search-query-using-vars-filter
Choose a base branch
from

Conversation

michalczaplinski
Copy link
Contributor

@michalczaplinski michalczaplinski commented Nov 26, 2024

What?

This adds support for Default queries via pre_get_posts filter.

Why?

The PRs currently exploring the Instant Search (63147, 67013, 67181) do not implement it.

How?

The Default queries use the ?instant-search=<search-term> URL search param.

@michalczaplinski michalczaplinski added [Block] Search Affects the Search Block - used to display a search field [Type] Experimental Experimental feature or API. [Feature] Interactivity API API to add frontend interactivity to blocks. labels Nov 26, 2024
@michalczaplinski michalczaplinski changed the title Search and Query blocks: Add support for Deafaul search queries via pre_get_posts filter Search and Query blocks: Add support for Default queries via pre_get_posts filter Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Search Affects the Search Block - used to display a search field [Feature] Interactivity API API to add frontend interactivity to blocks. [Type] Experimental Experimental feature or API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant