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

Bonnie Martin
Bonnie Martin
13,671 Points

Custom Post Types for Finalized Themes

In the WordPress Development tracks, Zac has us using two plugins (Custom Post Types UI and Custom Fields) in order to create custom post types.

That method seems to work fine, but what if we're making a theme that will be released to the general public, or maybe even added to the WordPress themes directory? Would those custom post types still work, or would the user of the theme have to install those plugins? If that's the case, it seems like a weird way to go about it because you don't see most themes also requesting that you install a series of plugins just to make the theme work.

I'm probably just not aware of something. Maybe there's a video with a finalization step that I haven't gotten to yet. If not, I'd love a quick tutorial on how to prepare the custom post types for public usage.

Overall, the WP Dev course is awesome and I've learned a ton from it!