From c20510814ee00b8619c96cfda8bce18f62c60987 Mon Sep 17 00:00:00 2001 From: Keith Solomon Date: Sat, 25 Jul 2026 13:24:06 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20Add=20team-grid=20block=20P?= =?UTF-8?q?HP=20template?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/blocks/team-grid/team-grid.php | 64 ++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 views/blocks/team-grid/team-grid.php diff --git a/views/blocks/team-grid/team-grid.php b/views/blocks/team-grid/team-grid.php new file mode 100644 index 0000000..c65b16b --- /dev/null +++ b/views/blocks/team-grid/team-grid.php @@ -0,0 +1,64 @@ + + * element so the bio expands when the photo, name, or title is clicked. + * + * @package CWC + */ + +namespace CWC; + +$members = get_field( 'members' ); + +if ( empty( $members ) ) { + return; +} + +$classes = 'team-grid container my-section mx-auto'; +$wrapper = blockWrapperAttributes( $classes, $is_preview ); +?> + +
> +
+ +
+
+ + + <?php echo esc_attr( $member['image']['alt'] ?? '' ); ?> + + + +

+ +

+ + + +

+ +

+ +
+ +
+
+ +
+ +
+ +
+
+
+
+ +
+