Home › Forums › General Issues › Different fields on category/sub-category › Reply To: Different fields on category/sub-category
Hello
How you could create a rule valid for all post belonging to a subcategory of a main category?
I mean, if I have a structure like this:
– Category 1
– Sub-category 1-1
– Post 1-1-1
– Post 1-1-2
– Sub-category 1-2
– Post 1-2-1
– Post 1-2-2
– Post 1-2-3
– Category 2
– Sub-category 2-1
– Post 2-1-1
– Post 2-1-2
– Sub-category 2-2
– Post 2-2-1
– Post 2-2-2
– Post 2-2-3
I want the post in category 1 have some fields, and the post of Category 2 given different fields
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.