Title: Using several different custom fields?
Last modified: August 22, 2016

---

# Using several different custom fields?

 *  [msummers](https://wordpress.org/support/users/msummers/)
 * (@msummers)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/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 speaker2
 * 2015
    speaker3 speaker4
 * 2016
    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?
 * [https://wordpress.org/plugins/list-category-posts/](https://wordpress.org/plugins/list-category-posts/)

The topic ‘Using several different custom fields?’ is closed to new replies.

 * ![](https://ps.w.org/list-category-posts/assets/icon-256x256.png?rev=2517221)
 * [List category posts](https://wordpress.org/plugins/list-category-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/list-category-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/list-category-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/list-category-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/list-category-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/list-category-posts/reviews/)

## Tags

 * [custom fields](https://wordpress.org/support/topic-tag/custom-fields/)
 * [display](https://wordpress.org/support/topic-tag/display/)

 * 0 replies
 * 1 participant
 * Last reply from: [msummers](https://wordpress.org/support/users/msummers/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/using-several-different-custom-fields/)
 * Status: not resolved