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 trialSolomon Scott
20,586 PointsIncluding Custom Post in selling WP themes
When you want to sell a WordPress theme, how do you include the custom post types and options in the zip file?
2 Answers
Colin Marshall
32,861 PointsYou would have to setup the custom post type manually in the theme's functions.php file. I'm pretty sure that the custom post type plugin gives you the exact code you can add to your functions.php file to add each custom post type without requiring the plugin.
Solomon Scott
20,586 PointsThanks so much!! This is perfect!
Colin Marshall
32,861 PointsYou're welcome!
Colin Marshall
32,861 PointsColin Marshall
32,861 PointsYou can see it here: