Version Description
- Fix: Plus prefix appearing when more than one tel number added.
- Fix: Color picker's clear button position issue.
- Fix: Markup issue in address and social profiles widget.
Download this release
Release Info
Developer | brainstormworg |
Plugin | Astra Widgets |
Version | 1.2.2 |
Comparing to | |
See all releases |
Code changes from version 1.2.1 to 1.2.2
- assets/css/minified/astra-widgets-admin.min.css +1 -1
- assets/css/unminified/astra-widgets-admin-rtl.css +5 -0
- assets/css/unminified/astra-widgets-admin.css +5 -0
- astra-widgets.php +2 -2
- classes/widgets/class-astra-widget-address.php +2 -6
- classes/widgets/class-astra-widget-social-profiles.php +1 -1
- languages/astra-widgets.pot +22 -18
- readme.txt +7 -2
assets/css/minified/astra-widgets-admin.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wp-core-ui .next-field-image .next-select-image{padding:4px 0;width:100%;text-align:center;height:auto}.astra-repeater-field{cursor:move;border-bottom:1px solid #eee}.astra-repeater-field:last-child{border-bottom:none}.astra-repeater-field .dashicons{font-size:1rem;height:1rem;width:1rem;color:#c1c1c1}.astra-repeater-field .dashicons-admin-page.clone{margin-right:.3em}.astra-repeater-container{margin-bottom:1em}.astra-repeater-field label{margin-bottom:.5em;display:inline-block}.astra-repeater .markukp p{margin:1em 0}.astra-repeater .add-new{margin-bottom:1em}.astra-repeater-field .clone,.astra-repeater-field .remove{cursor:pointer}.astra-repeater-field .actions{padding:10px;background:#fafafa;text-align:right}.astra-repeater-field .markukp{display:none}.astra-repeater-field .actions .dashicons-move,.astra-repeater-field .actions .title{float:left}.astra-repeater-field .actions .title{margin-left:.5em}.astra-repeater-field .index{display:none}.astra-repeater-field span.title:before{font-size:.9em;margin-right:.5em}.astra-field-image .astra-remove-image{position:absolute;background:0 0;border:none;box-shadow:none;top:.6em;left:4em;color:#a00;font-size:13px;text-decoration:underline;transition:all .25s ease}.astra-field-image .astra-remove-image:hover{outline:0;background:0 0;box-shadow:none;color:#dc3232}.astra-field-image-preview{position:relative}.astra-field-image{-js-display:flex;display:flex}.astra-field-image-preview img{border-width:1px 0 1px 1px;border-color:#bbb;border-style:solid;line-height:0;box-shadow:0 1px 1px #fff;width:40px;height:40px;padding:5.5px;box-shadow:inset 0 1px 3px rgba(0,0,0,.2)}.astra-field-image-preview{background:#f9f9f9;background:-o-linear-gradient(#f9f9f9,#f2f2f2);box-shadow:0 1px 2px rgba(0,0,0,.1);-moz-border-top-left-radius:3px;border-top-left-radius:3px;-moz-border-bottom-left-radius:3px;border-bottom-left-radius:3px;line-height:10px}.astra-field-image img{max-width:100%}.astra-field-image-title{margin-bottom:1em}.astra-icons-list-wrap{display:none}.astra-selected-icon{display:inline-block}.astra-icons-list-wrap .search-icon{width:100%;margin-top:1em;margin-bottom:1em}.astra-widget-icons-list .astra-widget-icon{-js-display:flex;display:flex;align-items:center;justify-content:center;float:left;cursor:pointer;padding:1em;width:30px;line-height:1em;font-size:1em;border:1px solid #f1f1f1;margin:0;text-align:center}.astra-widget-icons-list{display:inline-block;margin:1em 0 0 0;padding:0;max-height:250px;overflow:auto}.astra-widget-icon-selector{margin:1em 0}.astra-widget-field{margin:1em 0}.astra-widget-field label,.astra-widget-field+p label{margin-bottom:.5em;display:block}.astra-widget-field .wp-picker-input-wrap label{display:inline-block}.astra-widget-field-checkbox label{display:inline-block}.astra-widget-field-heading label{font-weight:700}.astra-widget-field-color .wp-color-result{margin-bottom:0!important}.astra-widget-icon svg{width:20px;height:20px}.astra-selected-icon svg{width:15px;height:15px;vertical-align:middle;margin-top:-1px}.astra-widget-icon.selected{background:#5897fb}.astra-widget-icon.selected svg{fill:#fff}.astra-widget-unit-field .widefat{width:91%}.astra-widgets-unit{margin-left:5px}.astra-repeater-field .markukp{padding:10px;border-top:1px solid #e5e5e5}.astra-repeater-sortable .astra-repeater-field{border:1px solid #e5e5e5;background:#fff;margin-bottom:5px}.astra-repeater-field.field-open .actions .toggle-arrow:before{content:"\f142"}.astra-repeater-field .actions .toggle-arrow:before{content:"\f140"}.astra-repeater-field .actions .toggle-arrow{display:inline-block;margin-top:-3px;font-size:1.6rem;width:1.6rem;color:silver}.astra-repeater-field title{line-height:1.4em}
|
1 |
+
.wp-core-ui .next-field-image .next-select-image{padding:4px 0;width:100%;text-align:center;height:auto}.astra-repeater-field{cursor:move;border-bottom:1px solid #eee}.astra-repeater-field:last-child{border-bottom:none}.astra-repeater-field .dashicons{font-size:1rem;height:1rem;width:1rem;color:#c1c1c1}.astra-repeater-field .dashicons-admin-page.clone{margin-right:.3em}.astra-repeater-container{margin-bottom:1em}.astra-repeater-field label{margin-bottom:.5em;display:inline-block}.astra-repeater .markukp p{margin:1em 0}.astra-repeater .add-new{margin-bottom:1em}.astra-repeater-field .clone,.astra-repeater-field .remove{cursor:pointer}.astra-repeater-field .actions{padding:10px;background:#fafafa;text-align:right}.astra-repeater-field .markukp{display:none}.astra-repeater-field .actions .dashicons-move,.astra-repeater-field .actions .title{float:left}.astra-repeater-field .actions .title{margin-left:.5em}.astra-repeater-field .index{display:none}.astra-repeater-field span.title:before{font-size:.9em;margin-right:.5em}.astra-field-image .astra-remove-image{position:absolute;background:0 0;border:none;box-shadow:none;top:.6em;left:4em;color:#a00;font-size:13px;text-decoration:underline;transition:all .25s ease}.astra-field-image .astra-remove-image:hover{outline:0;background:0 0;box-shadow:none;color:#dc3232}.astra-field-image-preview{position:relative}.astra-field-image{-js-display:flex;display:flex}.astra-field-image-preview img{border-width:1px 0 1px 1px;border-color:#bbb;border-style:solid;line-height:0;box-shadow:0 1px 1px #fff;width:40px;height:40px;padding:5.5px;box-shadow:inset 0 1px 3px rgba(0,0,0,.2)}.astra-field-image-preview{background:#f9f9f9;background:-o-linear-gradient(#f9f9f9,#f2f2f2);box-shadow:0 1px 2px rgba(0,0,0,.1);-moz-border-top-left-radius:3px;border-top-left-radius:3px;-moz-border-bottom-left-radius:3px;border-bottom-left-radius:3px;line-height:10px}.astra-field-image img{max-width:100%}.astra-field-image-title{margin-bottom:1em}.astra-icons-list-wrap{display:none}.astra-selected-icon{display:inline-block}.astra-icons-list-wrap .search-icon{width:100%;margin-top:1em;margin-bottom:1em}.astra-widget-icons-list .astra-widget-icon{-js-display:flex;display:flex;align-items:center;justify-content:center;float:left;cursor:pointer;padding:1em;width:30px;line-height:1em;font-size:1em;border:1px solid #f1f1f1;margin:0;text-align:center}.astra-widget-icons-list{display:inline-block;margin:1em 0 0 0;padding:0;max-height:250px;overflow:auto}.astra-widget-icon-selector{margin:1em 0}.astra-widget-field{margin:1em 0}.astra-widget-field label,.astra-widget-field+p label{margin-bottom:.5em;display:block}.astra-widget-field .wp-picker-input-wrap label{display:inline-block}.astra-widget-field-checkbox label{display:inline-block}.astra-widget-field-heading label{font-weight:700}.astra-widget-field .wp-picker-input-wrap .wp-picker-clear{min-height:30px;margin-left:6px}.astra-widget-field-color .wp-color-result{margin-bottom:0!important}.astra-widget-icon svg{width:20px;height:20px}.astra-selected-icon svg{width:15px;height:15px;vertical-align:middle;margin-top:-1px}.astra-widget-icon.selected{background:#5897fb}.astra-widget-icon.selected svg{fill:#fff}.astra-widget-unit-field .widefat{width:91%}.astra-widgets-unit{margin-left:5px}.astra-repeater-field .markukp{padding:10px;border-top:1px solid #e5e5e5}.astra-repeater-sortable .astra-repeater-field{border:1px solid #e5e5e5;background:#fff;margin-bottom:5px}.astra-repeater-field.field-open .actions .toggle-arrow:before{content:"\f142"}.astra-repeater-field .actions .toggle-arrow:before{content:"\f140"}.astra-repeater-field .actions .toggle-arrow{display:inline-block;margin-top:-3px;font-size:1.6rem;width:1.6rem;color:silver}.astra-repeater-field title{line-height:1.4em}
|
assets/css/unminified/astra-widgets-admin-rtl.css
CHANGED
@@ -202,6 +202,11 @@
|
|
202 |
font-weight: bold;
|
203 |
}
|
204 |
|
|
|
|
|
|
|
|
|
|
|
205 |
/**
|
206 |
* Field - Color Picker
|
207 |
*/
|
202 |
font-weight: bold;
|
203 |
}
|
204 |
|
205 |
+
.astra-widget-field .wp-picker-input-wrap .wp-picker-clear {
|
206 |
+
min-height: 30px;
|
207 |
+
margin-right: 6px;
|
208 |
+
}
|
209 |
+
|
210 |
/**
|
211 |
* Field - Color Picker
|
212 |
*/
|
assets/css/unminified/astra-widgets-admin.css
CHANGED
@@ -202,6 +202,11 @@
|
|
202 |
font-weight: bold;
|
203 |
}
|
204 |
|
|
|
|
|
|
|
|
|
|
|
205 |
/**
|
206 |
* Field - Color Picker
|
207 |
*/
|
202 |
font-weight: bold;
|
203 |
}
|
204 |
|
205 |
+
.astra-widget-field .wp-picker-input-wrap .wp-picker-clear {
|
206 |
+
min-height: 30px;
|
207 |
+
margin-left: 6px;
|
208 |
+
}
|
209 |
+
|
210 |
/**
|
211 |
* Field - Color Picker
|
212 |
*/
|
astra-widgets.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Astra Widgets
|
4 |
* Plugin URI: https://wpastra.com/
|
5 |
* Description: The Fastest Way to Add More Widgets into Your WordPress Website.
|
6 |
-
* Version: 1.2.
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: https://www.brainstormforce.com
|
9 |
* Text Domain: astra-widgets
|
@@ -25,7 +25,7 @@ define( 'ASTRA_WIDGETS_FILE', __FILE__ );
|
|
25 |
define( 'ASTRA_WIDGETS_BASE', plugin_basename( ASTRA_WIDGETS_FILE ) );
|
26 |
define( 'ASTRA_WIDGETS_DIR', plugin_dir_path( ASTRA_WIDGETS_FILE ) );
|
27 |
define( 'ASTRA_WIDGETS_URI', plugins_url( '/', ASTRA_WIDGETS_FILE ) );
|
28 |
-
define( 'ASTRA_WIDGETS_VER', '1.2.
|
29 |
define( 'ASTRA_WIDGETS_TEMPLATE_DEBUG_MODE', false );
|
30 |
|
31 |
require_once ASTRA_WIDGETS_DIR . 'classes/class-astra-widgets.php';
|
3 |
* Plugin Name: Astra Widgets
|
4 |
* Plugin URI: https://wpastra.com/
|
5 |
* Description: The Fastest Way to Add More Widgets into Your WordPress Website.
|
6 |
+
* Version: 1.2.2
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: https://www.brainstormforce.com
|
9 |
* Text Domain: astra-widgets
|
25 |
define( 'ASTRA_WIDGETS_BASE', plugin_basename( ASTRA_WIDGETS_FILE ) );
|
26 |
define( 'ASTRA_WIDGETS_DIR', plugin_dir_path( ASTRA_WIDGETS_FILE ) );
|
27 |
define( 'ASTRA_WIDGETS_URI', plugins_url( '/', ASTRA_WIDGETS_FILE ) );
|
28 |
+
define( 'ASTRA_WIDGETS_VER', '1.2.2' );
|
29 |
define( 'ASTRA_WIDGETS_TEMPLATE_DEBUG_MODE', false );
|
30 |
|
31 |
require_once ASTRA_WIDGETS_DIR . 'classes/class-astra-widgets.php';
|
classes/widgets/class-astra-widget-address.php
CHANGED
@@ -147,7 +147,6 @@ if ( ! class_exists( 'Astra_Widget_Address' ) ) :
|
|
147 |
<?php // Font Awesome 5 SVG. ?>
|
148 |
<svg xmlns="http://www.w3.org/2000/svg" class="address-icons" width="<?php echo $widget_content_font_size . 'px'; ?>" height="<?php echo $widget_content_font_size . 'px'; ?>" viewBox="0 0 496 512"><path d="M336.5 160C322 70.7 287.8 8 248 8s-74 62.7-88.5 152h177zM152 256c0 22.2 1.2 43.5 3.3 64h185.3c2.1-20.5 3.3-41.8 3.3-64s-1.2-43.5-3.3-64H155.3c-2.1 20.5-3.3 41.8-3.3 64zm324.7-96c-28.6-67.9-86.5-120.4-158-141.6 24.4 33.8 41.2 84.7 50 141.6h108zM177.2 18.4C105.8 39.6 47.8 92.1 19.3 160h108c8.7-56.9 25.5-107.8 49.9-141.6zM487.4 192H372.7c2.1 21 3.3 42.5 3.3 64s-1.2 43-3.3 64h114.6c5.5-20.5 8.6-41.8 8.6-64s-3.1-43.5-8.5-64zM120 256c0-21.5 1.2-43 3.3-64H8.6C3.2 212.5 0 233.8 0 256s3.2 43.5 8.6 64h114.6c-2-21-3.2-42.5-3.2-64zm39.5 96c14.5 89.3 48.7 152 88.5 152s74-62.7 88.5-152h-177zm159.3 141.6c71.4-21.2 129.4-73.7 158-141.6h-108c-8.8 56.9-25.6 107.8-50 141.6zM19.3 352c28.6 67.9 86.5 120.4 158 141.6-24.4-33.8-41.2-84.7-50-141.6h-108z"></path>
|
149 |
</svg>
|
150 |
-
</span>
|
151 |
<?php } ?>
|
152 |
<span class="address-meta"><?php echo nl2br( $address ); ?></span>
|
153 |
</div>
|
@@ -158,15 +157,14 @@ if ( ! class_exists( 'Astra_Widget_Address' ) ) :
|
|
158 |
<?php // Font Awesome 5 SVG. ?>
|
159 |
<svg xmlns="http://www.w3.org/2000/svg" class="address-icons" width="<?php echo $widget_content_font_size . 'px'; ?>" height="<?php echo $widget_content_font_size . 'px'; ?>" viewBox="0 0 512 512"><path d="M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z"></path>
|
160 |
</svg>
|
161 |
-
</span>
|
162 |
<?php } ?>
|
163 |
<?php
|
164 |
-
if ( apply_filters( 'astra_widgets_tel_prefix',
|
165 |
$prefix = '+';
|
166 |
} else {
|
167 |
$prefix = '';
|
168 |
}
|
169 |
-
|
170 |
?>
|
171 |
<span class="address-meta">
|
172 |
<a href="tel:<?php echo $prefix . preg_replace( '/\D/', '', esc_attr( $phone ) ); ?>" ><?php echo esc_attr( $phone ); ?></a>
|
@@ -179,7 +177,6 @@ if ( ! class_exists( 'Astra_Widget_Address' ) ) :
|
|
179 |
<?php // Font Awesome 5 SVG. ?>
|
180 |
<svg xmlns="http://www.w3.org/2000/svg" class="address-icons" width="<?php echo $widget_content_font_size . 'px'; ?>" height="<?php echo $widget_content_font_size . 'px'; ?>" viewBox="0 0 384 512"><path d="M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm160-14.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"></path>
|
181 |
</svg>
|
182 |
-
</span>
|
183 |
<?php } ?>
|
184 |
<span class="address-meta"><?php echo esc_attr( $fax ); ?></span>
|
185 |
</div>
|
@@ -193,7 +190,6 @@ if ( ! class_exists( 'Astra_Widget_Address' ) ) :
|
|
193 |
<?php // Font Awesome 5 SVG. ?>
|
194 |
<svg xmlns="http://www.w3.org/2000/svg" class="address-icons" width="<?php echo $widget_content_font_size . 'px'; ?>" height="<?php echo $widget_content_font_size . 'px'; ?>" viewBox="0 0 512 512"><path d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path>
|
195 |
</svg>
|
196 |
-
</span>
|
197 |
<?php } ?>
|
198 |
<span class="address-meta">
|
199 |
<a href="mailto:<?php echo antispambot( $email ); ?>" ><?php echo antispambot( $email ); ?></a>
|
147 |
<?php // Font Awesome 5 SVG. ?>
|
148 |
<svg xmlns="http://www.w3.org/2000/svg" class="address-icons" width="<?php echo $widget_content_font_size . 'px'; ?>" height="<?php echo $widget_content_font_size . 'px'; ?>" viewBox="0 0 496 512"><path d="M336.5 160C322 70.7 287.8 8 248 8s-74 62.7-88.5 152h177zM152 256c0 22.2 1.2 43.5 3.3 64h185.3c2.1-20.5 3.3-41.8 3.3-64s-1.2-43.5-3.3-64H155.3c-2.1 20.5-3.3 41.8-3.3 64zm324.7-96c-28.6-67.9-86.5-120.4-158-141.6 24.4 33.8 41.2 84.7 50 141.6h108zM177.2 18.4C105.8 39.6 47.8 92.1 19.3 160h108c8.7-56.9 25.5-107.8 49.9-141.6zM487.4 192H372.7c2.1 21 3.3 42.5 3.3 64s-1.2 43-3.3 64h114.6c5.5-20.5 8.6-41.8 8.6-64s-3.1-43.5-8.5-64zM120 256c0-21.5 1.2-43 3.3-64H8.6C3.2 212.5 0 233.8 0 256s3.2 43.5 8.6 64h114.6c-2-21-3.2-42.5-3.2-64zm39.5 96c14.5 89.3 48.7 152 88.5 152s74-62.7 88.5-152h-177zm159.3 141.6c71.4-21.2 129.4-73.7 158-141.6h-108c-8.8 56.9-25.6 107.8-50 141.6zM19.3 352c28.6 67.9 86.5 120.4 158 141.6-24.4-33.8-41.2-84.7-50-141.6h-108z"></path>
|
149 |
</svg>
|
|
|
150 |
<?php } ?>
|
151 |
<span class="address-meta"><?php echo nl2br( $address ); ?></span>
|
152 |
</div>
|
157 |
<?php // Font Awesome 5 SVG. ?>
|
158 |
<svg xmlns="http://www.w3.org/2000/svg" class="address-icons" width="<?php echo $widget_content_font_size . 'px'; ?>" height="<?php echo $widget_content_font_size . 'px'; ?>" viewBox="0 0 512 512"><path d="M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z"></path>
|
159 |
</svg>
|
|
|
160 |
<?php } ?>
|
161 |
<?php
|
162 |
+
if ( apply_filters( 'astra_widgets_tel_prefix', false ) ) {
|
163 |
$prefix = '+';
|
164 |
} else {
|
165 |
$prefix = '';
|
166 |
}
|
167 |
+
|
168 |
?>
|
169 |
<span class="address-meta">
|
170 |
<a href="tel:<?php echo $prefix . preg_replace( '/\D/', '', esc_attr( $phone ) ); ?>" ><?php echo esc_attr( $phone ); ?></a>
|
177 |
<?php // Font Awesome 5 SVG. ?>
|
178 |
<svg xmlns="http://www.w3.org/2000/svg" class="address-icons" width="<?php echo $widget_content_font_size . 'px'; ?>" height="<?php echo $widget_content_font_size . 'px'; ?>" viewBox="0 0 384 512"><path d="M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm160-14.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"></path>
|
179 |
</svg>
|
|
|
180 |
<?php } ?>
|
181 |
<span class="address-meta"><?php echo esc_attr( $fax ); ?></span>
|
182 |
</div>
|
190 |
<?php // Font Awesome 5 SVG. ?>
|
191 |
<svg xmlns="http://www.w3.org/2000/svg" class="address-icons" width="<?php echo $widget_content_font_size . 'px'; ?>" height="<?php echo $widget_content_font_size . 'px'; ?>" viewBox="0 0 512 512"><path d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path>
|
192 |
</svg>
|
|
|
193 |
<?php } ?>
|
194 |
<span class="address-meta">
|
195 |
<a href="mailto:<?php echo antispambot( $email ); ?>" ><?php echo antispambot( $email ); ?></a>
|
classes/widgets/class-astra-widget-social-profiles.php
CHANGED
@@ -350,7 +350,7 @@ if ( ! class_exists( 'Astra_Widget_Social_Profiles' ) ) :
|
|
350 |
$trimmed = str_replace( 'astra-icon-', '', $list['icon'] );
|
351 |
?>
|
352 |
<li>
|
353 |
-
<a
|
354 |
<span class="ast-widget-icon <?php echo ( is_object( $list_data ) ) ? esc_html( $list_data->name ) : ''; ?>">
|
355 |
<?php if ( ! empty( $list_data->viewbox ) && ! empty( $list_data->path ) ) { ?>
|
356 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="<?php echo ( isset( $list_data->viewbox ) ) ? $list_data->viewbox : ''; ?>" width=<?php echo esc_attr( $icon_width ); ?> height=<?php echo esc_attr( $icon_width ); ?> ><path d="<?php echo ( isset( $list_data->path ) ) ? $list_data->path : ''; ?>"></path></svg>
|
350 |
$trimmed = str_replace( 'astra-icon-', '', $list['icon'] );
|
351 |
?>
|
352 |
<li>
|
353 |
+
<a href="<?php echo esc_attr( $list['link'] ); ?>" target="<?php echo esc_attr( $target ); ?>" rel="<?php echo esc_attr( $rel ); ?>" aria-label="<?php echo ( is_object( $list_data ) ) ? esc_html( $list_data->name ) : ''; ?>">
|
354 |
<span class="ast-widget-icon <?php echo ( is_object( $list_data ) ) ? esc_html( $list_data->name ) : ''; ?>">
|
355 |
<?php if ( ! empty( $list_data->viewbox ) && ! empty( $list_data->path ) ) { ?>
|
356 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="<?php echo ( isset( $list_data->viewbox ) ) ? $list_data->viewbox : ''; ?>" width=<?php echo esc_attr( $icon_width ); ?> height=<?php echo esc_attr( $icon_width ); ?> ><path d="<?php echo ( isset( $list_data->path ) ) ? $list_data->path : ''; ?>"></path></svg>
|
languages/astra-widgets.pot
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the same license as the Astra Widgets package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Astra Widgets 1.2.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-widgets\n"
|
7 |
-
"POT-Creation-Date:
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"PO-Revision-Date:
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
"Language: en\n"
|
@@ -24,11 +24,11 @@ msgstr ""
|
|
24 |
"X-Textdomain-Support: yes\n"
|
25 |
"X-Generator: grunt-wp-i18n 1.0.3\n"
|
26 |
|
27 |
-
#: classes/class-astra-widgets-helper.php:
|
28 |
msgid "Choose Icon.."
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: classes/class-astra-widgets-helper.php:
|
32 |
msgid "Add Item"
|
33 |
msgstr ""
|
34 |
|
@@ -40,55 +40,55 @@ msgstr ""
|
|
40 |
msgid "Display Address."
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: classes/widgets/class-astra-widget-address.php:
|
44 |
#: classes/widgets/class-astra-widget-list-icons.php:263
|
45 |
msgid "Title:"
|
46 |
msgstr ""
|
47 |
|
48 |
-
#: classes/widgets/class-astra-widget-address.php:
|
49 |
#: classes/widgets/class-astra-widget-social-profiles.php:488
|
50 |
msgid "Inline"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: classes/widgets/class-astra-widget-address.php:
|
54 |
#: classes/widgets/class-astra-widget-social-profiles.php:489
|
55 |
msgid "Stack"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: classes/widgets/class-astra-widget-address.php:
|
59 |
msgid "Display Icons?"
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: classes/widgets/class-astra-widget-address.php:
|
63 |
msgid "Address:"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: classes/widgets/class-astra-widget-address.php:
|
67 |
msgid "Phone:"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: classes/widgets/class-astra-widget-address.php:
|
71 |
msgid "FAX:"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: classes/widgets/class-astra-widget-address.php:
|
75 |
msgid "Email:"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: classes/widgets/class-astra-widget-address.php:
|
79 |
#: classes/widgets/class-astra-widget-list-icons.php:392
|
80 |
#: classes/widgets/class-astra-widget-social-profiles.php:508
|
81 |
#: classes/widgets/class-astra-widget-social-profiles.php:518
|
82 |
msgid "Icon Color"
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: classes/widgets/class-astra-widget-address.php:
|
86 |
#: classes/widgets/class-astra-widget-list-icons.php:342
|
87 |
#: classes/widgets/class-astra-widget-social-profiles.php:549
|
88 |
msgid "Space Between Icon & Text:"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: classes/widgets/class-astra-widget-address.php:
|
92 |
msgid "\tSpace Between Address Fields:"
|
93 |
msgstr ""
|
94 |
|
@@ -300,7 +300,7 @@ msgstr ""
|
|
300 |
msgid "\tSpace Between Social Profiles:"
|
301 |
msgstr ""
|
302 |
|
303 |
-
#.
|
304 |
msgid "Astra Widgets"
|
305 |
msgstr ""
|
306 |
|
@@ -308,6 +308,10 @@ msgstr ""
|
|
308 |
msgid "https://wpastra.com/"
|
309 |
msgstr ""
|
310 |
|
|
|
|
|
|
|
|
|
311 |
#. Author of the plugin/theme
|
312 |
msgid "Brainstorm Force"
|
313 |
msgstr ""
|
1 |
+
# Copyright (C) 2020 Brainstorm Force
|
2 |
# This file is distributed under the same license as the Astra Widgets package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Astra Widgets 1.2.2\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-widgets\n"
|
7 |
+
"POT-Creation-Date: 2020-01-21 07:32:32+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
"Language: en\n"
|
24 |
"X-Textdomain-Support: yes\n"
|
25 |
"X-Generator: grunt-wp-i18n 1.0.3\n"
|
26 |
|
27 |
+
#: classes/class-astra-widgets-helper.php:414
|
28 |
msgid "Choose Icon.."
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: classes/class-astra-widgets-helper.php:463
|
32 |
msgid "Add Item"
|
33 |
msgstr ""
|
34 |
|
40 |
msgid "Display Address."
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: classes/widgets/class-astra-widget-address.php:242
|
44 |
#: classes/widgets/class-astra-widget-list-icons.php:263
|
45 |
msgid "Title:"
|
46 |
msgstr ""
|
47 |
|
48 |
+
#: classes/widgets/class-astra-widget-address.php:251
|
49 |
#: classes/widgets/class-astra-widget-social-profiles.php:488
|
50 |
msgid "Inline"
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: classes/widgets/class-astra-widget-address.php:252
|
54 |
#: classes/widgets/class-astra-widget-social-profiles.php:489
|
55 |
msgid "Stack"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: classes/widgets/class-astra-widget-address.php:258
|
59 |
msgid "Display Icons?"
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: classes/widgets/class-astra-widget-address.php:264
|
63 |
msgid "Address:"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: classes/widgets/class-astra-widget-address.php:270
|
67 |
msgid "Phone:"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: classes/widgets/class-astra-widget-address.php:276
|
71 |
msgid "FAX:"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: classes/widgets/class-astra-widget-address.php:282
|
75 |
msgid "Email:"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: classes/widgets/class-astra-widget-address.php:288
|
79 |
#: classes/widgets/class-astra-widget-list-icons.php:392
|
80 |
#: classes/widgets/class-astra-widget-social-profiles.php:508
|
81 |
#: classes/widgets/class-astra-widget-social-profiles.php:518
|
82 |
msgid "Icon Color"
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: classes/widgets/class-astra-widget-address.php:294
|
86 |
#: classes/widgets/class-astra-widget-list-icons.php:342
|
87 |
#: classes/widgets/class-astra-widget-social-profiles.php:549
|
88 |
msgid "Space Between Icon & Text:"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: classes/widgets/class-astra-widget-address.php:301
|
92 |
msgid "\tSpace Between Address Fields:"
|
93 |
msgstr ""
|
94 |
|
300 |
msgid "\tSpace Between Social Profiles:"
|
301 |
msgstr ""
|
302 |
|
303 |
+
#. Plugin Name of the plugin/theme
|
304 |
msgid "Astra Widgets"
|
305 |
msgstr ""
|
306 |
|
308 |
msgid "https://wpastra.com/"
|
309 |
msgstr ""
|
310 |
|
311 |
+
#. Description of the plugin/theme
|
312 |
+
msgid "The Fastest Way to Add More Widgets into Your WordPress Website."
|
313 |
+
msgstr ""
|
314 |
+
|
315 |
#. Author of the plugin/theme
|
316 |
msgid "Brainstorm Force"
|
317 |
msgstr ""
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: brainstormforce
|
|
3 |
Donate link: https://www.paypal.me/BrainstormForce
|
4 |
Tags: Address widget, Social profile widget, List icon widget, Social media, Add widget
|
5 |
Requires at least: 4.7
|
6 |
-
Tested up to: 5.2
|
7 |
Requires PHP: 5.2
|
8 |
-
Stable tag: 1.2.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -76,6 +76,11 @@ In your WordPress admin dashboard go to Appearance -> Widgets, drag the Astra :
|
|
76 |
|
77 |
== Changelog ==
|
78 |
|
|
|
|
|
|
|
|
|
|
|
79 |
= 1.2.1 =
|
80 |
- Fix: Color picker style not working.
|
81 |
|
3 |
Donate link: https://www.paypal.me/BrainstormForce
|
4 |
Tags: Address widget, Social profile widget, List icon widget, Social media, Add widget
|
5 |
Requires at least: 4.7
|
6 |
+
Tested up to: 5.3.2
|
7 |
Requires PHP: 5.2
|
8 |
+
Stable tag: 1.2.2
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
76 |
|
77 |
== Changelog ==
|
78 |
|
79 |
+
= 1.2.2 =
|
80 |
+
- Fix: Plus prefix appearing when more than one tel number added.
|
81 |
+
- Fix: Color picker's clear button position issue.
|
82 |
+
- Fix: Markup issue in address and social profiles widget.
|
83 |
+
|
84 |
= 1.2.1 =
|
85 |
- Fix: Color picker style not working.
|
86 |
|