dee2e298 by Jeff Balicki

sss

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent b1ccf34a
......@@ -19,20 +19,7 @@ if ( is_front_page() ) {
$wrapper_id = 'full-width-page-wrapper';
?>
<div class="hero-container header-section blur-image" data-src="<?php echo the_post_thumbnail_url(); ?>" style="--med-image: url(<?php echo the_post_thumbnail_url('medium'); ?>);">
<div class="full-image">
<?php $hero_content = apply_filters('the_content', get_post_meta(get_the_id(), 'hero_content', true));
if (!empty($hero_content)) {?>
<div class="container">
<div class="hero-content row">
<div class="col align-self-center">
<?php echo $hero_content; ?>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
<div class="wrapper" id="<?php echo $wrapper_id; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- ok. ?>">
<div class="<?php echo esc_attr( $container ); ?>" id="content">
......
......@@ -19,20 +19,7 @@ if ( is_front_page() ) {
$wrapper_id = 'full-width-page-wrapper';
?>
<div class="hero-container header-section blur-image" data-src="<?php echo the_post_thumbnail_url(); ?>" style="--med-image: url(<?php echo the_post_thumbnail_url('medium'); ?>);">
<div class="full-image">
<?php $hero_content = apply_filters('the_content', get_post_meta(get_the_id(), 'hero_content', true));
if (!empty($hero_content)) {?>
<div class="container">
<div class="hero-content row">
<div class="col align-self-center">
<?php echo $hero_content; ?>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
<div class="wrapper" id="<?php echo $wrapper_id; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- ok. ?>">
<div class="<?php echo esc_attr( $container ); ?>" id="content">
......