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

WordPress

Jonathan Seligsohn
Jonathan Seligsohn
23,116 Points

Customizable WordPress Marketing Site

I'm building a custom WordPress theme/site for a client with a landing page/ homepage that is similar to your typical marketing site. For example, see here: http://themeforest.net/item/flexland/full_screen_preview/5732682 Specifically it will have a few sections, each highlighting a different area of the company, for example "Services", "Clients", "Products", etc.

Any suggestions how to make the homepage easily editable by the client? For example, they want to add a new product (title, picture, description) to the "Products" section, or to add a new client logo to the list (in the "Clients" section), or to edit any of the sections.

I'm thinking I can do this with widgets (but that would seem like a lot of widgets) or through a custom post type. Maybe there's another way (perhaps through the Theme Customizer?).

Any recommendations or advice would be appreciated.

Jacobus Hindson
Jacobus Hindson
14,429 Points

Hi Ezra,

Personally I would use custom post types for the various requirements and then display these post types in the appropriate section of the page. It is much easier to teach a client to use a "Testimonial" or "Client" side bar listing to add information to the site.

That takes care of the customers input, then all you need do is setup the widgets to display the "post types" around the page.

Hope that helps.

2 Answers

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Agreed that leveraging the admin area and custom post types would be easiest. You can look into some front-end editor plugins if you want as well.

Jonathan Seligsohn
Jonathan Seligsohn
23,116 Points

Thanks. Can you elaborate on the front-end editor plugins?

Jacobus Hindson
Jacobus Hindson
14,429 Points

Glad we are on the same page Zac.

I will add that many of the Drag and Drop theme providers - Elegant, Headway, Themify etc provide the more commonly requested post types, such as Features, Portfolio, Testimonials, Services etc. as standard offerings.

Jonathan Seligsohn
Jonathan Seligsohn
23,116 Points

That's good to know. I'll look into it.