PHPackages                             yeswedev/custom-content-manager - 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. yeswedev/custom-content-manager

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

yeswedev/custom-content-manager
===============================

Define and register Custom Post Types, Blocks, and their ACF fields

1.0.0(1y ago)019PHP

Since Dec 4Pushed 1y agoCompare

[ Source](https://github.com/yeswedev-team/ywd-custom-content-manager)[ Packagist](https://packagist.org/packages/yeswedev/custom-content-manager)[ RSS](/packages/yeswedev-custom-content-manager/feed)WikiDiscussions main Synced 1mo ago

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

YesWeDev Custom Content Manager
===============================

[](#yeswedev-custom-content-manager)

**Version:** 1.0.0 **Author:** YesWeDev

Description
-----------

[](#description)

The **YesWeDev Custom Content Manager** plugin provides a foundation for creating and managing **Custom Post Types**, **Taxonomies**, and their associated **ACF fields** in WordPress. It includes examples to quickly set up a new Custom Post Type or Taxonomy with minimal effort, and supports adding custom options pages using ACF.

---

Features
--------

[](#features)

- **Custom Post Types**: Define and register custom post types.
- **Custom Taxonomies**: Create and associate taxonomies with custom post types.
- **ACF Integration**: Add custom fields to post types and taxonomies using the [Advanced Custom Fields (ACF)](https://www.advancedcustomfields.com/) plugin.
- **Options Pages**: Create options pages for custom post types.

---

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

[](#installation)

1. **Plugins Dependencies**: You will need the following plugins : advanced-custom-fields-pro, acf-cpt-options-page and vinkla/extended-acf.
2. **Composer Dependencies**: Run `composer install` to ensure all necessary dependencies are installed.
3. **Upload**: Place the plugin folder in the `plugins` directory of your WordPress installation.
4. **Activate**: Activate the plugin from the WordPress admin dashboard under **Plugins**.

---

File Structure
--------------

[](#file-structure)

### Main Plugin File

[](#main-plugin-file)

- **`ywd-custom-content-manager.php`**: Entry point for the plugin. Handles the registration of post types and taxonomies.

### Core Classes

[](#core-classes)

- **`SingletonInit.php`**: Abstract class implementing the singleton pattern for reusable components.
- **`CustomTaxonomy.php`**: Abstract class for defining reusable taxonomy functionality.
- **`CustomPostType.php`**: Abstract class for defining reusable post type functionality.

### Examples

[](#examples)

- **`src/PostTypes/ExamplePostType.php`**: Example of a custom post type named "Example".
- **`src/Taxonomies/ExampleTaxonomy.php`**: Example of a taxonomy named "Example Category" associated with the "Example" post type.

---

Usage
-----

[](#usage)

### 1. Adding a Custom Post Type

[](#1-adding-a-custom-post-type)

To add a custom post type:

1. Create a new class in the `PostTypes` directory, extending `CustomPostType`.
2. Define constants like `SLUG`, `TAXONOMIES`, and override methods such as `getSingularName()`, `getPluralName()`, and `getACFFields()`.

### 2. Adding a Custom Taxonomy

[](#2-adding-a-custom-taxonomy)

To add a custom taxonomy:

1. Create a new class in the `Taxonomies` directory, extending `CustomTaxonomy`.
2. Define constants like `TAXONOMY` and `SLUG`, and override methods such as `getSingularName()` and `getPluralName()`.

### 3. Associating Taxonomies with Post Types

[](#3-associating-taxonomies-with-post-types)

To associate a taxonomy with a custom post type, define the taxonomy in the `TAXONOMIES` constant of the post type class.

---

Extending Functionality
-----------------------

[](#extending-functionality)

### ACF Fields

[](#acf-fields)

- Fields can be added to both post types and taxonomies using ACF's field registration. Use the `getACFFields()` method in the custom post type or taxonomy class to define the fields.

### Options Pages

[](#options-pages)

- To enable an options page for a post type, override the `hasOptions()` method to return `true` and define the fields with `getOptionsACFFields()`.

---

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

[](#dependencies)

- **WordPress**
- **Composer**
- **Advanced Custom Fields (ACF)**: plugin
- **ACF CPT Options Pages**: plugin
- **Extend ACF**: composer package

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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

530d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/27958703?v=4)[Yes We Dev](/maintainers/yeswedev)[@yeswedev](https://github.com/yeswedev)

---

Top Contributors

[![Glenou](https://avatars.githubusercontent.com/u/22178650?v=4)](https://github.com/Glenou "Glenou (1 commits)")[![tdywd](https://avatars.githubusercontent.com/u/110615278?v=4)](https://github.com/tdywd "tdywd (1 commits)")

### Embed Badge

![Health badge](/badges/yeswedev-custom-content-manager/health.svg)

```
[![Health](https://phpackages.com/badges/yeswedev-custom-content-manager/health.svg)](https://phpackages.com/packages/yeswedev-custom-content-manager)
```

###  Alternatives

[botman/driver-amazon-alexa

Amazon Alexa driver for BotMan

156.9k2](/packages/botman-driver-amazon-alexa)

PHPackages © 2026

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