Changeset 1065 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-reference.php
- Timestamp:
- 12/23/2014 08:25:08 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-reference.php
r1062 r1065 51 51 */ ?> 52 52 53 <?php54 $explanation = get_explanation_field( 'post_content', get_the_ID() );55 if ( $explanation ) :56 ?>57 <hr/>58 <section class="explanation">59 <h2><?php _e( 'Explanation', 'wporg' ); ?></h2>60 <?php echo apply_filters( 'the_content', apply_filters( 'get_the_content', $explanation ) ); ?>61 </section>62 <?php endif; ?>63 64 53 <?php if ( $params = get_params() ) : ?> 65 54 <hr/> … … 90 79 </dl> 91 80 </section> 81 <?php endif; ?> 82 83 <?php 84 $explanation = get_explanation_field( 'post_content', get_the_ID() ); 85 if ( $explanation ) : 86 ?> 87 <hr/> 88 <section class="explanation"> 89 <h2><?php _e( 'Explanation', 'wporg' ); ?></h2> 90 <?php echo apply_filters( 'the_content', apply_filters( 'get_the_content', $explanation ) ); ?> 91 </section> 92 92 <?php endif; ?> 93 93
Note: See TracChangeset
for help on using the changeset viewer.