Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support If is wpsp_id? Reply To: If is wpsp_id?

#2025
Tom
Keymaster

K, try this:

add_action( 'wpsp_before_content','wpsp_add_custom_meta' );
function wpsp_add_custom_meta( $settings ) {

    if ( 10 == $settings[ 'list_id' ] ) {
        $field_name = "Måndag";
        $field = get_field_object($field_name);

        echo $field['label'] . ': ' . $field['value'];
    }

}

So you would just change the 10 to your list ID.