Request: exclude specific pages / posts
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 53
- Forks
- 38
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 1
Description
So we can already exclude certain fields, taxonomies, post types and user roles right now, which are all great options. One that I'm missing though:
Can we have a plugin setting, or a filter, to exclude specific posts / pages, from having the clone option?
I'd like to disable the cloning links for the home page and a few utility pages, by ID, to prevent them from being copied. I set up Wordpress for clients with only the options they need, as I'm sure many developers do, and this would help with that.
Hope you will consider this. If more information is needed, let me know.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by tracing the existing exclusion options for fields, taxonomies, post types, and user roles, then determine where clone links are generated. Done means providing a setting or filter that excludes selected post and page IDs, including the home page and utility pages, from those links.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100