add php to allow the hero widgets to show on the fullwidth page template when the page using this template is set to the front page
This commit is contained in:
parent
7475ec18da
commit
2f5e0182e2
|
@ -15,6 +15,11 @@ get_header();
|
||||||
$container = get_theme_mod( 'understrap_container_type' );
|
$container = get_theme_mod( 'understrap_container_type' );
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<?php if ( is_front_page() ) : ?>
|
||||||
|
<?php get_template_part( 'global-templates/hero' ); ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
|
||||||
<div class="wrapper" id="full-width-page-wrapper">
|
<div class="wrapper" id="full-width-page-wrapper">
|
||||||
|
|
||||||
<div class="<?php echo esc_attr( $container ); ?>" id="content">
|
<div class="<?php echo esc_attr( $container ); ?>" id="content">
|
||||||
|
|
Reference in New Issue