Make WordPress Core


Ignore:
Timestamp:
02/14/2010 09:32:23 AM (17 years ago)
Author:
westi
Message:

Introduce new get_generic_template() function for themes to use to bring in pieces of template.
Use in twentyten for loop.php including. See #9015.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/index.php

    r13141 r13146  
    55
    66    <?php if ( have_posts() ) :
    7                 include 'loop.php';
     7                get_generic_template( 'loop', 'index' );
    88    else : ?>
    99                <h2><?php _e( 'Not Found', 'twentyten' ); ?></h2>
Note: See TracChangeset for help on using the changeset viewer.