Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
WordPress Block Pattern for Call To Action Vertical
<!-- wp:heading {"textAlign":"center"} -->
<h2 class="has-text-align-center"><strong>Section Title</strong></h2>
<!-- /wp:heading -->
<!-- wp:paragraph {"align":"center","textColor":"gray"} -->
<p class="has-text-align-center has-gray-color has-text-color">Something short and leading about the collection below—its contents, the creator, etc. Make it short and sweet, but not too short so folks don’t simply skip over it entirely.</p>
<!-- /wp:paragraph -->
<!-- wp:buttons {"contentJustification":"center"} -->
<div class="wp-block-buttons is-content-justification-center"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link">Main call to action</a></div>
<!-- /wp:button -->
<!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link">Secondary call to action</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment