Skip to content

Remove Filters from Instant Results #3954

@feliciaoctocog

Description

@feliciaoctocog

Describe the bug

We'd like to remove filters from the Instant Results. Currently, we can remove them with CSS, but the problem is the "Show More Options" still appears even though there are no more options.

Steps to Reproduce

  1. Go to Instant Results
  2. Add "Post Type" for filter
  3. No options exist to remove single or multiple post types. It will show All post types.

Screenshots, screen recording, code snippet

If removing via filters via CSS the 'Show More Options' button appears. See here: [(https://youtu.be/uN1IXzdFpEc)]
This indicates a better solution is necessary to remove these filters so they are not counted in the list to trigger the show more options button.

Environment information

No response

WordPress and ElasticPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions