Found Image http://plugins.svn.wordpress.org/magic-block/assets/icon-256x256.jpg Magic Block | Plugin Review Network Skip to Content

Plugin Review Network

Plugin Review Network

an eye on the best wordpress plugins
Show Sidebar Hide Sidebar
[+] Sidebar [-] Sidebar
Plugin:
Rated:
96%
4.8 Stars (5 votes)

WP.Org

ReadMe

Support
  • Author:
    Will Delphia
Version: 1.2.2
Requires: WP 5.0
Last Updated:2125 days ago
Downloads:1738
Tags:
    block, container block, data attributes, div, html element, html5
Download Plugin Package

Magic Block

Released on December 13, 2018.
Download Plugin Package

Version: 1.2.2

Registers a container block. It has settings for element, ID, classname, style, and any other attribute.

  • Description
  • Screenshots


Magic Block registers a container block with the block editor. This block has settings for element (div, section, etc), ID, classname, inline style, and any other attribute (including data-*, and aria-*) via a custom attributes section.

Magic Block is designed for people who want full control over post HTML structure, or wish to use the editor to create complex layouts such as Flexbox, CSS Grid, Bootstrap, etc...

This block does not add any CSS styles that you, as a developer, do not provide. Rather, it allows you to easily contain other blocks in parent elements with an arbitrary ID or Class. You may then easily target these container elements by ID or Class in your theme's stylesheets or through CSS plugins. For smaller customizations there is an inline style field which maps to the "style" HTML attribute for the container element.

In the editor view, each Magic Block has a thin grey outline so you can easily see which child elements belong to it. It also provides a display of element type, ID, and classes so you can keep track of how to target them with your CSS.

As of WordPress 5.3 you might not need this plugin since the core now ships with a "Group Block" which is similar in purpose, although it has fewer options.


You can nest magic blocks inside each other to build complex layouts.
Screenshot 1


Custom attributes supported
Screenshot 2



 

Click here to cancel reply.

Click here to cancel reply.


*

*


Please copy the string bWlowa to the field below:

Home | Sitemap | Contact
Network Skin Theme for BioShip by WordQuest
Password Reset
Please enter your e-mail address. You will receive a new password via e-mail.