You've already forked wp-bootstrap
- Add 16 block patterns across 7 new categories (hero, features, CTA, testimonials, pricing, contact, text) - Add dark mode toggle with localStorage persistence and system preference detection (Bootstrap 5.3 data-bs-theme) - Register 17 custom block styles mapping Bootstrap components to WordPress blocks (cards, alerts, tables, buttons, etc.) - Add 4 style variations: Ocean, Forest, Sunset, Midnight - Add sidebar template part and "Blog with Sidebar" custom template - Add Inter and Lora variable fonts with fontFace declarations - Add Display font size (fluid 2.5rem-3.5rem) - Update translations (en_US .pot, de_CH .po) with all new strings - Bump version to 0.1.0 Co-Authored-By: Claude <noreply@anthropic.com>
31 lines
1.9 KiB
PHP
31 lines
1.9 KiB
PHP
<?php
|
|
/**
|
|
* Title: Testimonials two columns
|
|
* Slug: wp-bootstrap/testimonials-2-col
|
|
* Categories: wp-bootstrap_testimonials, testimonials
|
|
* Description: Two-column testimonials with quote blocks and citations.
|
|
*
|
|
* @package WPBootstrap
|
|
* @since 0.1.0
|
|
*/
|
|
?>
|
|
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
|
|
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)"><!-- wp:heading {"textAlign":"center","fontSize":"xx-large"} -->
|
|
<h2 class="wp-block-heading has-text-align-center has-xx-large-font-size"><?php esc_html_e( 'What our clients say', 'wp-bootstrap' ); ?></h2>
|
|
<!-- /wp:heading -->
|
|
|
|
<!-- 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:quote {"fontSize":"medium"} -->
|
|
<blockquote class="wp-block-quote has-medium-font-size"><p><?php esc_html_e( 'This theme completely transformed our website. The Bootstrap integration makes it incredibly easy to create professional-looking pages without any custom code.', 'wp-bootstrap' ); ?></p><cite><?php esc_html_e( 'Jane Doe, Web Designer', 'wp-bootstrap' ); ?></cite></blockquote>
|
|
<!-- /wp:quote --></div>
|
|
<!-- /wp:column -->
|
|
|
|
<!-- wp:column -->
|
|
<div class="wp-block-column"><!-- wp:quote {"fontSize":"medium"} -->
|
|
<blockquote class="wp-block-quote has-medium-font-size"><p><?php esc_html_e( 'The dark mode support and style variations give us the flexibility we need. Our clients love being able to switch between color schemes effortlessly.', 'wp-bootstrap' ); ?></p><cite><?php esc_html_e( 'John Smith, Developer', 'wp-bootstrap' ); ?></cite></blockquote>
|
|
<!-- /wp:quote --></div>
|
|
<!-- /wp:column --></div>
|
|
<!-- /wp:columns --></div>
|
|
<!-- /wp:group -->
|