Hi Tom,
I have now the following code repeated for every involved post/page id:
add_action( 'wpsp_after_content', function( $settings ) {
$custom_field = get_post_meta( get_the_ID(), 'wpsp_title2', true );
if ( $custom_field && 123 === $settings['list_id'] ) {
echo '<h2>';
echo $custom_field;
echo '</h2>';
}
} );
Is it possible to put all the Id’s in a unique array like ( 123, 124, 125 ) ?