In Drupal you have the GUI to create whatever type you want. How about in WP, do I still have to code to create one?
-
2Drupal is beautiful on the inside, ugly on the outside. WP is the other way around :)– onetrickponyJul 2, 2011 at 20:03
2 Answers
Even though there are plugins to register Custom Post Types in WordPress, this is not the way it should be done.
According to core developer Andrew Nacin, Custom Post Types should be implemented (in code) not registered (by clicks).
This makes them more managable and easier to improve and further develop or hack. Also, code versioning is the way it goes.
Not necessarily, you can use the Custom Post Type UI plugin to create one with a GUI. If it doesn't have to be an actual custom post type, you could also use PODS, which achieves a similar result using a custom object type.
-
2PODS doesn't use native custom post types, but has it's own "content types".– scribuJul 2, 2011 at 20:29
-
@Ian, Not necessarily what? Custom Post Type UI uses database to register CPT which is the same way Drupal does, which is wrong. CPT UI has lately a beta feature that gives you the code to paste instead though. (According to plugin page), which is great– BanagoJul 3, 2011 at 15:40
-
He asked if he had to write code to create a custom post type; that's what the "not necessarily" was in response to. You don't necessarily have to write code, you can also use a plugin to do it for you.– Ian DunnJul 3, 2011 at 16:05
-