FIX Handling properly the injection of custoim class in addition to get block wrapper attributes
This commit is contained in:
parent
fdb2abc0e6
commit
f77b24dee7
|
|
@ -5,7 +5,6 @@ $teamMembers = get_posts(array(
|
||||||
'posts_per_page' => -1,
|
'posts_per_page' => -1,
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
||||||
$placeholder_thumbnail_counter = 0;
|
$placeholder_thumbnail_counter = 0;
|
||||||
$personnalized_order = get_field('personnalized_order');
|
$personnalized_order = get_field('personnalized_order');
|
||||||
$members_manually_sorted = get_field('members_manually_sorted');
|
$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">
|
<div class="container">
|
||||||
<ul class="comity-type__list">
|
<ul class="comity-type__list">
|
||||||
<?php foreach ($teamMembers as $member) : ?>
|
<?php foreach ($teamMembers as $member) : ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user