WordPress.org

Ready to get started?Download WordPress

Forums

Magic Fields 2
if/else when displaying groups? (1 post)

  1. Kahil
    Member
    Posted 2 years ago #

    What would be the proper code for doing an if/else statement when displaying a group? I have tried several variations, but none seem to work.

    Here's what I would like to do...

    In a group I have, which can be duplicated, a radio button list. I would like to make the group array display only those that have one of the two radio button choices. In this case if the "Unpaid" radio button is set. If the "Paid" radio is set, then it won't display.

    Ideally, I would like to also have the section title show only if there is something marked "Unpaid" and not show when there is nothing marked "Unpaid". So far I haven't found a way to display the group's label name either, so I am just doing it manually.

    Hope that makes sense. Thanks in advance!

    http://wordpress.org/extend/plugins/magic-fields-2/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic