8Content
Posts represent the content of a site in WordPress. In other content management systems, posts are often called content. However, WordPress has a legacy of starting as a blogging system, so the terminology stuck. Content is what makes a website a website. It is the most important aspect of the site from the user's perspective because it is the thing that they are building.
Taxonomies in WordPress are a way to classify or categorize posts. Metadata is additional information about a specific post. By combining these two features with posts, you can create any type of website imaginable.
Throughout this chapter, you will work on building a single plugin that houses a user's book collection. The post types, metadata, and taxonomies covered in this chapter contribute to the overall plugin. Nearly every snippet of code provided in the chapter contributes to the plugin by providing a view of how the topics presented work together to manage content.
One important note when dealing with content is that posts, metadata, and taxonomies are typically controlled by themes on the frontend of the site. Depending on what you are building, you may not always have complete ...
Get Professional WordPress Plugin Development, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.