I am building a shop directory. I have set up a checkbox-type custom field for Shop Type (choices are: brick and mortar or internet; either or both could be chosen) and a select-type custom field for Shipping (choices are: domestic only, limited international, worldwide). I want to display the results after the shop’s title as icons rather than text. And for Shipping, a globe would be displayed if worldwide was selected, otherwise there’d be no image.
I understand how to output a series of values using Get Custom Field Values, but displaying an image based on these criteria has me stumped. I’m open to the possibility of using different custom fields to make this easier. Is this just something that’s beyond this plugin?
I presume you’re already comfortable modifying your template file to utilize one of the Get Custom Field Values functions?
The plugin can certainly do what you’re requesting.
Here’s an example of how to display a globe icon if a post has a custom field “Shipping” with a value of “worldwide”. If any other shipping value is present for the post, or no shipping is defined, nothing is shown.