Changeset 1065
- Timestamp:
- 12/23/2014 08:25:08 PM (9 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer
- Files:
-
- 2 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 -
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.