PHPackages                             sb2-media/simple-custom-post-types - 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. sb2-media/simple-custom-post-types

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

sb2-media/simple-custom-post-types
==================================

Simple Wordpress plugin for registering custom post types via a configuration file.

1.0.3(7y ago)08GPL-2.0+PHPPHP ^7.0

Since Mar 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/sbarry50/simple-custom-post-types)[ Packagist](https://packagist.org/packages/sb2-media/simple-custom-post-types)[ Docs](https://github.com/sbarry50/simple-custom-post-types)[ RSS](/packages/sb2-media-simple-custom-post-types/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (5)Used By (0)

Simple Custom Post Types
========================

[](#simple-custom-post-types)

Just a simple plugin for registering custom post types in WordPress via a configuration file.

Usage
-----

[](#usage)

Add custom post types to the array in `/config/config.php`.

```
    'example' => [
        'label'       => __('Example', 'text_domain'),
        'description' => __('Example Description', 'text_domain'),
        'labels'      => [
            'name'               => _x('Examples', 'post type general name', 'simple-cpts'),
            'singular_name'      => _x('Example', 'post type singular name', 'simple-cpts'),
            'menu_name'          => _x('Examples', 'admin menu', 'simple-cpts'),
            'name_admin_bar'     => _x('Example', 'add new on admin bar', 'simple-cpts'),
            'add_new'            => _x('Add New', 'example', 'simple-cpts'),
            'add_new_item'       => __('Add New Example', 'simple-cpts'),
            'new_item'           => __('New Example', 'simple-cpts'),
            'edit_item'          => __('Edit Example', 'simple-cpts'),
            'view_item'          => __('View Example', 'simple-cpts'),
            'all_items'          => __('All Examples', 'simple-cpts'),
            'search_items'       => __('Search Examples', 'simple-cpts'),
            'parent_item_colon'  => __('Parent Examples:', 'simple-cpts'),
            'not_found'          => __('No examples found.', 'simple-cpts'),
            'not_found_in_trash' => __('No examples found in Trash.', 'simple-cpts')
        ],
        'supports'            => ['title', 'editor', 'author', 'thumbnail', 'excerpt', 'comments'],
        'taxonomies'          => ['category', 'post_tag'],
        'public'              => true,
        'show_in_menu'        => true,
        'has_archive'         => false,
        'show_in_rest'        => true,
        'show_in_graphql'     => true, // If using WPGraphQL Plugin
        'graphql_single_name' => 'Example', // If using WPGraphQL Plugin
        'graphql_plural_name' => 'Examples', // If using WPGraphQL Plugin
    ],

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

2622d ago

PHP version history (2 changes)v1.0.0PHP ^7.2

v1.0.1PHP ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/9eda7317b3b7a29e364324303cbea0817792c757d7c9a419d30ca85d7245de1f?d=identicon)[sbarry50](/maintainers/sbarry50)

---

Top Contributors

[![sbarry50](https://avatars.githubusercontent.com/u/3768680?v=4)](https://github.com/sbarry50 "sbarry50 (12 commits)")

---

Tags

pluginwordpress

### Embed Badge

![Health badge](/badges/sb2-media-simple-custom-post-types/health.svg)

```
[![Health](https://phpackages.com/badges/sb2-media-simple-custom-post-types/health.svg)](https://phpackages.com/packages/sb2-media-simple-custom-post-types)
```

###  Alternatives

[afragen/git-updater

A plugin to automatically update GitHub, Bitbucket, GitLab, or Gitea hosted plugins, themes, and language packs.

3.3k1.6k](/packages/afragen-git-updater)[webdevstudios/cmb2-attached-posts

Custom field for CMB2 for creating post relationships.

13565.5k](/packages/webdevstudios-cmb2-attached-posts)[appsero/client

Appsero Client

25431.7k9](/packages/appsero-client)[boxybird/inertia-wordpress

The WordPress adapter for Inertia.js

1827.4k](/packages/boxybird-inertia-wordpress)[iceicetimmy/acf-post-type-selector

Post type selector for Advanced Custom Fields.

559.0k](/packages/iceicetimmy-acf-post-type-selector)[alexis-magina/cmb2-field-post-search-ajax

CMB2 field type to attach posts to each others. Search with Ajax.

3913.4k1](/packages/alexis-magina-cmb2-field-post-search-ajax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
