Skip to content

Commit

Permalink
Merge branch 'develop' into stage
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveJonesDev committed May 23, 2024
2 parents 83e920f + 88bccdd commit 46cd316
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions template-parts/blocks/resource-links/resource-links.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,16 @@
if ( ! empty( $row['selected_posts'] ) ) {
$selected_posts = $row['selected_posts'];
}
if( 'link' === get_field( 'type_of_button' ) ) {
if( 'link' === $row['type_of_button'] ) {
continue;
}

?>
<div id="resource-link-<?php echo esc_attr( $key ); ?>" role="tabpanel" aria-labelledby="button-tab-<?php echo esc_attr( $key ); ?>" class="resource-links-loop-container-item <?php echo 0 === $key ? 'resource-links-loop-container-item--active' : ''; ?>">
<div
id="resource-link-<?php echo esc_attr( $key ); ?>"
role="tabpanel"
aria-labelledby="button-tab-<?php echo esc_attr( $key ); ?>"
class="resource-links-loop-container-item <?php echo 0 === $key ? 'resource-links-loop-container-item--active' : ''; ?>"
>

<div class="resource-links-loop-container-content">
<div class="resource-links-loop-container-content-featured">
Expand Down

0 comments on commit 46cd316

Please sign in to comment.