221 posts
  • Has been part of the Envato Community for over 4 years
  • Located in United Kingdom
  • Has sold $1,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+2 more
NuclearThemes
says

Adding custom post types to a plugin isn’t much different to a theme.

I’m working on this at the moment.

One suggestion I do have for people is to use the plugin activation and deactivation hooks to flush the rewrite rules.

46 posts
  • Has been part of the Envato Community for over 3 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+2 more
MonkeeThemes
says

Here’s a great plugin to bundle all your theme functionalities like CPT, taxonomies, metaboxes, shortcodes and widgets, thought I’d share.

https://github.com/billerickson/Core-Functionality
212 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
  • Has sold $500,000+ on Envato Market
+6 more
Cubell
says

Yeah, I created a plugin soon after the requirements were announced. It gives extra steps for users to do upon installation/update but it really is for the better.

I just wish authors would stop using custom post types. The problems they cause completely outweigh the 1 or 2 positives, which means they all eventually end up causing the buyers (and authors of other themes) a lot of unnecessary headaches.

1554 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+2 more
OriginalEXE
says

I just wish authors would stop using custom post types.

?? Custom Post Types is (one of) the best thing that happened to WordPress and you advise against using it?

3801 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Had an item that was trending
  • Has been part of the Envato Community for over 7 years
+12 more
KrownThemes
says


I just wish authors would stop using custom post types.
?? Custom Post Types is (one of) the best thing that happened to WordPress and you advise against using it?

Yeah! Let’s all go back to creating blog themes and forget about incredibly awesome portfolios! :D

4459 posts ThemeForest Reviewer
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+14 more
Ivor
Envato team
says

Hey guys,

Remember to prefix everything in your plugins (variables, functions and classes).

Relevant article: http://nacin.com/2010/05/11/in-wordpress-prefix-everything/

by
by
by
by
by
by