[wp-meta] [Making WordPress.org] #561: Allowing filtering of speakers by track

Making WordPress.org noreply at wordpress.org
Tue Jul 15 08:39:20 UTC 2014

#561: Allowing filtering of speakers by track
Reporter:  hlashbrooke  |      Owner:
    Type:  enhancement  |     Status:  new
Priority:  normal       |  Component:  wordcamp.org
Keywords:  has-patch    |
 As discussed with Ian Dunn over email.

 Currently the `[speakers]` shortcode shows all the published speakers. It
 would be helpful if you could filter them by track so that, for example,
 you can display your regular session speakers in a different
 format/location to your workshop instructors.

 My solution adds a new meta field to the `wcb_speaker` post type called
 `_wcpt_speaker_tracks`. This is processed and added to all speakers
 whenever a session is saved. I have then modified the `[speakers]`
 shortcode to allow for a `track` parameter that accepts a comma-separated
 list of track slugs so only speakers in those tracks are displayed. The
 parameter defaults to `all`. In addition, I have added each track slug as
 class to each `.wcorg-speaker` div so each track's speakers can be styled

Ticket URL: <https://meta.trac.wordpress.org/ticket/561>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org

More information about the wp-meta mailing list