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 ?

#105
Tom
Keymaster

Hi Jamal,

First, you would set the content setting to “None”.

Then, you could do something like this:

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

Let me know if that works or not 🙂