The 7 Things I Know About Cyber Security After 25 Years | April 2024
Extending WordPress. Making use of Custom Post Types
1. Extending WordPress. Making
use of Custom Post Types
Utsav Singh @Rathour
@codepixelzmedia
http://codepixelz.com
2. What is Custom Post Type?
• A Custom Type is a Post Type you define.
• Makes managing new content easier with
already existing format for Post types.
• They can represent any type of content you
want.
3. Inbuilt Default Post Types
• There are some post types that are pre-
defined, and they have been available since
2005. But have been in use widely since
WordPress 3.0 was introduced.
• Defatult Post Types:
Posts, Pages, Revisions, Attachments, Menu
Items
4. Why use CPT?
• Because just the feature that are bundled into
WP that we see on the Dashboard does not
make WP a complete CMS.
• It helps in managing contents in a better way.
12. Garnish using Custom Meta Box
• You can also add different attributes to your
newly created CPT by creating Custom Meta
Box that intake the values such as Price,
Weight, and so on….