Participants Database
[resolved] Adding classes to individual values for fields (2 posts)

  1. webmoxie
    Posted 2 years ago #

    I'm using fields with values, like the dropdown and multiselect checkbox fields. I was wondering if there is a way to assign classes to these individual values. For instance, if my values are:

    first, second, third

    Is there a way I can do something like;

    <div class="first">first</div>, <div class="second">second</div>, <div class="third">third</div>

    So I can use those classes to call specific css, depending on what values are they displayed in the list?


  2. xnau
    Plugin Author

    Posted 2 years ago #

    This is easily accomplished using a custom template to format your data. I have a page that will help you do that here: http://xnau.com/work-2/wordpress-plugins/participants-database/pdb-templates/

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic


No tags yet.