'; printf( '

', esc_html__( 'Custom Text: ', 'agentpress-listings' ), esc_attr( genesis_get_custom_field( '_listing_text' ) ) ); printf( '

%s

', esc_html__( 'Custom text shows on the featured listings widget image.', 'agentpress-listings' ) ); echo '


'; $pattern = '

'; echo '
'; foreach ( (array) $this->property_details['col1'] as $label => $key ) { printf( wp_kses( $pattern, $this->allowed_tags ), esc_html( $label ), esc_attr( $key ), esc_attr( genesis_get_custom_field( $key ) ) ); } printf( '

%s

', '#', 'ap_send_to_editor(\'[property_details]\')', esc_html__( 'Send to text editor', 'agentpress-listings' ) ); echo '
'; echo '
'; foreach ( (array) $this->property_details['col2'] as $label => $key ) { printf( wp_kses( $pattern, $this->allowed_tags ), esc_html( $label ), esc_attr( $key ), esc_attr( genesis_get_custom_field( $key ) ) ); } echo '



'; echo '
'; printf( '

', esc_html__( 'Enter Map Embed Code:', 'agentpress-listings' ), 'width: 99%;', wp_kses( genesis_get_custom_field( '_listing_map' ), $this->allowed_tags ) ); printf( '

%s

', '#', 'ap_send_to_editor(\'[property_map]\')', esc_html__( 'Send to text editor', 'agentpress-listings' ) ); echo '
'; echo '
'; printf( '

', esc_html__( 'Enter Video Embed Code', 'agentpress-listings' ), 'width: 99%;', wp_kses( genesis_get_custom_field( '_listing_video' ), $this->allowed_tags ) ); printf( '

%s

', '#', 'ap_send_to_editor(\'[property_video]\')', esc_html__( 'Send to text editor', 'agentpress-listings' ) ); echo '

';