Changeset 834 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-reference.php
- Timestamp:
- 09/04/2014 07:37:33 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-reference.php
r833 r834 49 49 <section class="meta">Used by TODO | Uses TODO | TODO Examples</section> 50 50 <?php endif; ?> 51 <hr/>52 <section class="explanation">53 <h2><?php _e( 'Explanation', 'wporg' ); ?></h2>54 </section>55 51 */ ?> 52 53 <?php 54 ob_start(); 55 the_content(); 56 $explanation = ob_get_clean(); 57 if ( $explanation ) : 58 ?> 59 <hr/> 60 <section class="explanation"> 61 <h2><?php _e( 'Explanation', 'wporg' ); ?></h2> 62 <?php the_content(); ?> 63 </section> 64 <?php endif; ?> 56 65 57 66 <?php if ( $params = get_params() ) : ?>
Note: See TracChangeset
for help on using the changeset viewer.