We're merging with GenerateBlocks! Learn more here.

Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Adding extra fields to output Reply To: Adding extra fields to output


I found this code myself in the forums:
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;

and have updated it in the functions.php of wpshowposts folder. Is this correct? The values do not appear to be showing in my post list. I have also updated the meta key to my custom value.