Tag: Custom Post Types
Why and How To Use Custom Post Types in WordPress
WordPress sites are great at holding content. Got some words and pictures you want to show the world? WordPress is a great tool for that job. Probably the best. But by default it only has two types of content: Posts and Pages. These are great, by many people have many other types of content: client testimonials, documentation of a project, past projects listings and more. Posts and Pages can be made to house these sorts of items, but there’s a better option: WordPress custom post types.
How to Change the Post Type of a Piece of Content
One of the best features of WordPress is that it’s easy to make powerful post types (content types) purpose-built for different display and related needs. One of the unfortunate things is that the editing experince is so similar accross those post types that it’s easy to accidently create a “Post” when you meant to make a “Quick Guide”. But you don’t need to resort to elaborate copy-and-pasting to remedy that problem. There’s a plugin for exactly that purpose: Post Type Switcher.
Post Type Templates in 4.7
This caught my attention: in WordPress 4.7, all post types will finally be able to have the page templates feature that was previously only available on (the) pages (post type). You’ll just have to add an extra line to the top of the relevant template file that specifies the post types you want it to display. Pascal Birchler explains:
Course: Clarifying Technical Terms with Multiple Meanings in WordPress
This course works to straighten out the many meanings of several key technical terms.
How to Add Existing Taxonomies to WordPress Custom Post Types
This article covers how to add existing taxonomies to a custom post type, and how to make that custom post type show up in those taxonomies’ archive pages.
Submit WordPress Posts From The Frontend
If you’re looking to add new posts without having to log into the WordPress dashboard, or maybe to allow your visitors a way to submit some kind of content of their own, then here’s a way you can create a new post form and display it on a custom page template.