• Resolved olofiano

    (@olofiano)


    Hi, first I must say thanks for this really great plugin! It has saved me from many hours of work.

    Now to the question:
    Im setting up a page that shows all of my clients resellers based on which city/area they are in. For this I use the select-field (dropdown), where the client can add which city the new reseller is in. Now really to the question. Is there a way to loop out all of the options in that select-field so I can use them as hyperlinks to show the resellers? I need this to be done even if there is no post with one of the options attached to it.

    For example:
    Reseller A is located in PComputer City
    Reseller B is located in The Big Apple

    The select-field holds:
    PComputer City
    The Big Apple
    Stockholm

    So, what i need is to get all three options out of the selection, even though theres no post/attachment to Stockholm. This might be supersimple but I havn’t found any solution without digging in to the core. Any ideas?

    https://www.ads-software.com/extend/plugins/advanced-custom-fields/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Advanced Custom Fields] How to loop all options in a select field?’ is closed to new replies.