Make WordPress Core


Ignore:
Timestamp:
09/18/2012 05:28:36 PM (13 years ago)
Author:
lancewillett
Message:

Twenty Twelve: rename homepage template to front-page; including s/home/front-page/ in many places -- see notes in ticket. See #21909.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/sidebar-front.php

    r21884 r21886  
    11<?php
    22/**
    3  * The sidebar containing the homepage widget areas.
     3 * The sidebar containing the front page widget areas.
    44 *
    55 * If no active widgets in either sidebar, they will be hidden completely.
     
    1111
    1212/*
    13  * The homepage widget area is triggered if any of the areas
     13 * The front page widget area is triggered if any of the areas
    1414 * have widgets. So let's check that first.
    1515 *
     
    2121// If we get this far, we have widgets. Let do this.
    2222?>
    23 <div id="secondary" <?php twentytwelve_homepage_sidebar_class(); ?> role="complementary">
     23<div id="secondary" <?php twentytwelve_frontpage_sidebar_class(); ?> role="complementary">
    2424    <?php if ( is_active_sidebar( 'sidebar-2' ) ) : ?>
    25     <div class="first home-widgets">
     25    <div class="first front-widgets">
    2626        <?php dynamic_sidebar( 'sidebar-2' ); ?>
    2727    </div><!-- .first -->
     
    2929
    3030    <?php if ( is_active_sidebar( 'sidebar-3' ) ) : ?>
    31     <div class="second home-widgets">
     31    <div class="second front-widgets">
    3232        <?php dynamic_sidebar( 'sidebar-3' ); ?>
    3333    </div><!-- .second -->
Note: See TracChangeset for help on using the changeset viewer.