PHPackages                             wpessential/wpessential-sidebars - 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. wpessential/wpessential-sidebars

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

wpessential/wpessential-sidebars
================================

WPEssential Sidebars helping in registry of sidebars in WordPress.

2.0.2(1y ago)0271GPL-3.0-or-laterPHPPHP &gt;=7.4CI failing

Since Aug 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/wpessential/wpessential-sidebars)[ Packagist](https://packagist.org/packages/wpessential/wpessential-sidebars)[ RSS](/packages/wpessential-wpessential-sidebars/feed)WikiDiscussions main Synced 1mo ago

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

WPEssential Sidebars
====================

[](#wpessential-sidebars)

Help to register the sidebars in WordPress.

`composer require wpessential/wpessential-sidebars`

Add the single sidebar to WordPress registry

```
$sidebar = \WPEssential\Library\Sidebars::make();
$sidebar->add([
	'id'		=>'main-sidebar',
        'name'          => esc_html__( 'WPEssential: Main Sidebar', 'wpessential' ),
        'description'   => esc_html__( 'Widgets in this area will be shown on all posts and pages.', 'wpessential' ),
        'title_tag' 	=> 'h2'
]);
$sidebar->init();
```

Add the multiple sidebars to WordPress registry

```
$sidebar = \WPEssential\Library\Sidebars::make();
$sidebar->adds([
    	'main-sidebar'   => [
        'name'          => esc_html__( 'WPEssential: Main Sidebar', 'wpessential' ),
        'description'   => esc_html__( 'Widgets in this area will be shown on all posts and pages.', 'wpessential' ),
        'title_tag' 	=> 'h2'
    ]
]);
$sidebar->init();
```

Remove the single sidebar from WordPress registry

```
$sidebar = \WPEssential\Library\Sidebars::make();
$sidebar->remove('main-sidebar');
$sidebar->init();
```

Remove the multiple sidebars from WordPress registry

```
$sidebar = \WPEssential\Library\Sidebars::make();
$sidebar->removes(['main-sidebar']);
$sidebar->init();
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance45

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

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 ~74 days

Total

4

Last Release

425d ago

Major Versions

1.0.0 → 2.02024-09-09

### Community

Maintainers

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

---

Top Contributors

[![wpessential](https://avatars.githubusercontent.com/u/24288930?v=4)](https://github.com/wpessential "wpessential (6 commits)")

### Embed Badge

![Health badge](/badges/wpessential-wpessential-sidebars/health.svg)

```
[![Health](https://phpackages.com/badges/wpessential-wpessential-sidebars/health.svg)](https://phpackages.com/packages/wpessential-wpessential-sidebars)
```

###  Alternatives

[calotype/seo

A package containing SEO helpers.

722.6k](/packages/calotype-seo)

PHPackages © 2026

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