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

#2789
Tom
Keymaster

Yes, you could do something like this:

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

It should be added in your child theme functions.php file, or using a plugin like this: https://en-ca.wordpress.org/plugins/code-snippets/