Home › Forums › Add-ons › Options Page › Field or Variable for use in Group Location › Reply To: Field or Variable for use in Group Location
I was just using an example, if I create an options page with one drop down select field called ‘postcats’ which would store the id of the category the user selects.
The location of the field group would then be set to display only on the category id.
But you’re saying it can’t be done that way, correct?
I’m not seeing how a custom location rule would get something like that done, since it seems the location rules are based on already set choices, terms, cats, etc. I’m not seeing anything here http://www.advancedcustomfields.com/resources/tutorials/custom-location-rules/ that would hint otherwise.
Im developing something as a plugin to go into sites where i want the custom fields to populate on a specific type of post category, but what one user calls that category might be different than another, hence the reason i want to give them the option to choose which category gets the custom field functionality.
Appreciate your quick response though.
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!
📣 “ACF Chat Fridays”
— Advanced Custom Fields (@wp_acf) January 31, 2023
The ACF team holds their first open office hours this Friday! Come and talk ACF, and ask questions about building sites with the plugin.
We’d love to see you there!
📆 Friday 3rd Feb - 3pm UTC
👉 Register here - https://t.co/3UtvQbE4CU pic.twitter.com/oTwW9K1XQ0
© 2023 Advanced Custom Fields.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.