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

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!