Contact Widgets - Version 1.4.1

Version Description

  • February 13, 2017 =

  • Tweak: Use FontAwesome 4.7.0

  • Fix: Compatibility issues when other plugins add widget form fields

Props @jonathanbardo, @fjarrett

Download this release

Release Info

Developer Godaddy
Plugin Icon 128x128 Contact Widgets
Version 1.4.1
Comparing to
See all releases

Code changes from version 1.4.0 to 1.4.1

assets/css/admin-rtl.min.css CHANGED
@@ -1 +1 @@
1
- .wpcw-widget .form{overflow:auto;margin-bottom:1em}.wpcw-widget .title{margin-top:1em}.wpcw-widget .form p{margin:0 0 10px}.wpcw-widget .form p.sortable-placeholder{margin:0 0 8px}.wpcw-widget .form label i{margin:0 3px 0 7px}.wpcw-widget .form>p>span{display:table;width:100%}.wpcw-widget .form>p textarea{min-height:80px;resize:none;vertical-align:top}.wpcw-widget .form.ui-sortable>p .widefat{display:table-cell;width:100%}.wpcw-widget .form.ui-sortable .wpcw-widget-sortable-handle{display:table-cell;position:relative;width:25px;background-color:#f7f7f7;border:1px solid #ddd;border-right:none;cursor:row-resize;cursor:grab;cursor:-moz-grab;cursor:-webkit-grab;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);-moz-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.wpcw-widget .form.ui-sortable .ui-sortable-helper *,.wpcw-widget .form.ui-sortable .wpcw-widget-sortable-handle:active{cursor:row-resize;cursor:grabbing;cursor:-moz-grabbing;cursor:-webkit-grabbing}.wpcw-widget .form.ui-sortable span.dashicons{position:absolute;margin:auto;top:0;left:0;bottom:0;right:0;overflow:auto;font-size:18px;color:#a0a5aa}.wpcw-widget .form.ui-sortable span.dashicons:before{position:relative;top:1px}.wpcw-widget .default-fields{display:none}.wpcw-widget-social .icons{margin:10px 0}.wpcw-widget-social .icons a{margin:5px;font-size:20px;display:inline-block}.wpcw-widget-social .icons a:focus{box-shadow:none}.wpcw-widget-social .icons a.inactive:not(:hover){color:#ccc}
1
+ .wpcw-widget .form{overflow:auto;margin-bottom:1em}.wpcw-widget .title{margin-top:1em}.wpcw-widget .form p{margin:0 0 10px 0}.wpcw-widget .form p.sortable-placeholder{margin:0 0 8px 0}.wpcw-widget .form label i{margin:0 3px 0 7px}.wpcw-widget .form>p>span{display:table;width:100%}.wpcw-widget .form>p textarea{min-height:80px;resize:none;vertical-align:top}.wpcw-widget .form.ui-sortable>p .widefat{display:table-cell;width:100%}.wpcw-widget .form.ui-sortable .wpcw-widget-sortable-handle{display:table-cell;position:relative;width:25px;background-color:#f7f7f7;border:1px solid #ddd;border-right:none;cursor:row-resize;cursor:grab;cursor:-moz-grab;cursor:-webkit-grab;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);-moz-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.wpcw-widget .form.ui-sortable .ui-sortable-helper *,.wpcw-widget .form.ui-sortable .wpcw-widget-sortable-handle:active{cursor:row-resize;cursor:grabbing;cursor:-moz-grabbing;cursor:-webkit-grabbing}.wpcw-widget .form.ui-sortable span.dashicons{position:absolute;margin:auto;top:0;left:0;bottom:0;right:0;overflow:auto;font-size:18px;color:#a0a5aa}.wpcw-widget .form.ui-sortable span.dashicons:before{position:relative;top:1px}.wpcw-widget .default-fields{display:none}.wpcw-widget-social .icons{margin:10px 0}.wpcw-widget-social .icons a{margin:5px;font-size:20px;display:inline-block}.wpcw-widget-social .icons a:focus{box-shadow:none}.wpcw-widget-social .icons a.inactive:not(:hover){color:#ccc}
assets/css/admin.min.css CHANGED
@@ -1 +1 @@
1
- .wpcw-widget .form{overflow:auto;margin-bottom:1em}.wpcw-widget .title{margin-top:1em}.wpcw-widget .form p{margin:0 0 10px}.wpcw-widget .form p.sortable-placeholder{margin:0 0 8px}.wpcw-widget .form label i{margin:0 7px 0 3px}.wpcw-widget .form>p>span{display:table;width:100%}.wpcw-widget .form>p textarea{min-height:80px;resize:none;vertical-align:top}.wpcw-widget .form.ui-sortable>p .widefat{display:table-cell;width:100%}.wpcw-widget .form.ui-sortable .wpcw-widget-sortable-handle{display:table-cell;position:relative;width:25px;background-color:#f7f7f7;border:1px solid #ddd;border-left:none;cursor:row-resize;cursor:grab;cursor:-moz-grab;cursor:-webkit-grab;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);-moz-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.wpcw-widget .form.ui-sortable .ui-sortable-helper *,.wpcw-widget .form.ui-sortable .wpcw-widget-sortable-handle:active{cursor:row-resize;cursor:grabbing;cursor:-moz-grabbing;cursor:-webkit-grabbing}.wpcw-widget .form.ui-sortable span.dashicons{position:absolute;margin:auto;top:0;right:0;bottom:0;left:0;overflow:auto;font-size:18px;color:#a0a5aa}.wpcw-widget .form.ui-sortable span.dashicons:before{position:relative;top:1px}.wpcw-widget .default-fields{display:none}.wpcw-widget-social .icons{margin:10px 0}.wpcw-widget-social .icons a{margin:5px;font-size:20px;display:inline-block}.wpcw-widget-social .icons a:focus{box-shadow:none}.wpcw-widget-social .icons a.inactive:not(:hover){color:#ccc}
1
+ .wpcw-widget .form{overflow:auto;margin-bottom:1em}.wpcw-widget .title{margin-top:1em}.wpcw-widget .form p{margin:0 0 10px 0}.wpcw-widget .form p.sortable-placeholder{margin:0 0 8px 0}.wpcw-widget .form label i{margin:0 7px 0 3px}.wpcw-widget .form>p>span{display:table;width:100%}.wpcw-widget .form>p textarea{min-height:80px;resize:none;vertical-align:top}.wpcw-widget .form.ui-sortable>p .widefat{display:table-cell;width:100%}.wpcw-widget .form.ui-sortable .wpcw-widget-sortable-handle{display:table-cell;position:relative;width:25px;background-color:#f7f7f7;border:1px solid #ddd;border-left:none;cursor:row-resize;cursor:grab;cursor:-moz-grab;cursor:-webkit-grab;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);-moz-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.wpcw-widget .form.ui-sortable .ui-sortable-helper *,.wpcw-widget .form.ui-sortable .wpcw-widget-sortable-handle:active{cursor:row-resize;cursor:grabbing;cursor:-moz-grabbing;cursor:-webkit-grabbing}.wpcw-widget .form.ui-sortable span.dashicons{position:absolute;margin:auto;top:0;right:0;bottom:0;left:0;overflow:auto;font-size:18px;color:#a0a5aa}.wpcw-widget .form.ui-sortable span.dashicons:before{position:relative;top:1px}.wpcw-widget .default-fields{display:none}.wpcw-widget-social .icons{margin:10px 0}.wpcw-widget-social .icons a{margin:5px;font-size:20px;display:inline-block}.wpcw-widget-social .icons a:focus{box-shadow:none}.wpcw-widget-social .icons a.inactive:not(:hover){color:#ccc}
contact-widgets.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Contact Widgets
4
  * Description: Beautifully display social media and contact information on your website with these simple widgets.
5
- * Version: 1.4.0
6
  * Author: GoDaddy
7
  * Author URI: https://godaddy.com
8
  * Text Domain: contact-widgets
@@ -90,7 +90,7 @@ if ( ! class_exists( 'Contact_Widgets' ) ) {
90
  printf(
91
  '<div class="error"><p>%s</p></div>',
92
  sprintf(
93
- __( 'Contact widgets requires PHP version %s or higher. Please deactivate the plugin and contact your system administrator.', 'contact-widgets' ),
94
  esc_html( $this->php_min_version )
95
  )
96
  );
2
  /**
3
  * Plugin Name: Contact Widgets
4
  * Description: Beautifully display social media and contact information on your website with these simple widgets.
5
+ * Version: 1.4.1
6
  * Author: GoDaddy
7
  * Author URI: https://godaddy.com
8
  * Text Domain: contact-widgets
90
  printf(
91
  '<div class="error"><p>%s</p></div>',
92
  sprintf(
93
+ esc_html__( 'Contact widgets requires PHP version %s or higher. Please deactivate the plugin and contact your system administrator.', 'contact-widgets' ),
94
  esc_html( $this->php_min_version )
95
  )
96
  );
includes/class-base-widget.php CHANGED
@@ -117,6 +117,13 @@ abstract class Base_Widget extends \WP_Widget {
117
 
118
  foreach ( $new_instance as $key => &$instance ) {
119
 
 
 
 
 
 
 
 
120
  $sanitizer_callback = $fields[ $key ]['sanitizer'];
121
 
122
  // Title can't be an array
@@ -164,7 +171,9 @@ abstract class Base_Widget extends \WP_Widget {
164
  $common_properties = wp_parse_args( $common_properties, $this->field_defaults );
165
  $field = wp_parse_args( $field, $common_properties );
166
 
167
- $default_closure = function( $value ) { return $value; };
 
 
168
 
169
  foreach ( [ 'escaper', 'sanitizer' ] as $key ) {
170
 
@@ -286,7 +295,7 @@ abstract class Base_Widget extends \WP_Widget {
286
 
287
  }
288
 
289
- printf(
290
  '<p class="%s">',
291
  implode( ' ', $classes )
292
  );
@@ -353,7 +362,7 @@ abstract class Base_Widget extends \WP_Widget {
353
 
354
  foreach ( $field['select_options'] as $value => $name ) {
355
 
356
- printf(
357
  '<option value="%s" %s>%s</option>',
358
  $value,
359
  $field['value'] === $value ? 'selected' : '',
@@ -422,7 +431,8 @@ abstract class Base_Widget extends \WP_Widget {
422
  protected function before_widget( array $args, array &$fields ) {
423
 
424
  $title = array_shift( $fields );
425
- echo $args['before_widget'];
 
426
 
427
  if ( ! empty( $title['value'] ) ) {
428
 
@@ -435,7 +445,7 @@ abstract class Base_Widget extends \WP_Widget {
435
  */
436
  $title = (string) apply_filters( 'widget_title', $title['value'] );
437
 
438
- echo $args['before_title'] . $title . $args['after_title'];
439
 
440
  }
441
 
@@ -478,12 +488,12 @@ abstract class Base_Widget extends \WP_Widget {
478
  '<a class="post-edit-link" data-widget-id="%s" href="%s">%s</a>',
479
  esc_attr( $args['widget_id'] ),
480
  esc_url( $edit_url ),
481
- __( 'Edit' )
482
  );
483
 
484
  }
485
 
486
- echo $args['after_widget'];
487
 
488
  }
489
 
@@ -502,7 +512,7 @@ abstract class Base_Widget extends \WP_Widget {
502
 
503
  if ( $echo ) {
504
 
505
- echo $result;
506
 
507
  }
508
 
@@ -518,7 +528,7 @@ abstract class Base_Widget extends \WP_Widget {
518
  $rtl = is_rtl() ? '-rtl' : '';
519
  $suffix = SCRIPT_DEBUG ? '' : '.min';
520
 
521
- wp_enqueue_style( 'font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css', [], '4.5.0' );
522
  wp_enqueue_style( 'wpcw-admin', \Contact_Widgets::$assets_url . "css/admin{$rtl}{$suffix}.css", [ 'font-awesome' ], Plugin::$version );
523
  wp_enqueue_script( 'wpcw-admin', \Contact_Widgets::$assets_url . "js/admin{$suffix}.js", [ 'jquery' ], Plugin::$version, true );
524
 
117
 
118
  foreach ( $new_instance as $key => &$instance ) {
119
 
120
+ // Skip unrecognized fields added by other plugins
121
+ if ( ! array_key_exists( $key, $fields ) ) {
122
+
123
+ continue;
124
+
125
+ }
126
+
127
  $sanitizer_callback = $fields[ $key ]['sanitizer'];
128
 
129
  // Title can't be an array
171
  $common_properties = wp_parse_args( $common_properties, $this->field_defaults );
172
  $field = wp_parse_args( $field, $common_properties );
173
 
174
+ $default_closure = function( $value ) {
175
+ return $value;
176
+ };
177
 
178
  foreach ( [ 'escaper', 'sanitizer' ] as $key ) {
179
 
295
 
296
  }
297
 
298
+ printf( // xss ok.
299
  '<p class="%s">',
300
  implode( ' ', $classes )
301
  );
362
 
363
  foreach ( $field['select_options'] as $value => $name ) {
364
 
365
+ printf( // xss ok.
366
  '<option value="%s" %s>%s</option>',
367
  $value,
368
  $field['value'] === $value ? 'selected' : '',
431
  protected function before_widget( array $args, array &$fields ) {
432
 
433
  $title = array_shift( $fields );
434
+
435
+ echo $args['before_widget']; // xss ok.
436
 
437
  if ( ! empty( $title['value'] ) ) {
438
 
445
  */
446
  $title = (string) apply_filters( 'widget_title', $title['value'] );
447
 
448
+ echo $args['before_title'] . $title . $args['after_title']; // xss ok.
449
 
450
  }
451
 
488
  '<a class="post-edit-link" data-widget-id="%s" href="%s">%s</a>',
489
  esc_attr( $args['widget_id'] ),
490
  esc_url( $edit_url ),
491
+ esc_html__( 'Edit' ) // Use translations from core.
492
  );
493
 
494
  }
495
 
496
+ echo $args['after_widget']; // xss ok.
497
 
498
  }
499
 
512
 
513
  if ( $echo ) {
514
 
515
+ echo $result; // xss ok.
516
 
517
  }
518
 
528
  $rtl = is_rtl() ? '-rtl' : '';
529
  $suffix = SCRIPT_DEBUG ? '' : '.min';
530
 
531
+ wp_enqueue_style( 'font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css', [], '4.7.0' );
532
  wp_enqueue_style( 'wpcw-admin', \Contact_Widgets::$assets_url . "css/admin{$rtl}{$suffix}.css", [ 'font-awesome' ], Plugin::$version );
533
  wp_enqueue_script( 'wpcw-admin', \Contact_Widgets::$assets_url . "js/admin{$suffix}.js", [ 'jquery' ], Plugin::$version, true );
534
 
includes/class-contact.php CHANGED
@@ -126,10 +126,10 @@ final class Contact extends Base_Widget {
126
  $escape_callback = $field['escaper'];
127
  $label = str_replace( ':', '', $field['label'] );
128
 
129
- printf(
130
  '<li class="%s">%s<div>%s</div></li>',
131
- $display_labels ? 'has-label' : 'no-label',
132
- $display_labels ? sprintf( '<strong>%s</strong><br>', esc_html( $label ) ) : '',
133
  $escape_callback( $field['value'] )
134
  );
135
 
126
  $escape_callback = $field['escaper'];
127
  $label = str_replace( ':', '', $field['label'] );
128
 
129
+ printf( // xss ok.
130
  '<li class="%s">%s<div>%s</div></li>',
131
+ ( $display_labels ) ? 'has-label' : 'no-label',
132
+ ( $display_labels ) ? sprintf( '<strong>%s</strong><br>', esc_html( $label ) ) : '',
133
  $escape_callback( $field['value'] )
134
  );
135
 
includes/class-social.php CHANGED
@@ -155,15 +155,15 @@ final class Social extends Base_Widget {
155
 
156
  $escape_callback = $field['escaper'];
157
 
158
- printf(
159
  '<li class="%s"><a href="%s" target="%s" title="%s"><span class="fa fa-%s fa-%s"></span>%s</a></li>',
160
- $display_labels ? 'has-label' : 'no-label',
161
  $escape_callback( $field['value'] ),
162
  esc_attr( $field['target'] ),
163
  sprintf( esc_attr_x( 'Visit %1$s on %2$s', '1. Title of website (e.g. My Cat Blog), 2. Name of social network (e.g. Facebook)', 'contact-widgets' ), get_bloginfo( 'name' ), $field['label'] ),
164
  isset( $fields['icon_size']['value'] ) ? esc_attr( $fields['icon_size']['value'] ) : '2x',
165
  esc_attr( $field['icon'] ),
166
- $display_labels ? esc_html( $field['label'] ) : ''
167
  );
168
 
169
  }
@@ -179,7 +179,7 @@ final class Social extends Base_Widget {
179
  */
180
  public function front_end_enqueue_scripts() {
181
 
182
- wp_enqueue_style( 'font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css', [], '4.5.0' );
183
 
184
  parent::front_end_enqueue_scripts();
185
 
155
 
156
  $escape_callback = $field['escaper'];
157
 
158
+ printf( // xss ok.
159
  '<li class="%s"><a href="%s" target="%s" title="%s"><span class="fa fa-%s fa-%s"></span>%s</a></li>',
160
+ ( $display_labels ) ? 'has-label' : 'no-label',
161
  $escape_callback( $field['value'] ),
162
  esc_attr( $field['target'] ),
163
  sprintf( esc_attr_x( 'Visit %1$s on %2$s', '1. Title of website (e.g. My Cat Blog), 2. Name of social network (e.g. Facebook)', 'contact-widgets' ), get_bloginfo( 'name' ), $field['label'] ),
164
  isset( $fields['icon_size']['value'] ) ? esc_attr( $fields['icon_size']['value'] ) : '2x',
165
  esc_attr( $field['icon'] ),
166
+ ( $display_labels ) ? esc_html( $field['label'] ) : ''
167
  );
168
 
169
  }
179
  */
180
  public function front_end_enqueue_scripts() {
181
 
182
+ wp_enqueue_style( 'font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css', [], '4.7.0' );
183
 
184
  parent::front_end_enqueue_scripts();
185
 
languages/contact-widgets-da_DK.mo CHANGED
Binary file
languages/contact-widgets-de_DE.mo CHANGED
Binary file
languages/contact-widgets-el.mo CHANGED
Binary file
languages/contact-widgets-es_ES.mo CHANGED
Binary file
languages/contact-widgets-es_MX.mo CHANGED
Binary file
languages/contact-widgets-fi.mo CHANGED
Binary file
languages/contact-widgets-fr_FR.mo CHANGED
Binary file
languages/contact-widgets-hi_IN.mo CHANGED
Binary file
languages/contact-widgets-id_ID.mo CHANGED
Binary file
languages/contact-widgets-it_IT.mo CHANGED
Binary file
languages/contact-widgets-ja.mo CHANGED
Binary file
languages/contact-widgets-ko_KR.mo CHANGED
Binary file
languages/contact-widgets-mr.mo CHANGED
Binary file
languages/contact-widgets-ms_MY.mo CHANGED
Binary file
languages/contact-widgets-nb_NO.mo CHANGED
Binary file
languages/contact-widgets-nl_NL.mo CHANGED
Binary file
languages/contact-widgets-pl_PL.mo CHANGED
Binary file
languages/contact-widgets-pt_BR.mo CHANGED
Binary file
languages/contact-widgets-pt_PT.mo CHANGED
Binary file
languages/contact-widgets-ru_RU.mo CHANGED
Binary file
languages/contact-widgets-sv_SE.mo CHANGED
Binary file
languages/contact-widgets-th.mo CHANGED
Binary file
languages/contact-widgets-tl.mo CHANGED
Binary file
languages/contact-widgets-tr_TR.mo CHANGED
Binary file
languages/contact-widgets-uk.mo CHANGED
Binary file
languages/contact-widgets-vi.mo CHANGED
Binary file
languages/contact-widgets-zh_CN.mo CHANGED
Binary file
languages/contact-widgets-zh_HK.mo CHANGED
Binary file
languages/contact-widgets-zh_TW.mo CHANGED
Binary file
languages/contact-widgets.pot ADDED
@@ -0,0 +1,259 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (c) 2017 GoDaddy Operating Company, LLC. All Rights Reserved.
2
+ msgid ""
3
+ msgstr ""
4
+ "Project-Id-Version: Contact Widgets 1.4.0\n"
5
+ "Report-Msgid-Bugs-To: https://github.com/godaddy/wp-contact-widgets/issues\n"
6
+ "POT-Creation-Date: 2017-02-13 16:46:55+00:00\n"
7
+ "MIME-Version: 1.0\n"
8
+ "Content-Type: text/plain; charset=utf-8\n"
9
+ "Content-Transfer-Encoding: 8bit\n"
10
+ "PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
11
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
+ "Language-Team: LANGUAGE <LL@li.org>\n"
13
+ "X-Poedit-KeywordsList: "
14
+ "__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
15
+ "attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
16
+ "X-Generator: grunt-wp-i18n1.0.0\n"
17
+
18
+ #: contact-widgets.php:93
19
+ msgid ""
20
+ "Contact widgets requires PHP version %s or higher. Please deactivate the "
21
+ "plugin and contact your system administrator."
22
+ msgstr ""
23
+
24
+ #: includes/class-base-widget.php:488
25
+ msgid "Edit"
26
+ msgstr ""
27
+
28
+ #: includes/class-contact.php:29
29
+ msgid "Display your contact information."
30
+ msgstr ""
31
+
32
+ #: includes/class-contact.php:35
33
+ msgid "Contact Details"
34
+ msgstr ""
35
+
36
+ #: includes/class-contact.php:173 includes/class-social.php:217
37
+ msgid "Title:"
38
+ msgstr ""
39
+
40
+ #: includes/class-contact.php:174 includes/class-social.php:218
41
+ msgid "The title of widget. Leave empty for no title."
42
+ msgstr ""
43
+
44
+ #: includes/class-contact.php:179
45
+ msgid "Email:"
46
+ msgstr ""
47
+
48
+ #: includes/class-contact.php:186
49
+ msgid "An email address where website vistors can contact you."
50
+ msgstr ""
51
+
52
+ #: includes/class-contact.php:189
53
+ msgid "Phone:"
54
+ msgstr ""
55
+
56
+ #: includes/class-contact.php:191
57
+ msgid "A phone number that website vistors can call if they have questions."
58
+ msgstr ""
59
+
60
+ #: includes/class-contact.php:194
61
+ msgid "Fax:"
62
+ msgstr ""
63
+
64
+ #: includes/class-contact.php:196
65
+ msgid "A fax number that website vistors can use to send important documents."
66
+ msgstr ""
67
+
68
+ #: includes/class-contact.php:199
69
+ msgid "Address:"
70
+ msgstr ""
71
+
72
+ #: includes/class-contact.php:204
73
+ msgid "A physical address where website vistors can go to visit you in person."
74
+ msgstr ""
75
+
76
+ #: includes/class-contact.php:207 includes/class-social.php:228
77
+ msgid "Display labels?"
78
+ msgstr ""
79
+
80
+ #: includes/class-contact.php:217
81
+ msgid "Display map of address?"
82
+ msgstr ""
83
+
84
+ #: includes/class-social.php:20
85
+ msgid "Display links to your social media profiles."
86
+ msgstr ""
87
+
88
+ #: includes/class-social.php:26
89
+ msgid "Social Profiles"
90
+ msgstr ""
91
+
92
+ #: includes/social-networks.php:17
93
+ msgid "Facebook"
94
+ msgstr ""
95
+
96
+ #: includes/social-networks.php:22
97
+ msgid "Twitter"
98
+ msgstr ""
99
+
100
+ #: includes/social-networks.php:28
101
+ msgid "Google+"
102
+ msgstr ""
103
+
104
+ #: includes/social-networks.php:34
105
+ msgid "LinkedIn"
106
+ msgstr ""
107
+
108
+ #: includes/social-networks.php:39
109
+ msgid "RSS feed"
110
+ msgstr ""
111
+
112
+ #: includes/social-networks.php:43
113
+ msgid "Pinterest"
114
+ msgstr ""
115
+
116
+ #: includes/social-networks.php:48
117
+ msgid "YouTube"
118
+ msgstr ""
119
+
120
+ #: includes/social-networks.php:54
121
+ msgid "Vimeo"
122
+ msgstr ""
123
+
124
+ #: includes/social-networks.php:59
125
+ msgid "Flickr"
126
+ msgstr ""
127
+
128
+ #: includes/social-networks.php:64
129
+ msgid "500px"
130
+ msgstr ""
131
+
132
+ #: includes/social-networks.php:69
133
+ msgid "Foursquare"
134
+ msgstr ""
135
+
136
+ #: includes/social-networks.php:74
137
+ msgid "GitHub"
138
+ msgstr ""
139
+
140
+ #: includes/social-networks.php:79
141
+ msgid "Slack"
142
+ msgstr ""
143
+
144
+ #: includes/social-networks.php:84
145
+ msgid "Skype"
146
+ msgstr ""
147
+
148
+ #: includes/social-networks.php:91
149
+ msgid "SoundCloud"
150
+ msgstr ""
151
+
152
+ #: includes/social-networks.php:96
153
+ msgid "TripAdvisor"
154
+ msgstr ""
155
+
156
+ #: includes/social-networks.php:100
157
+ msgid "WordPress"
158
+ msgstr ""
159
+
160
+ #: includes/social-networks.php:105
161
+ msgid "Yelp"
162
+ msgstr ""
163
+
164
+ #: includes/social-networks.php:110
165
+ msgid "Amazon"
166
+ msgstr ""
167
+
168
+ #: includes/social-networks.php:114
169
+ msgid "Instagram"
170
+ msgstr ""
171
+
172
+ #: includes/social-networks.php:119
173
+ msgid "Vine"
174
+ msgstr ""
175
+
176
+ #: includes/social-networks.php:124
177
+ msgid "reddit"
178
+ msgstr ""
179
+
180
+ #: includes/social-networks.php:129
181
+ msgid "XING"
182
+ msgstr ""
183
+
184
+ #: includes/social-networks.php:133
185
+ msgid "Tumblr"
186
+ msgstr ""
187
+
188
+ #: includes/social-networks.php:138
189
+ msgid "WhatsApp"
190
+ msgstr ""
191
+
192
+ #: includes/social-networks.php:142
193
+ msgid "WeChat"
194
+ msgstr ""
195
+
196
+ #: includes/social-networks.php:146
197
+ msgid "Medium"
198
+ msgstr ""
199
+
200
+ #: includes/social-networks.php:151
201
+ msgid "Dribbble"
202
+ msgstr ""
203
+
204
+ #: includes/social-networks.php:156
205
+ msgid "Twitch"
206
+ msgstr ""
207
+
208
+ #: includes/social-networks.php:161
209
+ msgid "VK"
210
+ msgstr ""
211
+
212
+ #: includes/social-networks.php:165
213
+ msgid "Trello"
214
+ msgstr ""
215
+
216
+ #. Plugin Name of the plugin/theme
217
+ msgid "Contact Widgets"
218
+ msgstr ""
219
+
220
+ #. Description of the plugin/theme
221
+ msgid ""
222
+ "Beautifully display social media and contact information on your website "
223
+ "with these simple widgets."
224
+ msgstr ""
225
+
226
+ #. Author of the plugin/theme
227
+ msgid "GoDaddy"
228
+ msgstr ""
229
+
230
+ #. Author URI of the plugin/theme
231
+ msgid "https://godaddy.com"
232
+ msgstr ""
233
+
234
+ #: includes/class-social.php:163
235
+ msgctxt ""
236
+ "1. Title of website (e.g. My Cat Blog), 2. Name of social network (e.g. "
237
+ "Facebook)"
238
+ msgid "Visit %1$s on %2$s"
239
+ msgstr ""
240
+
241
+ #: includes/social-networks.php:9
242
+ msgctxt "Must be lowercase and use url-safe characters"
243
+ msgid "username"
244
+ msgstr ""
245
+
246
+ #: includes/social-networks.php:10
247
+ msgctxt "Must be lowercase and use url-safe characters"
248
+ msgid "channel"
249
+ msgstr ""
250
+
251
+ #: includes/social-networks.php:11
252
+ msgctxt "Must be lowercase and use url-safe characters"
253
+ msgid "company"
254
+ msgstr ""
255
+
256
+ #: includes/social-networks.php:12
257
+ msgctxt "Must be lowercase and use url-safe characters"
258
+ msgid "board"
259
+ msgstr ""
license.txt ADDED
@@ -0,0 +1,339 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 2, June 1991
3
+
4
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+ Preamble
10
+
11
+ The licenses for most software are designed to take away your
12
+ freedom to share and change it. By contrast, the GNU General Public
13
+ License is intended to guarantee your freedom to share and change free
14
+ software--to make sure the software is free for all its users. This
15
+ General Public License applies to most of the Free Software
16
+ Foundation's software and to any other program whose authors commit to
17
+ using it. (Some other Free Software Foundation software is covered by
18
+ the GNU Lesser General Public License instead.) You can apply it to
19
+ your programs, too.
20
+
21
+ When we speak of free software, we are referring to freedom, not
22
+ price. Our General Public Licenses are designed to make sure that you
23
+ have the freedom to distribute copies of free software (and charge for
24
+ this service if you wish), that you receive source code or can get it
25
+ if you want it, that you can change the software or use pieces of it
26
+ in new free programs; and that you know you can do these things.
27
+
28
+ To protect your rights, we need to make restrictions that forbid
29
+ anyone to deny you these rights or to ask you to surrender the rights.
30
+ These restrictions translate to certain responsibilities for you if you
31
+ distribute copies of the software, or if you modify it.
32
+
33
+ For example, if you distribute copies of such a program, whether
34
+ gratis or for a fee, you must give the recipients all the rights that
35
+ you have. You must make sure that they, too, receive or can get the
36
+ source code. And you must show them these terms so they know their
37
+ rights.
38
+
39
+ We protect your rights with two steps: (1) copyright the software, and
40
+ (2) offer you this license which gives you legal permission to copy,
41
+ distribute and/or modify the software.
42
+
43
+ Also, for each author's protection and ours, we want to make certain
44
+ that everyone understands that there is no warranty for this free
45
+ software. If the software is modified by someone else and passed on, we
46
+ want its recipients to know that what they have is not the original, so
47
+ that any problems introduced by others will not reflect on the original
48
+ authors' reputations.
49
+
50
+ Finally, any free program is threatened constantly by software
51
+ patents. We wish to avoid the danger that redistributors of a free
52
+ program will individually obtain patent licenses, in effect making the
53
+ program proprietary. To prevent this, we have made it clear that any
54
+ patent must be licensed for everyone's free use or not licensed at all.
55
+
56
+ The precise terms and conditions for copying, distribution and
57
+ modification follow.
58
+
59
+ GNU GENERAL PUBLIC LICENSE
60
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
+
62
+ 0. This License applies to any program or other work which contains
63
+ a notice placed by the copyright holder saying it may be distributed
64
+ under the terms of this General Public License. The "Program", below,
65
+ refers to any such program or work, and a "work based on the Program"
66
+ means either the Program or any derivative work under copyright law:
67
+ that is to say, a work containing the Program or a portion of it,
68
+ either verbatim or with modifications and/or translated into another
69
+ language. (Hereinafter, translation is included without limitation in
70
+ the term "modification".) Each licensee is addressed as "you".
71
+
72
+ Activities other than copying, distribution and modification are not
73
+ covered by this License; they are outside its scope. The act of
74
+ running the Program is not restricted, and the output from the Program
75
+ is covered only if its contents constitute a work based on the
76
+ Program (independent of having been made by running the Program).
77
+ Whether that is true depends on what the Program does.
78
+
79
+ 1. You may copy and distribute verbatim copies of the Program's
80
+ source code as you receive it, in any medium, provided that you
81
+ conspicuously and appropriately publish on each copy an appropriate
82
+ copyright notice and disclaimer of warranty; keep intact all the
83
+ notices that refer to this License and to the absence of any warranty;
84
+ and give any other recipients of the Program a copy of this License
85
+ along with the Program.
86
+
87
+ You may charge a fee for the physical act of transferring a copy, and
88
+ you may at your option offer warranty protection in exchange for a fee.
89
+
90
+ 2. You may modify your copy or copies of the Program or any portion
91
+ of it, thus forming a work based on the Program, and copy and
92
+ distribute such modifications or work under the terms of Section 1
93
+ above, provided that you also meet all of these conditions:
94
+
95
+ a) You must cause the modified files to carry prominent notices
96
+ stating that you changed the files and the date of any change.
97
+
98
+ b) You must cause any work that you distribute or publish, that in
99
+ whole or in part contains or is derived from the Program or any
100
+ part thereof, to be licensed as a whole at no charge to all third
101
+ parties under the terms of this License.
102
+
103
+ c) If the modified program normally reads commands interactively
104
+ when run, you must cause it, when started running for such
105
+ interactive use in the most ordinary way, to print or display an
106
+ announcement including an appropriate copyright notice and a
107
+ notice that there is no warranty (or else, saying that you provide
108
+ a warranty) and that users may redistribute the program under
109
+ these conditions, and telling the user how to view a copy of this
110
+ License. (Exception: if the Program itself is interactive but
111
+ does not normally print such an announcement, your work based on
112
+ the Program is not required to print an announcement.)
113
+
114
+ These requirements apply to the modified work as a whole. If
115
+ identifiable sections of that work are not derived from the Program,
116
+ and can be reasonably considered independent and separate works in
117
+ themselves, then this License, and its terms, do not apply to those
118
+ sections when you distribute them as separate works. But when you
119
+ distribute the same sections as part of a whole which is a work based
120
+ on the Program, the distribution of the whole must be on the terms of
121
+ this License, whose permissions for other licensees extend to the
122
+ entire whole, and thus to each and every part regardless of who wrote it.
123
+
124
+ Thus, it is not the intent of this section to claim rights or contest
125
+ your rights to work written entirely by you; rather, the intent is to
126
+ exercise the right to control the distribution of derivative or
127
+ collective works based on the Program.
128
+
129
+ In addition, mere aggregation of another work not based on the Program
130
+ with the Program (or with a work based on the Program) on a volume of
131
+ a storage or distribution medium does not bring the other work under
132
+ the scope of this License.
133
+
134
+ 3. You may copy and distribute the Program (or a work based on it,
135
+ under Section 2) in object code or executable form under the terms of
136
+ Sections 1 and 2 above provided that you also do one of the following:
137
+
138
+ a) Accompany it with the complete corresponding machine-readable
139
+ source code, which must be distributed under the terms of Sections
140
+ 1 and 2 above on a medium customarily used for software interchange; or,
141
+
142
+ b) Accompany it with a written offer, valid for at least three
143
+ years, to give any third party, for a charge no more than your
144
+ cost of physically performing source distribution, a complete
145
+ machine-readable copy of the corresponding source code, to be
146
+ distributed under the terms of Sections 1 and 2 above on a medium
147
+ customarily used for software interchange; or,
148
+
149
+ c) Accompany it with the information you received as to the offer
150
+ to distribute corresponding source code. (This alternative is
151
+ allowed only for noncommercial distribution and only if you
152
+ received the program in object code or executable form with such
153
+ an offer, in accord with Subsection b above.)
154
+
155
+ The source code for a work means the preferred form of the work for
156
+ making modifications to it. For an executable work, complete source
157
+ code means all the source code for all modules it contains, plus any
158
+ associated interface definition files, plus the scripts used to
159
+ control compilation and installation of the executable. However, as a
160
+ special exception, the source code distributed need not include
161
+ anything that is normally distributed (in either source or binary
162
+ form) with the major components (compiler, kernel, and so on) of the
163
+ operating system on which the executable runs, unless that component
164
+ itself accompanies the executable.
165
+
166
+ If distribution of executable or object code is made by offering
167
+ access to copy from a designated place, then offering equivalent
168
+ access to copy the source code from the same place counts as
169
+ distribution of the source code, even though third parties are not
170
+ compelled to copy the source along with the object code.
171
+
172
+ 4. You may not copy, modify, sublicense, or distribute the Program
173
+ except as expressly provided under this License. Any attempt
174
+ otherwise to copy, modify, sublicense or distribute the Program is
175
+ void, and will automatically terminate your rights under this License.
176
+ However, parties who have received copies, or rights, from you under
177
+ this License will not have their licenses terminated so long as such
178
+ parties remain in full compliance.
179
+
180
+ 5. You are not required to accept this License, since you have not
181
+ signed it. However, nothing else grants you permission to modify or
182
+ distribute the Program or its derivative works. These actions are
183
+ prohibited by law if you do not accept this License. Therefore, by
184
+ modifying or distributing the Program (or any work based on the
185
+ Program), you indicate your acceptance of this License to do so, and
186
+ all its terms and conditions for copying, distributing or modifying
187
+ the Program or works based on it.
188
+
189
+ 6. Each time you redistribute the Program (or any work based on the
190
+ Program), the recipient automatically receives a license from the
191
+ original licensor to copy, distribute or modify the Program subject to
192
+ these terms and conditions. You may not impose any further
193
+ restrictions on the recipients' exercise of the rights granted herein.
194
+ You are not responsible for enforcing compliance by third parties to
195
+ this License.
196
+
197
+ 7. If, as a consequence of a court judgment or allegation of patent
198
+ infringement or for any other reason (not limited to patent issues),
199
+ conditions are imposed on you (whether by court order, agreement or
200
+ otherwise) that contradict the conditions of this License, they do not
201
+ excuse you from the conditions of this License. If you cannot
202
+ distribute so as to satisfy simultaneously your obligations under this
203
+ License and any other pertinent obligations, then as a consequence you
204
+ may not distribute the Program at all. For example, if a patent
205
+ license would not permit royalty-free redistribution of the Program by
206
+ all those who receive copies directly or indirectly through you, then
207
+ the only way you could satisfy both it and this License would be to
208
+ refrain entirely from distribution of the Program.
209
+
210
+ If any portion of this section is held invalid or unenforceable under
211
+ any particular circumstance, the balance of the section is intended to
212
+ apply and the section as a whole is intended to apply in other
213
+ circumstances.
214
+
215
+ It is not the purpose of this section to induce you to infringe any
216
+ patents or other property right claims or to contest validity of any
217
+ such claims; this section has the sole purpose of protecting the
218
+ integrity of the free software distribution system, which is
219
+ implemented by public license practices. Many people have made
220
+ generous contributions to the wide range of software distributed
221
+ through that system in reliance on consistent application of that
222
+ system; it is up to the author/donor to decide if he or she is willing
223
+ to distribute software through any other system and a licensee cannot
224
+ impose that choice.
225
+
226
+ This section is intended to make thoroughly clear what is believed to
227
+ be a consequence of the rest of this License.
228
+
229
+ 8. If the distribution and/or use of the Program is restricted in
230
+ certain countries either by patents or by copyrighted interfaces, the
231
+ original copyright holder who places the Program under this License
232
+ may add an explicit geographical distribution limitation excluding
233
+ those countries, so that distribution is permitted only in or among
234
+ countries not thus excluded. In such case, this License incorporates
235
+ the limitation as if written in the body of this License.
236
+
237
+ 9. The Free Software Foundation may publish revised and/or new versions
238
+ of the General Public License from time to time. Such new versions will
239
+ be similar in spirit to the present version, but may differ in detail to
240
+ address new problems or concerns.
241
+
242
+ Each version is given a distinguishing version number. If the Program
243
+ specifies a version number of this License which applies to it and "any
244
+ later version", you have the option of following the terms and conditions
245
+ either of that version or of any later version published by the Free
246
+ Software Foundation. If the Program does not specify a version number of
247
+ this License, you may choose any version ever published by the Free Software
248
+ Foundation.
249
+
250
+ 10. If you wish to incorporate parts of the Program into other free
251
+ programs whose distribution conditions are different, write to the author
252
+ to ask for permission. For software which is copyrighted by the Free
253
+ Software Foundation, write to the Free Software Foundation; we sometimes
254
+ make exceptions for this. Our decision will be guided by the two goals
255
+ of preserving the free status of all derivatives of our free software and
256
+ of promoting the sharing and reuse of software generally.
257
+
258
+ NO WARRANTY
259
+
260
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
+ PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
+ OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266
+ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267
+ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
+ REPAIR OR CORRECTION.
269
+
270
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
+ OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
+ POSSIBILITY OF SUCH DAMAGES.
279
+
280
+ END OF TERMS AND CONDITIONS
281
+
282
+ How to Apply These Terms to Your New Programs
283
+
284
+ If you develop a new program, and you want it to be of the greatest
285
+ possible use to the public, the best way to achieve this is to make it
286
+ free software which everyone can redistribute and change under these terms.
287
+
288
+ To do so, attach the following notices to the program. It is safest
289
+ to attach them to the start of each source file to most effectively
290
+ convey the exclusion of warranty; and each file should have at least
291
+ the "copyright" line and a pointer to where the full notice is found.
292
+
293
+ <one line to give the program's name and a brief idea of what it does.>
294
+ Copyright (C) <year> <name of author>
295
+
296
+ This program is free software; you can redistribute it and/or modify
297
+ it under the terms of the GNU General Public License as published by
298
+ the Free Software Foundation; either version 2 of the License, or
299
+ (at your option) any later version.
300
+
301
+ This program is distributed in the hope that it will be useful,
302
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
303
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304
+ GNU General Public License for more details.
305
+
306
+ You should have received a copy of the GNU General Public License along
307
+ with this program; if not, write to the Free Software Foundation, Inc.,
308
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309
+
310
+ Also add information on how to contact you by electronic and paper mail.
311
+
312
+ If the program is interactive, make it output a short notice like this
313
+ when it starts in an interactive mode:
314
+
315
+ Gnomovision version 69, Copyright (C) year name of author
316
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317
+ This is free software, and you are welcome to redistribute it
318
+ under certain conditions; type `show c' for details.
319
+
320
+ The hypothetical commands `show w' and `show c' should show the appropriate
321
+ parts of the General Public License. Of course, the commands you use may
322
+ be called something other than `show w' and `show c'; they could even be
323
+ mouse-clicks or menu items--whatever suits your program.
324
+
325
+ You should also get your employer (if you work as a programmer) or your
326
+ school, if any, to sign a "copyright disclaimer" for the program, if
327
+ necessary. Here is a sample; alter the names:
328
+
329
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
+
332
+ <signature of Ty Coon>, 1 April 1989
333
+ Ty Coon, President of Vice
334
+
335
+ This General Public License does not permit incorporating your program into
336
+ proprietary programs. If your program is a subroutine library, you may
337
+ consider it more useful to permit linking proprietary applications with the
338
+ library. If this is what you want to do, use the GNU Lesser General
339
+ Public License instead of this License.
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Contact Widgets ===
2
- Contributors: godaddy, jonathanbardo, fjarrett
3
- Tags: widget, contact, social, sharing, share button, share buttons, share links, social icons, social media, facebook, twitter, google plus, instagram
4
- Requires at least: 4.4.2
5
- Tested up to: 4.7
6
- Stable tag: 1.4.0
7
  License: GPL-2.0
8
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -11,53 +11,36 @@ Beautifully display social media and contact information on your website with th
11
 
12
  == Description ==
13
 
14
- **Note: This plugin requires PHP 5.4 or higher to be activated.**
15
-
16
- This plugin adds two new widgets to your WordPress website:
17
-
18
- * Contact Information: Displays your contact information including email address, phone number, fax and physical address (including a map).
19
- * Social Media Profiles: Displays your social media profiles in an attractive, intuitive way.
20
-
21
- Both widgets are compatible with the WordPress Customizer and will automatically refresh when changes are made.
22
-
23
- [youtube https://www.youtube.com/watch?v=Y3NsrWHd_us]
24
-
25
- **Languages Supported:**
26
-
27
- * English
28
- * Dansk
29
- * Deutsch
30
- * Ελληνικά
31
- * Español
32
- * Español de México
33
- * Suomi
34
- * Français
35
- * हिन्दी
36
- * Bahasa Indonesia
37
- * Italiano
38
- * 日本語
39
- * 한국어
40
- * मराठी
41
- * Bahasa Melayu
42
- * Norsk bokmål
43
- * Nederlands
44
- * Polski
45
- * Português do Brasil
46
- * Português
47
- * Русский
48
- * Svenska
49
- * ไทย
50
- * Tagalog
51
- * Türkçe
52
- * Українська
53
- * Tiếng Việt
54
- * 简体中文
55
- * 香港中文版
56
- * 繁體中文
57
-
58
- **Improvement? Bugs?**
59
-
60
- Please fill out an issue [here](https://github.com/godaddy/wp-contact-widgets/issues).
61
 
62
  == Screenshots ==
63
 
@@ -67,13 +50,14 @@ Please fill out an issue [here](https://github.com/godaddy/wp-contact-widgets/is
67
 
68
  == Frequently Asked Questions ==
69
 
70
- ### How do I add additional fields to the contact widget?
71
 
72
- Adding additional fields to the contact widget is as simple as adding a WordPress filter.
73
 
74
  Here is an example:
 
75
  <pre lang="php">
76
- add_filter( 'wpcw_widget_contact_custom_fields', function( $fields, $instance ) {
77
 
78
  $fields['cellphone'] = [
79
  'order' => 2,
@@ -87,13 +71,14 @@ add_filter( 'wpcw_widget_contact_custom_fields', function( $fields, $instance )
87
  }, 10, 2 );
88
  </pre>
89
 
90
- ### How do I add additional fields to the social widget?
91
 
92
- The social widget requires a different set of options but follows the same principle as above.
93
 
94
  Here is an example:
 
95
  <pre lang="php">
96
- add_filter( 'wpcw_widget_social_custom_fields', function( $fields, $instance ) {
97
 
98
  $fields['scribd'] = [
99
  'icon' => 'scribd', //See font-awesome icon slug
@@ -113,75 +98,87 @@ add_filter( 'wpcw_widget_social_custom_fields', function( $fields, $instance ) {
113
 
114
  == Changelog ==
115
 
 
 
 
 
 
 
 
116
  = 1.4.0 - January 10, 2017 =
117
 
118
- * Defer iframe loading by default
119
- * Remove frameborder from iframe
120
- * Add filter to change zoom level of map
121
- * Deprecate YouTube link while maintaining backward compatibility
 
 
 
122
 
123
  = 1.3.3 - October 14, 2016 =
124
 
125
- * Minor bug fixes
126
- * Remove edit button when previewing in the customizer
 
 
127
 
128
  = 1.3.2 - August 16, 2016 =
129
 
130
- * WordPress 4.6 compatibility
131
- * Fix bug with edit button not working
132
- * Plugin icon update
133
- * Update translation
134
- * New: Add RSS to social networks.
135
 
136
  Props [@jonathanbardo](https://github.com/jonathanbardo), [@fjarrett](https://github.com/fjarrett)
137
 
138
  = 1.3.1 - June 3, 2016 =
139
 
140
- * New: Language support for `mr`.
141
- * New: Add 500px to social networks.
142
 
143
  Props [@jonathanbardo](https://github.com/jonathanbardo), [@fjarrett](https://github.com/fjarrett), [@salvoventura](https://github.com/salvoventura)
144
 
145
  = 1.3.0 - May 19, 2016 =
146
 
147
- * New: Add front-end "Edit" link to quickly edit widgets in the Customizer.
148
- * Fix: Use WP-CLI nightlies in tests.
149
 
150
  Props [@jonathanbardo](https://github.com/jonathanbardo), [@fjarrett](https://github.com/fjarrett)
151
 
152
  = 1.2.0 - April 12, 2016 =
153
 
154
- * New: WordPress 4.5 compatibility.
155
- * Tweak: Improve widget names.
156
 
157
  Props [@jonathanbardo](https://github.com/jonathanbardo), [@fjarrett](https://github.com/fjarrett)
158
 
159
  = 1.1.0 - March 15, 2016 =
160
 
161
- * New: Support localization on Google Maps.
162
 
163
  Props [@jonathanbardo](https://github.com/jonathanbardo), [@fjarrett](https://github.com/fjarrett)
164
 
165
  = 1.0.4 - March 9, 2016 =
166
 
167
- * Tweak: Language updates.
168
 
169
  Props [@jonathanbardo](https://github.com/jonathanbardo)
170
 
171
  = 1.0.2 - February 24, 2016 =
172
 
173
- * New: Language support for 27 locales.
174
 
175
  Props [@jonathanbardo](https://github.com/jonathanbardo)
176
 
177
  = 1.0.1 - February 24, 2016 =
178
 
179
- * New: Added possibility to add custom fields to contact and social widget.
180
 
181
  Props [@jonathanbardo](https://github.com/jonathanbardo)
182
 
183
  = 1.0.0 - February 23, 2016 =
184
 
185
- * Initial release.
186
 
187
  Props [@jonathanbardo](https://github.com/jonathanbardo), [@fjarrett](https://github.com/fjarrett)
1
  === Contact Widgets ===
2
+ Contributors: godaddy, jonathanbardo, fjarrett, eherman24
3
+ Tags: widget, contact, social, social icons, social media, facebook, twitter, instagram, linkedin, pinterest
4
+ Requires at least: 4.4
5
+ Tested up to: 4.9
6
+ Stable tag: 1.4.1
7
  License: GPL-2.0
8
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
9
 
11
 
12
  == Description ==
13
 
14
+ **Note: This plugin requires PHP 5.4 or higher**
15
+
16
+ Beautifully display social media and contact information on your website with simple, easy-to-use widgets.
17
+
18
+ [youtube https://youtu.be/Y3NsrWHd_us]
19
+
20
+ **Contact Information**
21
+
22
+ Display your contact information including email address, phone number, fax and physical address (including a map).
23
+
24
+ **Social Media Profiles**
25
+
26
+ Display your social media profiles in an attractive, intuitive way.
27
+
28
+ **30 Languages Supported**
29
+
30
+ English - [Dansk](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-da_DK.po) - [Deutsch](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-de_DE.po) - [Ελληνικά](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-el.po) - [Español](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-es_ES.po) - [Español de México](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-es_MX.po) - [Suomi](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-fi.po) - [Français](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-fr_FR.po) - [हिन्दी](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-hi_IN.po) - [Bahasa Indonesia](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-id_ID.po) - [Italiano](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-it_IT.po) - [日本語](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-ja.po) - [한국어](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-ko_KR.po) - [मराठी](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-mr.po) - [Bahasa Melayu](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-ms_MY.po) - [Norsk bokmål](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-nb_NO.po) - [Nederlands](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-nl_NL.po) - [Polski](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-pl_PL.po) - [Português do Brasil](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-pt_BR.po) - [Português](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-pt_PT.po) - [Русский](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-ru_RU.po) - [Svenska](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-sv_SE.po) - [ไทย](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-th.po) - [Tagalog](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-tl.po) - [Türkçe](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-tr_TR.po) - [Українська](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-uk.po) - [Tiếng Việt](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-vi.po) - [简体中文](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-zh_CN.po) - [香港中文版](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-zh_HK.po) - [繁體中文](https://github.com/godaddy/wp-contact-widgets/blob/master/languages/contact-widgets-zh_TW.po)
31
+
32
+ **Support**
33
+
34
+ If you run into a problem, post your question in the [plugin support forum](https://wordpress.org/support/plugin/contact-widgets) and we would be happy to help. Remember, the more information you can provide up-front, the easier it is for us to verify the problem and the faster we can help!
35
+
36
+ * Screenshot(s) - [How-to guide](https://www.take-a-screenshot.org/)
37
+ * Name and version of your theme - [Video tutorial](https://youtu.be/xUVRgorHSyA)
38
+ * List of all active plugins on your site - [Video tutorial](https://youtu.be/g3TDziHl7zQ?t=1m51s)
39
+ * Steps taken or details we should know to reproduce and verify the problem
40
+
41
+ **Contributing**
42
+
43
+ Development of this plugin is done [on GitHub](https://github.com/godaddy/wp-contact-widgets). If you believe you have found a bug, or have a killer feature idea, please [open a new issue](https://github.com/godaddy/wp-contact-widgets/issues) there. Pull requests on existing issues are also welcome!
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
 
45
  == Screenshots ==
46
 
50
 
51
  == Frequently Asked Questions ==
52
 
53
+ = How do I add additional fields to the Contact Information widget? =
54
 
55
+ Adding additional fields to the Contact Information widget is as simple as adding a WordPress filter.
56
 
57
  Here is an example:
58
+
59
  <pre lang="php">
60
+ add_filter( 'wpcw_widget_contact_custom_fields', function ( $fields, $instance ) {
61
 
62
  $fields['cellphone'] = [
63
  'order' => 2,
71
  }, 10, 2 );
72
  </pre>
73
 
74
+ = How do I add additional fields to the Social Media Profiles widget? =
75
 
76
+ The Social Media Profiles widget requires a different set of options but follows the same principle as above.
77
 
78
  Here is an example:
79
+
80
  <pre lang="php">
81
+ add_filter( 'wpcw_widget_social_custom_fields', function ( $fields, $instance ) {
82
 
83
  $fields['scribd'] = [
84
  'icon' => 'scribd', //See font-awesome icon slug
98
 
99
  == Changelog ==
100
 
101
+ = 1.4.1 - February 13, 2017 =
102
+
103
+ * Tweak: Use FontAwesome 4.7.0
104
+ * Fix: Compatibility issues when other plugins add widget form fields
105
+
106
+ Props [@jonathanbardo](https://github.com/jonathanbardo), [@fjarrett](https://github.com/fjarrett)
107
+
108
  = 1.4.0 - January 10, 2017 =
109
 
110
+ * New: WordPress 4.7 compatibility
111
+ * New: Defer map iframe loading by default
112
+ * Tweak: Remove frameborder from map iframes
113
+ * Tweak: Add filter to change zoom level of map
114
+ * Tweak: Deprecate YouTube link while maintaining backward compatibility
115
+
116
+ Props [@fjarrett](https://github.com/fjarrett), [@jonathanbardo](https://github.com/jonathanbardo), [@EvanHerman](https://github.com/EvanHerman)
117
 
118
  = 1.3.3 - October 14, 2016 =
119
 
120
+ * Tweak: Remove edit button during Customize preview
121
+ * Fix: Minor bugs
122
+
123
+ Props [@jonathanbardo](https://github.com/jonathanbardo)
124
 
125
  = 1.3.2 - August 16, 2016 =
126
 
127
+ * New: WordPress 4.6 compatibility
128
+ * New: Add RSS to social networks
129
+ * Tweak: Plugin icon update
130
+ * Tweak: Update translation
131
+ * Fix: Edit button not working
132
 
133
  Props [@jonathanbardo](https://github.com/jonathanbardo), [@fjarrett](https://github.com/fjarrett)
134
 
135
  = 1.3.1 - June 3, 2016 =
136
 
137
+ * New: Language support for Marathi
138
+ * New: Add 500px to social networks
139
 
140
  Props [@jonathanbardo](https://github.com/jonathanbardo), [@fjarrett](https://github.com/fjarrett), [@salvoventura](https://github.com/salvoventura)
141
 
142
  = 1.3.0 - May 19, 2016 =
143
 
144
+ * New: Add front-end "Edit" link to quickly edit widgets in the Customizer
145
+ * Fix: Use WP-CLI nightlies in tests
146
 
147
  Props [@jonathanbardo](https://github.com/jonathanbardo), [@fjarrett](https://github.com/fjarrett)
148
 
149
  = 1.2.0 - April 12, 2016 =
150
 
151
+ * New: WordPress 4.5 compatibility
152
+ * Tweak: Improve widget names
153
 
154
  Props [@jonathanbardo](https://github.com/jonathanbardo), [@fjarrett](https://github.com/fjarrett)
155
 
156
  = 1.1.0 - March 15, 2016 =
157
 
158
+ * New: Support localization on Google Maps
159
 
160
  Props [@jonathanbardo](https://github.com/jonathanbardo), [@fjarrett](https://github.com/fjarrett)
161
 
162
  = 1.0.4 - March 9, 2016 =
163
 
164
+ * Tweak: Language updates
165
 
166
  Props [@jonathanbardo](https://github.com/jonathanbardo)
167
 
168
  = 1.0.2 - February 24, 2016 =
169
 
170
+ * New: Language support for 27 locales
171
 
172
  Props [@jonathanbardo](https://github.com/jonathanbardo)
173
 
174
  = 1.0.1 - February 24, 2016 =
175
 
176
+ * New: Added possibility to add custom fields to contact and social widget
177
 
178
  Props [@jonathanbardo](https://github.com/jonathanbardo)
179
 
180
  = 1.0.0 - February 23, 2016 =
181
 
182
+ * Initial release
183
 
184
  Props [@jonathanbardo](https://github.com/jonathanbardo), [@fjarrett](https://github.com/fjarrett)