disable get_sidebar()

This commit is contained in:
spirit 2019-11-21 16:16:22 +08:00
parent 23088bfc2b
commit ceeeeacf05
5 changed files with 1 additions and 7 deletions

View File

@ -62,5 +62,4 @@ get_header(); ?>
</div><!-- #primary --> </div><!-- #primary -->
<?php <?php
get_sidebar();
get_footer(); get_footer();

View File

@ -83,5 +83,4 @@ get_header();
</div><!-- #primary --> </div><!-- #primary -->
<?php <?php
get_sidebar();
get_footer(); get_footer();

View File

@ -29,5 +29,4 @@ get_header(); ?>
</div><!-- #primary --> </div><!-- #primary -->
<?php <?php
get_sidebar();
get_footer(); get_footer();

View File

@ -8,9 +8,7 @@
*/ */
//disable get_sidebar() //disable get_sidebar()
if ( is_active_sidebar( 'sakura_widget' ) ) { return;
return;
}
?> ?>
<aside id="secondary" class="widget-area" role="complementary"> <aside id="secondary" class="widget-area" role="complementary">

View File

@ -23,5 +23,4 @@ get_header(); ?>
</main><!-- #main --> </main><!-- #main -->
</div><!-- #primary --> </div><!-- #primary -->
<?php <?php
get_sidebar();
get_footer(); get_footer();