You've already forked wp-bootstrap
Full Design Editor compatibility with custom block categories, page templates, header/footer variations, and navigation styles. Both FSE (admin) and Twig (frontend) sides kept in sync. Co-Authored-By: Claude <noreply@anthropic.com>
45 lines
2.3 KiB
PHP
45 lines
2.3 KiB
PHP
<?php
|
|
/**
|
|
* Title: Three Columns
|
|
* Slug: wp-bootstrap/layout-3-col
|
|
* Categories: wp-bootstrap-layout, columns
|
|
* Description: A three-column layout with equal width columns, each containing a heading and paragraph.
|
|
*
|
|
* @package WPBootstrap
|
|
* @since 0.2.0
|
|
*/
|
|
?>
|
|
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
|
|
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"left":"var:preset|spacing|50"}}}} -->
|
|
<div class="wp-block-columns alignwide"><!-- wp:column -->
|
|
<div class="wp-block-column"><!-- wp:heading {"level":3,"fontSize":"x-large"} -->
|
|
<h3 class="wp-block-heading has-x-large-font-size"><?php esc_html_e( 'Column One', 'wp-bootstrap' ); ?></h3>
|
|
<!-- /wp:heading -->
|
|
|
|
<!-- wp:paragraph {"textColor":"secondary"} -->
|
|
<p class="has-secondary-color has-text-color"><?php esc_html_e( 'Add your content here. This column takes up one third of the available width on larger screens.', 'wp-bootstrap' ); ?></p>
|
|
<!-- /wp:paragraph --></div>
|
|
<!-- /wp:column -->
|
|
|
|
<!-- wp:column -->
|
|
<div class="wp-block-column"><!-- wp:heading {"level":3,"fontSize":"x-large"} -->
|
|
<h3 class="wp-block-heading has-x-large-font-size"><?php esc_html_e( 'Column Two', 'wp-bootstrap' ); ?></h3>
|
|
<!-- /wp:heading -->
|
|
|
|
<!-- wp:paragraph {"textColor":"secondary"} -->
|
|
<p class="has-secondary-color has-text-color"><?php esc_html_e( 'Add your content here. This column takes up one third of the available width on larger screens.', 'wp-bootstrap' ); ?></p>
|
|
<!-- /wp:paragraph --></div>
|
|
<!-- /wp:column -->
|
|
|
|
<!-- wp:column -->
|
|
<div class="wp-block-column"><!-- wp:heading {"level":3,"fontSize":"x-large"} -->
|
|
<h3 class="wp-block-heading has-x-large-font-size"><?php esc_html_e( 'Column Three', 'wp-bootstrap' ); ?></h3>
|
|
<!-- /wp:heading -->
|
|
|
|
<!-- wp:paragraph {"textColor":"secondary"} -->
|
|
<p class="has-secondary-color has-text-color"><?php esc_html_e( 'Add your content here. This column takes up one third of the available width on larger screens.', 'wp-bootstrap' ); ?></p>
|
|
<!-- /wp:paragraph --></div>
|
|
<!-- /wp:column --></div>
|
|
<!-- /wp:columns --></div>
|
|
<!-- /wp:group -->
|