added for when sidebar is active is displayed in theme
This commit is contained in:
parent
2d802af435
commit
55a7ea9b2a
|
@ -5,6 +5,8 @@
|
|||
<?php get_template_part('template-parts/loop'); ?>
|
||||
</div><!-- /#content -->
|
||||
</div>
|
||||
<?php get_sidebar(); ?>
|
||||
<?php if ( is_active_sidebar( 'sidebar-right' ) ) {
|
||||
get_sidebar();
|
||||
} ?>
|
||||
</div><!-- /.row -->
|
||||
<?php get_footer(); ?>
|
|
@ -5,6 +5,8 @@
|
|||
<?php get_template_part('template-parts/loop'); ?>
|
||||
</div><!-- /#content -->
|
||||
</div>
|
||||
<?php get_sidebar(); ?>
|
||||
<?php if ( is_active_sidebar( 'sidebar-right' ) ) {
|
||||
get_sidebar();
|
||||
} ?>
|
||||
</div><!-- /.row -->
|
||||
<?php get_footer(); ?>
|
|
@ -1,6 +1,7 @@
|
|||
</div>
|
||||
<?php if(!is_404()) : ?>
|
||||
<footer class="container-fluid p-4 p-sm-5 mt-2 bg-haiti">
|
||||
<?php if ( is_active_sidebar( 'footer-1' ) ) { ?>
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg">
|
||||
<ul class="p-4 d-lg-flex justify-content-md-center mb-md-0">
|
||||
|
@ -67,6 +68,7 @@
|
|||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<hr class="bg-scooter"/>
|
||||
<div class="row p-4">
|
||||
<div class="col text-white font-weight-normal">
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
<?php get_template_part('template-parts/loop'); ?>
|
||||
</div><!-- /#content -->
|
||||
</div>
|
||||
<?php get_sidebar(); ?>
|
||||
<?php if ( is_active_sidebar( 'sidebar-right' ) ) {
|
||||
get_sidebar();
|
||||
} ?>
|
||||
</div>
|
||||
<?php get_footer();
|
|
@ -5,6 +5,8 @@
|
|||
<?php get_template_part('template-parts/loop'); ?>
|
||||
</div><!-- /#content -->
|
||||
</div>
|
||||
<?php get_sidebar(); ?>
|
||||
<?php if ( is_active_sidebar( 'sidebar-right' ) ) {
|
||||
get_sidebar();
|
||||
} ?>
|
||||
</div><!-- /.row -->
|
||||
<?php get_footer(); ?>
|
Loading…
Reference in New Issue