Home › Forums › Pro Support › If is wpsp_id? This topic has 5 replies, 2 voices, and was last updated 6 years ago by Jamal. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts May 8, 2017 at 8:26 am #2007 JamalParticipant Hi Tom I would like to hook into before_content of a specific list, how would i go about it? Below is what i have currently and the colon between field label and value is appearing on all my wpsp lists add_action( 'wpsp_before_content','wpsp_add_custom_meta' ); function wpsp_add_custom_meta() { $field_name = "Måndag"; $field = get_field_object($field_name); echo $field['label'] . ': ' . $field['value']; } May 8, 2017 at 6:58 pm #2009 TomKeymaster Any chance I can send you the latest beta versions? There’s a way to do it, but I want you to use the way that’s going to work moving forward 🙂 May 8, 2017 at 10:39 pm #2012 JamalParticipant Absolutely. Just sent you my email adress. May 10, 2017 at 8:00 am #2018 JamalParticipant I have the latest files installed Tom and ready to give this a try. May 12, 2017 at 12:56 am #2025 TomKeymaster 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. May 12, 2017 at 2:14 pm #2031 JamalParticipant Excellent, thanks ! Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In