WordPress Plugin Development – Custom Post Types & Taxonomies Tutorial
Category: WordPress Tutorials
In this video I cover WordPress Plugin Development Custom Post Types & Taxonomies. We will code a custom WordPress Plugin so we can create Custom Post Types & Taxonomies so we can extend the functionality of WordPress.
When creating a Custom Post Type and Taxonomy, it’s best practice to create a plugin for this vs placing the code in your themes functions file.
WordPress Theme Development Video:
WordPress Database Video:
Custom Post Types are great when you want to create a website for selling products, real estate listings or any type of content that doesn’t quite fit with pages or posts.
WordPress can hold and display many different types of content. A single item of such a content is generally called a post, although post is also a specific post type. Internally, all the post types are stored in the same place, in the wp_posts database table, but are differentiated by a column called post_type.
Custom post types are new post types you can create. A custom post type can be added to WordPress via the register_post_type() function. This function allows you to define a new post type by its labels, supported features, availability and other specifics.
Taxonomy is one of those words that most people never hear or use. Basically, a taxonomy is a way to group things together.
For example, I might have a bunch of different types of animals. I can group them together according to various characteristics and then assign those groups names. This is something most people encounter in biology classes, and it is known as the Linnaean Taxonomy.
In WordPress, a “taxonomy” is a grouping mechanism for some posts (or links or custom post types).
A WordPress Plugin is the way to go when adding functionality that should not be in a WordPress Theme file.
#wordpress #wordpressplugins #wordpressdevelopment