PHPackages                             wpfulcrum/post-type - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. wpfulcrum/post-type

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wpfulcrum/post-type
===================

Fulcrum Post Type Module - custom post types made easy.

3.0.1(8y ago)011MITPHPPHP ^5.6|^7

Since Dec 7Pushed 8y ago1 watchersCompare

[ Source](https://github.com/wpfulcrum/post-type)[ Packagist](https://packagist.org/packages/wpfulcrum/post-type)[ Docs](https://github.com/wpfulcrum/post-type)[ RSS](/packages/wpfulcrum-post-type/feed)WikiDiscussions develop Synced 3d ago

READMEChangelogDependencies (8)Versions (4)Used By (0)

Post Type Module
================

[](#post-type-module)

[![Build Status](https://camo.githubusercontent.com/0f95f7dd802a5719d3dbec8b648e1618bb5992d6ceb7f924ae0c425e5a290dcf/68747470733a2f2f7472617669732d63692e6f72672f777066756c6372756d2f706f73742d747970652e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/wpfulcrum/post-type)[![Latest Stable Version](https://camo.githubusercontent.com/7a0bc5fd917612dbeab36e6e9b4d03b5282f3e1efaeec9a2ff3cbc3735d36b56/68747470733a2f2f706f7365722e707567782e6f72672f777066756c6372756d2f706f73742d747970652f762f737461626c65)](https://packagist.org/packages/wpfulcrum/post-type)[![License](https://camo.githubusercontent.com/c04afc34c8f70f608023d52b5c87e48c3947c575cc06e9142e8b2dd8574ba8e0/68747470733a2f2f706f7365722e707567782e6f72672f777066756c6372756d2f706f73742d747970652f6c6963656e7365)](https://packagist.org/packages/wpfulcrum/post-type)

The Fulcrum Custom Post Type Module makes your job easier for adding custom post types to your project. Pass it a configuration and it handles the rest for you.

Features
--------

[](#features)

- Registration is handled for you.
- Label generation - handy when you do not need internationalization.
- Supported features builder - handy when you want the supports that other plugins and/or the theme adds.
- Stores in Fulcrum's Container - when added, automatically stores it in the Container for global usage.
- Column filtering, sorting, and configuration are all handled for you.

Installation
------------

[](#installation)

The best way to use this component is through Composer:

```
composer require wpfulcrum/post-type

```

Dependencies
------------

[](#dependencies)

This module requires:

- at least PHP 5.6
- WordPress 4.8+

Configuring a Custom Post Type
------------------------------

[](#configuring-a-custom-post-type)

This module, as with all Fulcrum modules, is configuration driven as part of the ModularConfig design pattern. In your theme/plugin's configuration folder, you will want to create a configuration file. Here is the basic structure of that file:

```
