Remove posts in Custom Search Result

Open
#4,245 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@faisalahammad is already working on this.

Since Jun 21, 2026.

  • #4327 by @faisalahammad — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
php, wordpress
Domain
search

Research direction

Start by locating the Custom Search Result implementation and the existing controls for adding or reordering posts and pages. Add a removal control for individual records, and verify that a record can be removed without deleting and recreating the whole custom search result.

Written by the indexing model from the issue text.

Description

enhancement module:custom-search-results

Custom Search Result is a very nice feature within this plugin.

But at the moment you can only add posts or pages to a custom search result. You can not remove them out of the custom search result.

The only solution is to remove the whole custom search result and add it again with the correct posts or pages.

Can you add a button to remove records added to custom search results? Maybe a trashbin icon or a x near the icon to reorder the records?

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct
  • I agree to follow this project's Code of Conduct
Dominant language
PHP
Stars
1.3k
Forks
325
Avg merge
2d 11h
Merged PRs (30d)
24

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from 10up/ElasticPress

All issues in 10up/ElasticPress

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.