This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Custom Post Type Introductions

Description

Custom Post Type Introductions adds a new “Introduction” menu under all publicly viewable custom post types on your site. Here you can set a title and intro text to display on your post type archive.

This functionality is currently missing from WordPress and the only workaround I’ve found is to create a page to hold the data. My idea with this is to keep everything under the most logical menus for the best user experience.

Usage

Once installed, a new link will appear under all publicly visible custom post types, entitle Introduction. Here you can enter a title and introduction.

To show the title or content in your theme, you can either use the shortcode on a page:

[post_type_intro field="title" posttype="your_posttype"]

The options are:

  • field: title/content
  • posttype: your_posttype

Alternatively, you can use the shortcode directly in a template:

<?php echo do_shortcode('[post_type_intro field="title" posttype="your_posttype"]'); ?>

The best place to use this is in your archive-your_posttype.php file.

Installation

  1. Upload the custom-post-type-introductions folder to the /wp-content/plugins/ directory, or install via Plugins > Add New > Upload and upload the custom-post-type-introductions.zip file.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Reviews

Simple, Clean, Useful, Wow.

I am building a website where I thought it would be good to add introductory text on my Custom Post Type Pages to introduce the content. The only way I found to do it was to actually create a page and then pull in the post-type records. Messy. This works so easily and keeps it native to WordPress functionality. Even supports a title to the text if you want of need it. I added it into my archive.php page via the do_shortcode method. Note: I added the ‘posttype’ attribute value dynamically via querying the post type slug and now it automatically works for all custom post types (I have 5). I would have easily paid for this plugin. Worth it.

Simple solution

Allows you to keep using archive-posttype.php template files the way the hierarchy intends them to be used, without wedging in queries to Pages that don’t belong really there, or other workarounds.

Read all 5 reviews

Contributors & Developers

“Custom Post Type Introductions” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

v1.0.1

  • Swapped constructors round to remove strict waring.

v1.0.0

  • Initial Release