Tag: Custom Post Types
How to Create Hierarchical Custom Post Types in WordPress
Large, collaboratively-created systems almost always contain pitfalls: misleading bits that don’t work the way they should. When someone thinks of these pitfall-prone systems, the English language, with all its/it’s inconsistencies, often comes to his/her/his or her/their/there/they’re mind.
How to Submit WordPress Posts from the Frontend
You might want add new posts without having to log into the WordPress dashboard, or maybe allow your visitors a way to submit content of their own. You can do it. Figuring out how to submit a post from the front end is straightforward. In this article, we’ll cover a few ways you can create a new post form and save its results into a real, live WordPress post.
How to Change WordPress Post Types with Post Type Switcher
From time to time, you’ll need to change the post type of one or more of your WordPress posts. One common need is to change a Post to a Page, when you realize a piece of previously published content is more “evergreen” than “blog.” You could create a new Page, cut-paste the Post’s content and title, and delete the Post—but doesn’t it make more sense to just change the one thing that’s the actual problem, which is the Post’s post type?
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.
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.