WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. webmoxie
    Member
    Posted 1 year 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?

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

  2. xnau
    Member
    Plugin Author

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

About this Topic

Tags

No tags yet.