PHPackages                             wpbp/cpt\_columns - 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. wpbp/cpt\_columns

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

wpbp/cpt\_columns
=================

Improve the CPT list in the backend for your CPTs

1.0.3(2y ago)218.3k↑25%6GPL-3.0PHP

Since Jul 2Pushed 2y ago3 watchersCompare

[ Source](https://github.com/WPBP/CPT_Columns)[ Packagist](https://packagist.org/packages/wpbp/cpt_columns)[ Docs](https://github.com/WPBP/CPT_Columns)[ RSS](/packages/wpbp-cpt-columns/feed)WikiDiscussions master Synced 1mo ago

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

CPT Columns
===========

[](#cpt-columns)

[![License](https://camo.githubusercontent.com/1b0c7e4911720d0444c16a1ffd145a039f14a1a7305362ab51184f757a4dd6bc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c25323076332d626c75652e737667)](http://www.gnu.org/licenses/gpl-3.0)[![Downloads](https://camo.githubusercontent.com/de44aa0491b9e9241027297809549cb2054853aa4a9ceb3f2ba0c56dca67ae3a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f777062702f6370745f636f6c756d6e732e737667)](https://camo.githubusercontent.com/de44aa0491b9e9241027297809549cb2054853aa4a9ceb3f2ba0c56dca67ae3a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f777062702f6370745f636f6c756d6e732e737667)

Improve the CPT list in the backend for your CPTs

Install
-------

[](#install)

`composer require wpbp/cpt_columns:dev-master`

[composer-php52](https://github.com/composer-php52/composer-php52) supported.

Example
-------

[](#example)

```
$post_columns = new CPT_columns( 'demo' );
$post_columns->add_column( 'cmb2_field', array(
    'label' => __( 'CMB2 Field' ),
    'type' => 'post_meta', //text, thumbnail, post_meta, author, custom_tax, custom_value
    'meta_key' => '_demo_meta_text',
    'orderby' => 'meta_value', // For WP-Query
    'sortable' => true,
    'prefix' => '',
    'suffix' => '',
    'def' => 'Not defined', // Default value in case post meta not found
    'order' => '-1' // This is the last column
	)
);
```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 90% 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 ~868 days

Total

4

Last Release

1001d ago

### Community

Maintainers

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

---

Top Contributors

[![Mte90](https://avatars.githubusercontent.com/u/403283?v=4)](https://github.com/Mte90 "Mte90 (9 commits)")[![rubendelblanco](https://avatars.githubusercontent.com/u/4747756?v=4)](https://github.com/rubendelblanco "rubendelblanco (1 commits)")

---

Tags

wordpresswordpress-php-librarywordpresscustom-post-typepost

### Embed Badge

![Health badge](/badges/wpbp-cpt-columns/health.svg)

```
[![Health](https://phpackages.com/badges/wpbp-cpt-columns/health.svg)](https://phpackages.com/packages/wpbp-cpt-columns)
```

###  Alternatives

[webdevstudios/cmb2-attached-posts

Custom field for CMB2 for creating post relationships.

13565.5k](/packages/webdevstudios-cmb2-attached-posts)[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)
