• Hello, is there a way to get a taxonomy slug and then use that as part of an option name to get a value?

    I’m trying something like this:
    [for each=retailer current=true][pass each slug][field {slug}_url option=true][/pass][/for]

    In this case “{slug}_url” would use the taxonomy slug for part of the option I want to grab. So, if the retailer slug were “acme” I would be trying to get the option “acme_url.”

    Thank you

Viewing 1 replies (of 1 total)
  • [for each=retailer current=true]
    [set this_var][each slug][/set]
    [pass vars]
    [field {THIS_VAR}_url option=true]
    [/pass]
    [/for]

    • This reply was modified 3 years, 4 months ago by polarracing.
Viewing 1 replies (of 1 total)
  • The topic ‘Use Taxonomy Slug as Part of Option Field Name’ is closed to new replies.