PHPackages                             nsrosenqvist/cmb2-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. nsrosenqvist/cmb2-post-types

AbandonedArchivedWordpress-plugin

nsrosenqvist/cmb2-post-types
============================

1.0.0(7y ago)025MITPHPPHP &gt;=7.0.0

Since Jun 18Pushed 7y ago2 watchersCompare

[ Source](https://github.com/nsrosenqvist/cmb2-post-types)[ Packagist](https://packagist.org/packages/nsrosenqvist/cmb2-post-types)[ Docs](https://github.com/nsrosenqvist/cmb2-post-types)[ RSS](/packages/nsrosenqvist-cmb2-post-types/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

CMB2 Post Type Field
====================

[](#cmb2-post-type-field)

A multi-check field to select post types.

```
$list = new_cmb2_box(array(
    'id'            => 'list',
    'title'         => __('List', 'theme'),
));

$post_types = $list->add_field(array(
    'name' => __( 'Post Types Included In List', 'theme'),
    'id'   => 'post_types',
    'type'    => 'multicheck_post_type',
    'default' => ['page', 'post'],
));
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

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

Unknown

Total

1

Last Release

2885d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bc4837ce5eb1f32142e8aefef1d53e10ae638fcff864e1c7c67c1e5b2b496e85?d=identicon)[nsrosenqvist](/maintainers/nsrosenqvist)

---

Top Contributors

[![nsrosenqvist](https://avatars.githubusercontent.com/u/1303475?v=4)](https://github.com/nsrosenqvist "nsrosenqvist (1 commits)")

### Embed Badge

![Health badge](/badges/nsrosenqvist-cmb2-post-types/health.svg)

```
[![Health](https://phpackages.com/badges/nsrosenqvist-cmb2-post-types/health.svg)](https://phpackages.com/packages/nsrosenqvist-cmb2-post-types)
```

###  Alternatives

[rankmath/seo-by-rank-math

Rank Math is the most powerful way to get BEST WordPress SEO tools added to your website.

1252.0k](/packages/rankmath-seo-by-rank-math)

PHPackages © 2026

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