Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support How to show own excerpt ? Reply To: How to show own excerpt ?

#112
Tom
Keymaster

Scrap that, I was checking the actual post list for the meta instead of the post itself.

Try this instead:

add_action( 'wpsp_before_content','wpsp_add_custom_meta' );
function wpsp_add_custom_meta()
{
    $meta = get_post_meta( get_the_ID(), '_your_custom_meta_key', true );
    if ( isset( $meta ) && '' !== $meta )
        echo $meta;
}