WP Manifestindependent plugin directory
manifest / editor / cno-plugin-responsive-blocks

CNO Responsive Blocks

Adds some responsive controls to the block editor

★ 0stars
12release downloads
v1.0.7latest · 6mo ago

Install

Download cno-plugin-responsive-blocks.zip From the v1.0.7 release on GitHub, Apr 9, 2026

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/choctaw-nation/cno-plugin-responsive-blocks/releases/download/v1.0.7/cno-plugin-responsive-blocks.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Adds responsive controls to WordPress blocks for enhanced layout flexibility.

How it Works - [CSS]

_utils.scss

_utils.scss defines three simple breakpoints (based on Bootstrap 5's available breakpoints), “Mobile”, “Tablet” and “Desktop”—none, sm, and lg respectively. It also defines a sass map that, for clarity's sake, I'll explain with Typescript.

type $classes = {
    [css: string]: {
        // injected into generated `.is-visible-at-{$css}-size` class
        query: string /* CSS Range syntax */;
        label: string; /* Used for the Block Editor */
    };
};

FrontEnd CSS

style.scss injects two classes: .has-responsive-settings and .is-visible-at-{$selector}-size, where $selector is generated by looping through the $classes map defined in _utils.scss. The query uses the modern CSS Media Query Range Syntax and grabs the breakpoints from the predefined $breakpoints list.

The actual media query uses display:none to hide things, which is backwards from how one might normally think of doing things. This is done intentionally so that the plugin is agnostic about display values, and only hides things when they shouldn't show up. Example:

Choosing “Desktop Only” sets a .is-visible-at-desktop-size class that actually hides the element at viewport widths smaller than $breakpoints.desktop!

View the changelog

Releases

7 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v1.0.7 latest
Apr 9, 2026 6mo ago
cno-plugin-responsive-blocks.zip
6
Mar 30, 2026 6mo ago
cno-plugin-responsive-blocks.zip
1
Mar 27, 2026 6mo ago
cno-plugin-responsive-blocks.zip
3
Mar 23, 2026 7mo ago
cno-plugin-responsive-blocks.zip
0
Mar 20, 2026 7mo ago
cno-plugin-responsive-blocks.zip
0
Sep 22, 2025 1 year ago
cno-plugin-responsive-blocks.zip
0
Sep 10, 2025 1 year ago
cno-plugin-responsive-blocks.zip
2