Home › Forums › General Issues › Open or Closed List? › Reply To: Open or Closed List?
I would suggest that you create a custom post type called “soccer fields”. Google custom Post type UI and you’ll find an easy to use plugin.
Then add a ACF field with a dropdown where the user can select either open or closed.
Then to output the soccer fields check out this: http://codex.wordpress.org/Class_Reference/WP_Query
and in the loop you can retrieve the open/close dropdown value using get_field or the_field and output along with any other info about the soccer field..
I’m afraid that’s the best I can do for you since this question is faaaar to general. However if you look into what I’ve given you and you are capable of doing a bit of coding you should be fine!
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 gives Rareloop greater control over the WordPress admin experience. See how in our case study. https://t.co/IFafQupmrl
— Advanced Custom Fields (@wp_acf) May 15, 2023
© 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.