Using several different custom fields?
-
I have a list of speakers that I want to display sorted by date. To do this, I have created two custom fields (event-date and year). When I use this shortcode everything works fine –
[catlist name=”speaker” order=asc customfield_orderby=event-date]
producing a single, sorted list from most recent to future.
But what I really want is to be able to use multiple shortcodes that filter based on the “year” custom field, producing something like –
2014
speaker1
speaker22015
speaker3
speaker42016
etc.When I try to add the filtering statements to this shortcode, nothing works.
[catlist name=”speaker” order=asc customfield_orderby=event-date
customfield_name=”year” customfield_value=2014]Is there a way to get what I want?
The topic ‘Using several different custom fields?’ is closed to new replies.