WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/22/2013 06:05:56 PM (6 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: widgetize the Post Format front page so other widgets can be used there, and the special Post Format content can be used in other widget areas. Props obenland, see #25028.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/sidebar-footer.php

    r25065 r25090  
    66 * @subpackage Twenty_Fourteen
    77 */
    8 ?>
    9 <?php
    10 if (   ! is_active_sidebar( 'sidebar-3' ) )
     8
     9if ( ! is_active_sidebar( 'sidebar-4' ) )
    1110    return;
    1211?>
     12
    1313<div id="supplementary">
    14 
    15     <?php if ( is_active_sidebar( 'sidebar-3' ) ) : ?>
    1614    <div id="footer-sidebar" class="widget-area" role="complementary">
    17         <?php dynamic_sidebar( 'sidebar-3' ); ?>
     15        <?php dynamic_sidebar( 'sidebar-4' ); ?>
    1816    </div><!-- #footer-sidebar -->
    19     <?php endif; ?>
    20 
    2117</div><!-- #supplementary -->
Note: See TracChangeset for help on using the changeset viewer.