Bug in block-banner-list.php
-
Theme version 2.9.9.62, inc/ansar/hooks/blocks/block-banner-list.php
Closing
>
missing if post has no featured image (post thumbnail) set:<div class="mg-blog-post lg back-img" <?php if (!empty($newsup_url)): ?> style="background-image: url('<?php echo esc_url($newsup_url); ?>');"> <?php endif; ?>
Suggested fix:
<div class="mg-blog-post lg back-img" <?php if (!empty($newsup_url)): ?> style="background-image: url('<?php echo esc_url($newsup_url); ?>');" <?php endif; ?>>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Bug in block-banner-list.php’ is closed to new replies.