show sidebar in associats members if exists
This commit is contained in:
parent
3ad6632cc6
commit
228ffece25
|
@ -88,14 +88,11 @@ get_header();
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</main><!-- #main -->
|
</main><!-- #main -->
|
||||||
<?php
|
<?php if ( is_active_sidebar( 'after-content-members' ) ):?>
|
||||||
if ( ! is_active_sidebar( 'after-content-members' ) ) {
|
|
||||||
return;
|
|
||||||
} else {?>
|
|
||||||
<aside id="secondary" class="widget-area widget-area-members">
|
<aside id="secondary" class="widget-area widget-area-members">
|
||||||
<?php dynamic_sidebar( 'after-content-members' ); ?>
|
<?php dynamic_sidebar( 'after-content-members' ); ?>
|
||||||
</aside><!-- #secondary -->
|
</aside><!-- #secondary -->
|
||||||
<?php }; //end else ?>
|
<?php endif; //end sidebar ?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
get_sidebar();
|
get_sidebar();
|
||||||
|
|
Loading…
Reference in New Issue