Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Help me achieve something similar Reply To: Help me achieve something similar


Sorry didn’t get time to try this earlier. Tom, how can i display all post meta or multiple meta keys using code below? Thanks

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;
  • This reply was modified 4 years, 9 months ago by Jamal.