PHPackages                             frozzare/wp-content-menu - 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. [Admin Panels](/categories/admin)
4. /
5. frozzare/wp-content-menu

ActiveWordpress-plugin[Admin Panels](/categories/admin)

frozzare/wp-content-menu
========================

Adds a content menu to WordPress admin

v1.0.4(9y ago)81.3kMITPHPPHP ^5.6 || ^7.0

Since Nov 25Pushed 6y ago1 watchersCompare

[ Source](https://github.com/wpup/content-menu)[ Packagist](https://packagist.org/packages/frozzare/wp-content-menu)[ Docs](https://github.com/frozzare/wp-content-menu)[ RSS](/packages/frozzare-wp-content-menu/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

Content menu
============

[](#content-menu)

[![Build Status](https://camo.githubusercontent.com/2429b3e56ad806dfdd5469295d0f8400ee3ef2e75304413a7515ed3b445e8850/68747470733a2f2f7472617669732d63692e6f72672f777075702f636f6e74656e742d6d656e752e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/wpup/content-menu)[![No Maintenance Intended](https://camo.githubusercontent.com/d904056147052e22d8e1c7f46bb50293ed2aeb4c43ead9a2d0cf7a48b46d0562/687474703a2f2f756e6d61696e7461696e65642e746563682f62616467652e737667)](http://unmaintained.tech/)

Adds a content menu to WordPress admin where all your post types that are used for content can live, when doing this the post type configured to use content menu will be removed from the admin menu and if you have a lot of post types you will see a more clean admin menu than before.

Both `post` and `page` will be moved to content menu by default and can be unmoved by `content_menu_post_types` filter.

Content menu will only have submenu items when a post type is selected so you can see and use the submenu items for that post types, as you can see in the second screenshot.

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

[](#installation)

```
composer require frozzare/wp-content-menu
```

Usage
-----

[](#usage)

To move your post types into content menu you can set `content_menu` to `true` in `register_post_type` or use `content_menu_post_types` filter.

```
// With `register_post_type`
register_post_type( 'book', [
  'content_menu' => true
] );

// With the filter.
add_filter( 'content_menu_post_types', function ( $post_types ) {
  return ['page', 'post', 'book']
} );
```

You can modify `Add New Book` label by `content_menu_add_new_item_label` filter.

```
add_filter( 'content_menu_add_new_item_label', function ( $label ) {
  return 'Add New';
} );
```

Disable content menu for users:

```
add_filter( 'content_menu_user_allowed', function ( $allowed, $user ) {
  return false;
}, 10, 2 );
```

Screenshots
-----------

[](#screenshots)

[![](https://cloud.githubusercontent.com/assets/14610/20240391/4ab1f8d0-a917-11e6-9994-616924b94f53.png)](https://cloud.githubusercontent.com/assets/14610/20240391/4ab1f8d0-a917-11e6-9994-616924b94f53.png)

[![](https://cloud.githubusercontent.com/assets/14610/20256173/0ce9c790-aa42-11e6-818e-8348862a252d.png)](https://cloud.githubusercontent.com/assets/14610/20256173/0ce9c790-aa42-11e6-818e-8348862a252d.png)

Contributing
------------

[](#contributing)

Everyone is welcome to contribute with patches, bug-fixes and new features.

License
-------

[](#license)

MIT © [Fredrik Forsmo](https://github.com/frozzare)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 97.5% 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 ~20 days

Total

5

Last Release

3371d ago

### Community

Maintainers

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

---

Top Contributors

[![frozzare](https://avatars.githubusercontent.com/u/14610?v=4)](https://github.com/frozzare "frozzare (39 commits)")[![nlemoine](https://avatars.githubusercontent.com/u/2526939?v=4)](https://github.com/nlemoine "nlemoine (1 commits)")

---

Tags

adminmenuwordpresswordpress-pluginpluginwordpresscontentmenuadmin

### Embed Badge

![Health badge](/badges/frozzare-wp-content-menu/health.svg)

```
[![Health](https://phpackages.com/badges/frozzare-wp-content-menu/health.svg)](https://phpackages.com/packages/frozzare-wp-content-menu)
```

###  Alternatives

[alleyinteractive/wordpress-fieldmanager

A library to build forms and admin screens for WordPress

556689.7k1](/packages/alleyinteractive-wordpress-fieldmanager)[upstatement/jigsaw

Provides an easy API for developers to tweak the admin options of a WordPress install

1563.3k](/packages/upstatement-jigsaw)[wecodemore/current-admin-info

Displays info about the current admin screen and its globals, contextual hooks, etc.

852.7k](/packages/wecodemore-current-admin-info)

PHPackages © 2026

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