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

Jofran Lirio dos Santos
Jofran Lirio dos Santos
4,393 Points

custom post type

What's the better choice: write my custom post type in my functions.php or use plugins to do that? Do I lose performance use plugins for this?

2 Answers

Sue Dough
Sue Dough
35,800 Points

It really depends on what you are building. I recommend not using extra plugins if your trying to build a high performance applications with lots of users and activity. However if you are building a small site with little traffic it does not matter really. You can use a plugin called p3 to check for plugin performance. You can take a look at the following if you are interested in coding your own custom post type.

http://codex.wordpress.org/Post_Types http://www.wpbeginner.com/wp-tutorials/how-to-create-custom-post-types-in-wordpress/

Gareth Borcherds
Gareth Borcherds
9,372 Points

Personally I feel that good plugins don't cause that much of a performance failure. If you get a good plugin you should be fine and it's easier. My rule of thumb is use a plugin updated regularly that doesn't have a huge amount of extra fluff and you'll be fine.

Jofran Lirio dos Santos
Jofran Lirio dos Santos
4,393 Points

In video, Zac use Custom Post Type UI. What plugin to make custom post type do you use?