Participants Database
Display image if field checked (2 posts)

  1. Sdarter
    Posted 1 year 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.


  2. xnau
    Plugin Author

    Posted 1 year 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;

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Participants Database
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic