FIX Handling properly the injection of custoim class in addition to get block wrapper attributes

This commit is contained in:
Antoine M 2026-02-04 11:16:13 +01:00
parent fdb2abc0e6
commit f77b24dee7

View File

@ -5,7 +5,6 @@ $teamMembers = get_posts(array(
'posts_per_page' => -1,
));
$placeholder_thumbnail_counter = 0;
$personnalized_order = get_field('personnalized_order');
$members_manually_sorted = get_field('members_manually_sorted');
@ -17,7 +16,7 @@ if ($personnalized_order) {
?>
<section class="team-authors content-section" <?php echo get_block_wrapper_attributes(); ?>>
<section <?php echo get_block_wrapper_attributes(array('class' => 'team-authors content-section')); ?>>
<div class="container">
<ul class="comity-type__list">
<?php foreach ($teamMembers as $member) : ?>