WordPress.org

Ready to get started?Download WordPress

Forums

Participants Database
Display image if field checked (2 posts)

  1. Sdarter
    Member
    Posted 7 months ago #

    I want to display membership logos for participants who belong to certain groups. This can be multiple fields (one for each group) or a group of check boxes that list possible groups. Either way, when the membership is checked, I want the front end display to show the logo image. I have already added the logos to my themes images folder.

    This would display on the single page, not the list.

    http://wordpress.org/plugins/participants-database/

  2. xnau
    Member
    Plugin Author

    Posted 7 months ago #

    This is a job for a custom template, and a little knowledge of PHP. I've got instructions for setting up a simple custom template here: http://xnau.com/work-2/wordpress-plugins/participants-database/pdb-templates/

    This explains how to alter the value of a field. All you need to do is use the incoming value to determine which image to show, then replace the value with your icon HTML;

Reply

You must log in to post.

About this Plugin

About this Topic