Title: Display Custom Fields On Directory
Last modified: August 30, 2016

---

# Display Custom Fields On Directory

 *  [thedert](https://wordpress.org/support/users/thedert/)
 * (@thedert)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/display-custom-fields-on-directory/)
 * We have a member directory for teachers and I need to be able to display the 
   school and school district on the member directory. How is this done?
 * [https://wordpress.org/plugins/s2member/](https://wordpress.org/plugins/s2member/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Cristián Lávaque](https://wordpress.org/support/users/anguz/)
 * (@anguz)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/display-custom-fields-on-directory/#post-6702124)
 * You can use the show_fields attribute in the s2Member-List shortcode.
 * > **show_fields** Optional, defaults to “” (an empty string, i.e., no fields).
   > This is one of the most useful shortcode attributes. You can build a list of
   > fields for each user. For instance, if you have Custom Registration/Profile
   > Fields configured with s2Member you can provide a comma-delimited list of unique
   > Field IDs here. If the user has a value for that field it will be displayed
   > in the final output. e.g., show_fields=”user_login,user_registered,custom_field_id”.
   > The list of field IDs can include anything compatible with s2Member’s get_user_field()
   > function.
 * See the documentation here for more details: [https://s2member.com/kb-article/s2member-list-shortcode-documentation/](https://s2member.com/kb-article/s2member-list-shortcode-documentation/)
 * The s2Member-List shortcode is an [s2Member Pro](http://s2memberpro.com) feature.
 * Or are you talking about a directory generated some other way? In that case you’d
   need to edit it to add the column for that field, and then you can use get_user_field
   to populate it. See: [http://s2member.com/kb-article/s2get-shortcode-documentation/](http://s2member.com/kb-article/s2get-shortcode-documentation/)
 * I hope that helps. 🙂
 * [Cristián](http://s2member.net)
 *  Thread Starter [thedert](https://wordpress.org/support/users/thedert/)
 * (@thedert)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/display-custom-fields-on-directory/#post-6702143)
 * Thanks for the reply. I do have Pro.
 * I have a page that displays:
    [s2Member-List/]
 * Currently it only shows avatar and users first/last. Trying to get it to display
   certain fields filled out during reg.
 *  Thread Starter [thedert](https://wordpress.org/support/users/thedert/)
 * (@thedert)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/display-custom-fields-on-directory/#post-6702145)
 * Ah NM found the answer! Thank you for pointing me in right direction!
 *  [Cristián Lávaque](https://wordpress.org/support/users/anguz/)
 * (@anguz)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/display-custom-fields-on-directory/#post-6702203)
 * Glad I could help! 😀
 * I started a new community forum that I’ll be in daily, more often than here, 
   so next time you need help, feel free to start a topic there and I’ll do what
   I can to assist. 🙂
 * [http://s2member.net/forum](http://s2member.net/forum)
 * Cristián

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Display Custom Fields On Directory’ is closed to new replies.

 * ![](https://ps.w.org/s2member/assets/icon-256x256.png?rev=980067)
 * [s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions](https://wordpress.org/plugins/s2member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/s2member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/s2member/)
 * [Active Topics](https://wordpress.org/support/plugin/s2member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/s2member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/s2member/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Cristián Lávaque](https://wordpress.org/support/users/anguz/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/display-custom-fields-on-directory/#post-6702203)
 * Status: not resolved