Custom Post Types are new types of content that you can create for yourself, such as directory listings or how I manage child themes.
The great thing about these new types of content is that custom post types won’t appear in the blog’s regular RSS feed or on the blog index. You can keep them on a totally separate part of the site.
This tutorial is going to show you how to build your own custom post types and organize them with Headway Themes without the use of any premium plugins. Let’s get started!
How to Use Custom Post Types with Headway (Video Tutorial)
Step 1: Create Custom Post Types with the Custom Post Types UI Plugin
The first thing you need to do is install the free plugin Custom Post Types UI. This plugin makes it easy to create your own post types by just filling out a few form fields and hitting “save.”
Log into your WordPress administrative dashboard and scroll down until you see “custom post types” in the left-hand sidebar. Hover over this menu item, then click “add new.”
On this page, fill out all of the inputs and thenclick “advanced options”to reveal further options. Scroll down until you see “has archive” and select “true.”
Once all of that is done, click the “create custom post type” button.
Using Your Custom Post Type
Once the page reloads, you should see a new menu option in the WordPress sidebar appear under “comments.” From here, you can add new entries to your custom post type the same way you would add new blog posts or new pages.
Step 2: Setup the Custom Post Type Archive Page
Now that we have a custom post type created, let’s go ahead and setup the archive page for it. The “archive” page will be a list of all of the entries in a custom post type, paginated in the same way as the blog index. Again, check out my child themes page as an example.
Open up the headway visual editor in grid mode. In the layout selector (the left-hand sidebar), navigate to archives–>post-type–>your-post-type. Then click the “edit” button.
From here you can clone an existing layout or start with a completely new grid. If you’re stuck on what to do, just customize it like you would a blog index, but make sure that the content block is present and set to default mode.
Step 3: Setup the Custom Post Type Single Page
The last step is to setup how you want your custom post type content to appear. Open up the headway visual editor in grid mode and navigate to single–>your-post-type. Edit this template, and customize it to your liking. If you’re stuck, you can customize it like a single blog page, but make sure the content block is present and in default mode.
For an example of a customized single view, check out the headway schematic child theme page.
That’s it! You’re officially good to go as far as using custom post types. You can repeat this process to add any number of content types to your WordPress and Headway Powered website. If you have any questions, leave a comment below.