Home › Forums › Pro Support › How to show own excerpt ? › Reply To: How to show own excerpt ?
July 24, 2016 at 12:09 pm
#105
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 🙂