-
-
Save vburlak/fe4110024de55756640037fc066bc697 to your computer and use it in GitHub Desktop.
innerBlock Structure example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- wp:columns --> | |
<div class="wp-block-columns"><!-- wp:column --> | |
<div class="wp-block-column"><!-- wp:heading --> | |
<h2>Column Heading 1</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Example paragraph inside <code>core/column</code></p> | |
<!-- /wp:paragraph --></div> | |
<!-- /wp:column --> | |
<!-- wp:column --> | |
<div class="wp-block-column"><!-- wp:heading --> | |
<h2><meta charset="utf-8">Column Heading 2</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Second paragraph inside <code>core/column</code></p> | |
<!-- /wp:paragraph --></div> | |
<!-- /wp:column --></div> | |
<!-- /wp:columns --> | |
<!-- wp:group --> | |
<div class="wp-block-group"><!-- wp:heading --> | |
<h2>Group Heading</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p><code>core/group</code> block type used to group logically Heading + Paragraph + what ever</p> | |
<!-- /wp:paragraph --></div> | |
<!-- /wp:group --> | |
<!-- wp:heading --> | |
<h2>Regular Heading w/o column or group</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>Regular plain paragraph.</p> | |
<!-- /wp:paragraph --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment