Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


How do I add a section to WordPress which people can contribute to?


I was wondering, how can I add a section to a WordPress Web site so that people can contribute posts to?

Basically I am setting up a site so that travel writers and event managers within a particular city can write in to let people know what's going on in that city.

I would also like to be able to approve posts to monitor quality and relevance.

Any advice would be so gratefully appreciated!

Kind regards, Michael

Robert Mehew
Robert Mehew
2,427 Points

Advanced Custom Fields has a function called acf_form which displays a front end form for users to fill out.

Mini Tutorial http://www.advancedcustomfields.com/resources/create-a-front-end-form/

Docs http://www.advancedcustomfields.com/resources/acf_form/

Also in the new_post parameter of the acf_form() function you can specify post_status, so you can set it as a draft which you review and check is ok to be published to your site.

It might be worth experimenting with that and seeing what results you get :)

Good luck.

2 Answers

Greg Kaleka
Greg Kaleka
39,021 Points

Disclaimer: this may not be exactly what you want.

Depending upon how many contributors you expect to have, it might be easiest to approve certain people as contributors. This would allow them to log in and write posts. You would be able to approve and publish the posts. It wouldn't be a separate section, but rather their posts would show up inline with any that you published yourself on your blog.

Thanks so much guys.

I was thinking to kind of create a community of writers within a given city so that particular contributors could add their upcoming events to the site. I wouldn't want people making comments particularly ... more about curating quality content relating to events for that city in particular ... so I think going to contributors is the main drive.

I would however like to give people the chance to join the site and be able to e-mail them about the various posts added by the contributors.

I guess all of this is therefore just part of the normal posts process anyway? Would I need to turn off the 'let everyone contribute' setting and therefore that would mean anyone could write in, but I would need approve them first?

Many thanks, Mike