AdvancedCustomFields / AdvancedCustomFields/acf
Feature request: Allow post type in field conditions
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 945
- Forks
- 197
- PR merge metrics
- No merged PRs in 30d
Description
Allow conditions to be defined as location rules for post type. it's often I want to create 1 rather than multiple new field groups. But I only want certain fields to show on specific post types. As of how ACF works right now this require display all for all post types or create multiple field groups.
Contributor guide
No contributing guide indexed for this repository
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, test, or entry point is named. Start by locating the existing field-group location-rule and post-type condition handling, then determine how one field group could express different post-type visibility; done means fields show only for the selected post types without requiring duplicate groups.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- content
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100