Make WordPress Core


Ignore:
Timestamp:
10/29/2013 07:05:02 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: allow any page to be set as the front page, removing requirement for front-page.php template file. Props iamtakashi, fixes #25685.

File:
1 edited

Legend:

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

    r25769 r25985  
    2020get_header(); ?>
    2121
     22<div id="main-content" class="main-content">
    2223    <section id="primary" class="content-area">
    2324        <div id="content" class="site-content" role="main">
     
    6061        </div><!-- #content -->
    6162    </section><!-- #primary -->
     63    <?php get_sidebar( 'content' ); ?>
     64</div><!-- #main-content -->
    6265
    6366<?php
    64 get_sidebar( 'content' );
    6567get_sidebar();
    6668get_footer();
Note: See TracChangeset for help on using the changeset viewer.