I am doing a WordPress site for a school. One of the pages would have a list of 20 or so students, which would include their name, photo and small blurb.

How is this type of thing handled in Wordpress? I would like the user of the CMS to be able to manage this page effectively - adding/removing students etc.

I know Wordpress is being used in e-commerce sites, so people who run these site must be in the same situation on their pages of products.

Should I be using plugins? Custom fields?

thanks in advance


You could create a custom post type 'student', with post thumbnails for the images. The post title would be their name, post content would be the blurb. If the code scares you, there are plugins to assist.

Taxonomies are also available to you, which operate like categories and tags, but can be any set of attributes or means of grouping.

  • Hi Milo thanks for the reply, with regards to the custom post type solution... are you suggesting that each list item (i.e student) would be an individual post in WP, THEN, I would pull all those posts into on Page?
    – swisstony
    Apr 25 '11 at 9:45
  • @Jared- yes, exactly.
    – Milo
    Apr 25 '11 at 15:46

I would suggest you to go for something which is more obvious. Students as users, and store their info in usermeta.

Any user plugin or user related code will help you in managing users.

  • This would be the preferred method if you actually wanted to allow the students themselves to login (and possibly modify their usermeta). If the desire, however, is to have the owner handle all the content, however, I wouldn't recommend this method. Also, while extending usermeta is possible, it's a bit more difficult and far less open to customization that is the custom post type method...
    – somatic
    Apr 25 '11 at 18:51
  • @somatic As per my way, it will keep the possibility of providing them accounts at a later date in future and having them on the site doesn't mean you have to use the login functionality. Why did you say usermeta is difficult when a custom post type will use postmeta. There is not much difference in terms of efforts. That said, they can restrict the login, and even if allowed, then can restrict them to edit their meta. It makes more sense semantically and as a bonus, a lot of other plugins for users can be used.
    – Ashfame
    Apr 25 '11 at 19:56
  • In the context of a "controlled directory", semantically, one could argue it makes more sense to keep the "users" as only those who are allowed to login and manage the site (staff, editors, web admins, etc). This makes even more sense if the site is delivering content other than just the student listings (like a blog/news). The "student" (custom post type) is just a generic item (like the e-commerce analogy, as products).
    – somatic
    Apr 25 '11 at 20:38
  • As for customizing the user profile page vs. a custom post type, it's simply my experience that it's both easier and better documented. The user profile page and the usermeta itself is just not as flexible...
    – somatic
    Apr 25 '11 at 20:41
  • I believe it just boils down to personal preferences.
    – Ashfame
    Apr 25 '11 at 21:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.