WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22089, comment 3


Ignore:
Timestamp:
10/03/2012 09:18:12 PM (6 years ago)
Author:
DrewAPicture
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22089, comment 3

    initial v1  
    33The manual excerpt is meant to override the generated one and should only be displayed when `the_excerpt()` is called in the template.
    44
    5 But if you really want it in your child theme, you could just test for it in the loop and override `the_content()`. something like this:
    6 {{{
    7 if ( get_post_field( 'post_excerpt', $post->ID ) ) {
    8         the_excerpt();
    9 } else {
    10         the_content();
    11 }
     5Edit: Didn't see the patch :/