Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jonathan Bardo

    (@jonathanbardo)

    Hey Philip!

    This is already in our roadmap.

    Thanks for you feedback!

    Plugin Author Frankie Jarrett

    (@fjarrett)

    Philip we’d be very thankful to receive our first 5-star review from you! 🙂

    Plugin Author Jonathan Bardo

    (@jonathanbardo)

    Hey Philip!

    Here is a simple code snippet you can use to add custom fields to the contact widget. This works with the new version I just released (1.0.1).

    You can add this to your theme functions.php file

    add_filter( 'wpcw_widget_contact_custom_fields', function( $fields, $instance ) {
    
      $fields['cellphone'] = [
        'order'       => 2,
        'label'       => __( 'Cellphone:', 'YOURTEXTDOMAIN' ),
        'type'        => 'text',
        'description' => __( 'A cellphone number that website vistors can call if they have questions.', 'YOURTEXTDOMAIN' ),
      ];
    
      return $fields;
    
    }, 10, 2 );

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Great Start’ is closed to new replies.