Hello everyone,
I’m facing an issue with displaying a field group within a custom post type I’ve created, and I’d appreciate some assistance.
Here’s what I’ve done so far:
- I created a custom post type called “Products.”
- Within “Products,” I’ve added three products – X, Y, and Z.
- I created a new field group named “X Product Fields” with the intention of showing these fields exclusively in the “X” product.
To make this happen, I set the location rules on the field group as follows: “Show this field group if Post is equal to X.” (See attached)
However, when I open the “X” product, I can’t see the fields (see attached). Surprisingly, if I change the location rules to “Show this field group if Post Type is equal to Product,” the field group appears. But this isn’t what I want. I need post-specific field groups.
Any help or guidance would be greatly appreciated. Thank you!
https://ibb.co/Z1PfMkW
https://ibb.co/rxHq7bq
I just tested this and it works as expected.
Do you have any other location rules set?