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