PHPackages                             k1sul1/reusable-blocks-extended - 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. k1sul1/reusable-blocks-extended

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

k1sul1/reusable-blocks-extended
===============================

40PHP

Since Jan 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/k1sul1/reusable-blocks-extended)[ Packagist](https://packagist.org/packages/k1sul1/reusable-blocks-extended)[ RSS](/packages/k1sul1-reusable-blocks-extended/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Reusable Blocks Extended
========================

[](#reusable-blocks-extended)

Small WordPress plugin that adds reusable blocks to the menu and exposes them under an easy API. And shortcode, if you need it.

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

[](#installation)

Copy the plugin into the plugins folder. Or;

```
composer require k1sul1/reusable-blocks-extended

```

Usage
-----

[](#usage)

Should be straightforward enough?

```
[reusableblock id="123" slug="hello-world"]

```

```
$rbe = \k1\rbe();
$rbe->renderBlock("footer");
$rbe->renderBlock(123, "id");

```

Filters
-------

[](#filters)

Plenty. If you feel like you need translations, don't like my words of choice, or some other thing; change it.

```
$ ag -Q apply_filters
init.php
9:    require_once apply_filters('k1rbe_plugin_class', 'class/class.reusable-blocks-extended.php');

class/class.reusable-blocks-extended.php
18:    $this->icon = apply_filters("k1rbe_menu_icon", "dashicons-block-default");
19:    $this->capability = apply_filters("k1rbe_menu_capability", "edit_posts");
20:    $this->menuTitle = apply_filters("k1rbe_menu_title", "Reusable blocks");
21:    $this->shortcode = apply_filters("k1rbe_shortcode", "reusableblock");
22:    $this->strings = apply_filters("k1rbe_strings", $this->strings);
63:    $output = apply_filters("k1rbe_before_output", "");
69:    echo apply_filters("k1rbe_after_output", $output);

```

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

[](#contributing)

If something is broken and you know how to fix it, please do and send the fix as a PR.

Cheers.

Licence
-------

[](#licence)

I don't care, do whatever you want.

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/63e7de2cb756a5f7b6ebeca45a2ac7ff1ca000ee67f3966955a79ee870cab6bf?d=identicon)[k1sul1](/maintainers/k1sul1)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/k1sul1-reusable-blocks-extended/health.svg)

```
[![Health](https://phpackages.com/badges/k1sul1-reusable-blocks-extended/health.svg)](https://phpackages.com/packages/k1sul1-reusable-blocks-extended)
```

###  Alternatives

[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

52178.7k1](/packages/inspheric-nova-defaultable)[otgs/multilingual-tools

Set of tools related to WPML plugin bundle. Created with tendency to ease WPML compatibility testing process.

39167.8k](/packages/otgs-multilingual-tools)

PHPackages © 2026

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