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'] ?? '' ); ?> + + + +

+ +

+ + + +

+ +

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