contact

BLOG

(English) Custom Post Types in WordPress

  • 2016/02/01/
  • ワードプレス
Dummy

On the first age of WordPress people just using it as for blogs default wordpress page and post however over the past years wordpress has evolved into more flexible content management system (CMS) now we can create our own custom post type. In this article we will teach you how to create custom post type using a plugin called Custom Post Type UI.

First install and activate the plugin. Then go to the CPT UI menu

CPT admin menu

On the form you need to fill up first your custom post type name then so on

CPT add post type

when you install the latest plugin you will see there’s a note for users who will use the plugin for the first time here are the notes I just copied it.

Starter Notes

  1. Post Type names should have max 20 characters, and only contain alphanumeric, lowercase characters, underscores in place of spaces and letters that do not have accents. Reserved names: post, page, attachment, revision, nav_menu_item.
  2. If you are unfamiliar with the advanced post type settings, just fill in the Post Type Name and Label fields. Remaining settings will use default values. Labels, if left blank, will be automatically created based on the post type name. Hover over the question mark for more details.
  3. Deleting custom post types will NOT delete any content into the database or added to those post types. You can easily recreate your post types and the content will still exist.

after you fill up all the forms now you can click Add Post Type button that’s all.

FACEBOOK
TWITTER
RSS
TOP