[ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The template for the content bottom widget areas on posts and pages 4 * 5 * @package WordPress 6 * @subpackage Twenty_Sixteen 7 * @since Twenty Sixteen 1.0 8 */ 9 10 if ( ! is_active_sidebar( 'sidebar-2' ) && ! is_active_sidebar( 'sidebar-3' ) ) { 11 return; 12 } 13 14 // If we get this far, we have widgets. Let's do this. 15 ?> 16 <aside id="content-bottom-widgets" class="content-bottom-widgets"> 17 <?php if ( is_active_sidebar( 'sidebar-2' ) ) : ?> 18 <div class="widget-area"> 19 <?php dynamic_sidebar( 'sidebar-2' ); ?> 20 </div><!-- .widget-area --> 21 <?php endif; ?> 22 23 <?php if ( is_active_sidebar( 'sidebar-3' ) ) : ?> 24 <div class="widget-area"> 25 <?php dynamic_sidebar( 'sidebar-3' ); ?> 26 </div><!-- .widget-area --> 27 <?php endif; ?> 28 </aside><!-- .content-bottom-widgets -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 15 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |