Changeset 1065 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-wp-parser-hook.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-wp-parser-hook.php
r1057 r1065 43 43 */ ?> 44 44 45 <?php46 $explanation = get_explanation_field( 'post_content', get_the_ID() );47 if ( $explanation ) :48 ?>49 <hr/>50 <section class="explanation">51 <h2><?php _e( 'Explanation', 'wporg' ); ?></h2>52 <?php echo apply_filters( 'the_content', apply_filters( 'get_the_content', $explanation ) ); ?>53 </section>54 <?php endif; ?>55 56 45 <?php if ( $params = get_params() ) : ?> 57 46 … … 84 73 <?php endif; ?> 85 74 75 <?php 76 $explanation = get_explanation_field( 'post_content', get_the_ID() ); 77 if ( $explanation ) : 78 ?> 79 <hr/> 80 <section class="explanation"> 81 <h2><?php _e( 'Explanation', 'wporg' ); ?></h2> 82 <?php echo apply_filters( 'the_content', apply_filters( 'get_the_content', $explanation ) ); ?> 83 </section> 84 <?php endif; ?> 85 86 86 <?php /* 87 87 <hr/>
Note: See TracChangeset
for help on using the changeset viewer.