PHPackages                             vunamhung/gutenberg-ramp - 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. vunamhung/gutenberg-ramp

ActiveLibrary

vunamhung/gutenberg-ramp
========================

Gutenberg Ramp is a plugin that manages the state of Gutenberg in the post-edit context.

1.2.0(6y ago)010GPL-3.0+PHPPHP &gt;=5.6.0

Since Feb 24Pushed 6y agoCompare

[ Source](https://github.com/vunamhung/gutenberg-ramp)[ Packagist](https://packagist.org/packages/vunamhung/gutenberg-ramp)[ Docs](https://github.com/vunamhung/gutenberg-ramp)[ RSS](/packages/vunamhung-gutenberg-ramp/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

Gutenberg Ramp
==============

[](#gutenberg-ramp)

### Overview

[](#overview)

Gutenberg Ramp is a plugin that manages the state of Gutenberg in the post-edit context. It loads or unloads Gutenberg in post-edit according to criteria specified in theme code. It is agnostic about whether Gutenberg is loading from core or via the plugin.

### How it Works

[](#how-it-works)

Gutenberg Ramp assumes one of the following states:

- WordPress 4.9 and the Gutenberg plugin (either activated or not)
- WordPress 5.0 and a fallback editor

Gutenberg Ramp makes a decision early in the WordPress load sequence (`plugins_loaded`) about whether to take action. It will take action if the following are true:

- either the post edit or new post screens are going to load AND
- according its user-supplied criteria either: Gutenberg should load for the current post and will not OR Gutenberg shouldn't load for the current post and will.

Loading criteria are supplied either in code (in a theme or plugin) or via UI. Gutenberg can be instructed to always or never load, or to load for just particular post\_id or post\_types.

### Specifying Loading Criteria

[](#specifying-loading-criteria)

Criteria are stored in an option and specified by calling a function any time after `plugins_loaded`, typically in theme code or on a hook such as `init`.

Loading behavior is controlled by the `gutenberg_ramp_load_gutenberg()` function. Calling this function without its single optional parameter causes Gutenberg to load on all post-edit screens. An optional associative array of criteria can be passed. The possible keys and values are:

- `load` (Int): `0|1`: never or always load Gutenberg
- `post_ids` (Array of post\_ids): loads Gutenberg for the specified post\_ids
- `post_types` (Array of post\_types): loads Gutenberg for the specified post types.

### Code Examples

[](#code-examples)

Load Gutenberg for all posts:

```
if ( function_exists( 'gutenberg_ramp_load_gutenberg' ) ) {
	gutenberg_ramp_load_gutenberg();
}
```

Never load Gutenberg:

```
gutenberg_ramp_load_gutenberg( false );

// Alternatively, you can use the `load` key to always disable Gutenberg:
gutenberg_ramp_load_gutenberg( [ 'load' => 0 ] );
```

Load Gutenberg only for posts with ids 12, 13 and 122:

```
gutenberg_ramp_load_gutenberg( [ 'post_ids' => [ 12, 13, 122 ] ] );
```

Load Gutenberg for `post_id: 12` and all posts of type `test` and `scratch`:

```
gutenberg_ramp_load_gutenberg(
	[
		'post_types' => [ 'test', 'scratch' ],
		'post_ids'   => [ 12 ],
	]
);
```

### UI

[](#ui)

Gutenberg Ramp adds a section to the Settings -&gt; Writing menu that allows post\_type control of Gutenberg loading. This can be used in place of specifying criteria in code.

### FAQs

[](#faqs)

**Why is a post type disabled (greyed out) at Settings &gt; Writing?**

If you're seeing something greyed out, it means the `gutenberg_ramp_load_gutenberg()` function is already in your theme functions.php. If you want to use the wp-admin UI, remove the conflicting function from your functions.php file.

**Why are some post types are not showing up on the settings screen?**

Post types that are not compatible with Gutenberg will not show up. If you think you have found a false negative (posts in that post type DO work with Gutenberg, when Ramp plugin is deactivated) please report it as an issue on [GitHub here.](https://github.com/Automattic/ramp-for-gutenberg)

**Can I contribute to this plugin?**

Absolutely! Please create issues and pull requests on [GitHub here.](https://github.com/Automattic/gutenberg-ramp)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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

2268d ago

### Community

Maintainers

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

---

Top Contributors

[![mattoperry](https://avatars.githubusercontent.com/u/1060374?v=4)](https://github.com/mattoperry "mattoperry (40 commits)")[![maevelander](https://avatars.githubusercontent.com/u/4695433?v=4)](https://github.com/maevelander "maevelander (25 commits)")[![rogertheriault](https://avatars.githubusercontent.com/u/294707?v=4)](https://github.com/rogertheriault "rogertheriault (8 commits)")[![vunamhung](https://avatars.githubusercontent.com/u/59323806?v=4)](https://github.com/vunamhung "vunamhung (2 commits)")[![brettshumaker](https://avatars.githubusercontent.com/u/1558827?v=4)](https://github.com/brettshumaker "brettshumaker (2 commits)")[![peteschiebel](https://avatars.githubusercontent.com/u/103755?v=4)](https://github.com/peteschiebel "peteschiebel (1 commits)")[![davisshaver](https://avatars.githubusercontent.com/u/1636964?v=4)](https://github.com/davisshaver "davisshaver (1 commits)")[![emrikol](https://avatars.githubusercontent.com/u/3060583?v=4)](https://github.com/emrikol "emrikol (1 commits)")

---

Tags

wordpressgutenberg

### Embed Badge

![Health badge](/badges/vunamhung-gutenberg-ramp/health.svg)

```
[![Health](https://phpackages.com/badges/vunamhung-gutenberg-ramp/health.svg)](https://phpackages.com/packages/vunamhung-gutenberg-ramp)
```

###  Alternatives

[tiny-pixel/acorn-block-templates

Block templates for Sage 10

191.2k](/packages/tiny-pixel-acorn-block-templates)

PHPackages © 2026

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