Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress

Dave Meier
Dave Meier
8,063 Points

WordPress Theme Customizer API

I've been diving into the excellent WordPress Theme Customizer that's available since version 3.4 and am switching from the regular theme options to this approach for a new project I'm launching. https://codex.wordpress.org/Theme_Customization_API

The fact that people can update text, colours, etc and see changes in real time on their site before even saving the changes is brilliant. It's also so much easier than building a theme options section using the WordPress Settings API.

Just wondering if anyone has started using it and how they've found it.

4 Answers

I have no experience with it yet, but thanks for pointing me in that direction. Definitely something to consider when developing themes and seeking to increase seamless integration while saving kilobytes.

I'd be interested to hear pros and cons as well :)

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Hi Dave,

I've been looking into this a little and found these two resources helpful:

Hope that helps! Would love to see what you come up with :)

Dave Meier
Dave Meier
8,063 Points

Thanks Zac,

Have used both resources and they're brilliant.

I'm currently working on a large new project using Multisite and Theme Customizer. Hope to have some updates on how I've implemented it soon.

One thing I've found with using the customizer on multisite themes is you will need to create a child theme so that each site's settings don't overwrite each other.

Also have a look at this http://abandon.ie/exploring-wordpress-theme-customizer/