Making WordPress.org


Ignore:
Timestamp:
02/17/2015 07:26:38 AM (12 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Only use content-reference-archive.php and content-reference.php templates for posts of a parsed post type. See #872

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/single.php

    r724 r1267  
    1616                <?php while ( have_posts() ) : the_post(); ?>
    1717
    18                         <?php get_template_part( 'content', 'reference'); ?>
     18                        <?php get_template_part( 'content', ( is_parsed_post_type() ? 'reference' : '' ) ); ?>
    1919
    2020                        <?php //wporg_developer_post_nav(); ?>
Note: See TracChangeset for help on using the changeset viewer.