• Hi

    I’m using Themer and Metabox for a CPT. I know how to conditionally display a field in a Themer layout, but that’s just for whether or not there is any value in a given field.

    I have a radio field with 5 options. The user chooses a value before submitting the form. Each number corresponds to a Star Rating.

    I am asking if the conditional shortcodes can add an additional value to check for a specific answer (1-5) to then display the corresponding number of stars on the front-end.

    Is this possible?

    Something like this maybe?

    [wpbb if post:meta_box field=’test_rating’]

    [wpbb if post:meta_box field=’test_rating’ value=’3′]

    [/wpbb]

    The page I need help with: [log in to see the link]

  • The topic ‘Conditions for variable field values’ is closed to new replies.