Wednesday, July 30, 2025

How to Display Your Club's Leadership (pdb_list)

Your members will benefit from knowing who the folks are that make your club work. Not just your officers, but also your board members and other people playing key roles.

Why use a spreadsheet or hard-coded page when you already have a database and an easy way to extract data and display it?

Here's an example:

The page consists of this shortcode: 

[pdb_list fields="member_name, club_roles, photo" list_limit="20" filter="club_roles!=" display_count="false" orderby="list_order"]

member_name: a string combine field that consists of the last name and first name fields separated by a space. You could also just use those two fields instead, but this is a free and easy way for a more casual presentation.

club_roles: a text-area field in which we enter the role(s) key members play in our club. We filter on this field being non-blank so we just get the members with data in it.

list-order: (optional) a text line field we use to get this list in our preferred display order using the letters A-Z. It is not displayed. So, for example, we enter A for the president, B for the vice-president, and so forth. If you use this, don't leave it blank for any records with club roles (they will sort to the top of the list which you probably don't want). And you can give people the same letter code when their relative position doesn't matter.