Make WordPress Core


Ignore:
Timestamp:
03/25/2010 10:04:27 PM (15 years ago)
Author:
westi
Message:

Switch to get_template_part Fixes #12371. Try on some narrative comments for size see #12695.

File:
1 edited

Legend:

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

    r13720 r13816  
    99                <?php $categorydesc = category_description(); if ( ! empty( $categorydesc ) ) echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $categorydesc . '</div>' ); ?>
    1010
    11 <?php get_generic_template( 'loop', 'category' ); ?>
     11                <?php
     12                /* Run the loop for the category page to output the posts.
     13                 * If you want to overload this in a child theme then include a file
     14                 * called loop-category.php and that will be used instead.
     15                 */
     16                 get_template_part( 'loop', 'category' );
     17                ?>
    1218
    1319            </div><!-- #content -->
Note: See TracChangeset for help on using the changeset viewer.