Skip to content

Commit

Permalink
Merge pull request #49 from codersaiful/1.0.3
Browse files Browse the repository at this point in the history
1.0.3
  • Loading branch information
codersaiful authored Mar 11, 2021
2 parents 4ffeef4 + 1f7fd99 commit 4065683
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 27 deletions.
4 changes: 2 additions & 2 deletions assets/js/frontend.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
autoplayTimeout: this.getElementSettings('autoplayTimeout'),
nav: false,
margin: 20,
animateOut: 'slideOutDown',
animateIn: 'flipInX',
// animateOut: 'animate__flipOutY',
animateIn: 'animate__lightSpeedInRight',

};

Expand Down
11 changes: 3 additions & 8 deletions inc/traits/button-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function button_style_control(){
'tab' => Controls_Manager::TAB_STYLE,
]
);

if( $this->get_name() == 'ultraaddons-button' ){
$this->add_responsive_control(
'btn_align',
[
Expand All @@ -143,16 +143,11 @@ public function button_style_control(){
'icon' => 'eicon-text-align-justify',
],
],
'prefix_class' => 'ua-btn-align-',
'selectors' => [
'(desktop){{WRAPPER}} .btn-wrapper' => 'text-align: {{VALUE}};',
'(tablet){{WRAPPER}} .btn-wrapper' => 'text-align: {{VALUE}};',
'(mobile){{WRAPPER}} .btn-wrapper' => 'text-align: {{VALUE}};width:100%;',
],
'prefix_class' => 'elementor%s-align-',
'default' => $this->btn_align,//'left',
]
);

}
$this->add_group_control(
Group_Control_Typography::get_type(),
[
Expand Down
36 changes: 26 additions & 10 deletions inc/widgets/price-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,11 @@ protected function _register_controls() {
'ua_icon_choose',
[
'label' => __( 'Icon', 'ultraaddons' ),
'type' => Controls_Manager::ICONS,
'default' => [
'value' => 'fas fa-star',
'library' => 'solid',
'type' => Controls_Manager::ICONS,
'fa4compatibility' => 'icon',
'default' => [
'value' => 'uicon uicon-ultraaddons',
'library' => 'ultraaddons',
],
'condition' => [
'ua_icon_select' => 'icon',
Expand Down Expand Up @@ -447,7 +448,11 @@ protected function _register_controls() {
'right' => [
'title' => __( 'Right', 'ultraaddons' ),
'icon' => 'eicon-text-align-right',
]
],
'justify' => [
'title' => __( 'Justified', 'ultraaddons' ),
'icon' => 'eicon-text-align-justify',
],
],
'prefix_class' => 'elementor%s-align-',
'default' => 'center',
Expand Down Expand Up @@ -1280,6 +1285,17 @@ protected function _register_controls() {
],
]
);
$this->add_control(
'features_list_icon_color',
[
'label' => __( 'Icon Color', 'ultraaddons' ),
'type' => Controls_Manager::COLOR,
'selectors' => [
'{{WRAPPER}} .ua-price-table__features-list i' => 'color: {{VALUE}}',
'{{WRAPPER}} .ua-price-table__features-list svg' => 'fill: {{VALUE}}',
],
]
);

$this->add_group_control(
Group_Control_Typography::get_type(),
Expand Down Expand Up @@ -1337,18 +1353,18 @@ protected function _register_controls() {
);

$this->add_responsive_control(
'item_width',
'icon_gap',
[
'label' => __( 'Width', 'ultraaddons' ),
'label' => __( 'Icon Gap', 'ultraaddons' ),
'type' => Controls_Manager::SLIDER,
'range' => [
'%' => [
'min' => 25,
'px' => [
'min' => 0,
'max' => 100,
],
],
'selectors' => [
'{{WRAPPER}} .ua-price-table__feature-inner' => 'margin-left: calc((100% - {{SIZE}}%)/2); margin-right: calc((100% - {{SIZE}}%)/2)',
'{{WRAPPER}} .ua-price-table__feature-inner>i' => 'margin-right: {{SIZE}}{{UNIT}};',
],
]
);
Expand Down
5 changes: 5 additions & 0 deletions init.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
* License URI: http://www.gnu.org/licenses/gpl.html
* Text Domain: ultraaddons
* Domain Path: /languages/
*
* Requires at least: 4.0.0
* Tested up to: 5.7
* WC requires at least: 3.0.0
* WC tested up to: 5.1.0
*
* @package UltraAddons
* @category Addons
Expand Down
25 changes: 18 additions & 7 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Author URI: https://ultraaddons.com/
Tags: addons, elementor addons, ultraaddons, page builder, page builder addons, Editor, Web Page Builder
Contributors: codersaiful, codeastrology, ultraaddons
Requires at least: 5.0.0
Tested up to: 5.6.1
Tested up to: 5.7.0
Requires PHP: 5.6
Stable tag: trunk
License: GPL3+
Expand Down Expand Up @@ -55,12 +55,12 @@ Elementor page/section show in Sidebar area. using WordPress widget.

**Demo**

- [**Slider**](https://ultraaddons.com/slider/) – Powerful Slider.
- [**Advance Heading**](https://ultraaddons.com/advance-heading/) – Advance Heading.
- [**Button**](https://ultraaddons.com/button/) – Advance Powerful Button.
- [**Count Down timer**](https://ultraaddons.com/count-down-timer/) – Count Down timer.
- [**Info Box**](https://ultraaddons.com/info-box/) – Info Box for making different type service, info, content items group box.
- [**Advance List Item**](https://ultraaddons.com/advance-list/) – Advance List Item for making different type service, info, content items group box.
- [**Slider**](https://ultraaddons.com/widgets/slider/) – Powerful Slider.
- [**Advance Heading**](https://ultraaddons.com/widgets/advance-heading/) – Advance Heading.
- [**Button**](https://ultraaddons.com/widgets/button/) – Advance Powerful Button.
- [**Count Down timer**](https://ultraaddons.com/widgets/count-down-timer/) – Count Down timer.
- [**Info Box**](https://ultraaddons.com/widgets/info-box/) – Info Box for making different type service, info, content items group box.
- [**Advance List Item**](https://ultraaddons.com/widgets/advance-list/) – Advance List Item for making different type service, info, content items group box.
- [**Coming Soon --More Demo**](https://ultraaddons.com/) – We are working for our plugin. You can check from our Plugin's Site.

**Github Contribute**
Expand All @@ -71,6 +71,10 @@ To change theme's default Header or Footer, Even add additional content to Heade
*Step 1:* First create a template from `Dashboard->Elementor Template->Add new` and create template as page.
*Step 2:* go to `Dashboard->UltraAddons->Header Footer` and choose your Template from Elementor template as header.

**Shortcode `[UltraAddons_Template id='template_id']`**
UltraAddons provide a shortcode `[UltraAddons_Template id='123']`. Here 123 is a POST_ID. Use any Elementor page/Template's POST_ID as id. Use Anywhere.
Suppose: you want to show any Elementor Item/Widget/Template in widget, or in any WordPress post or in Guttenberg block. Just use this shortcode.

== Frequently Asked Questions ==

= Does this plugin support any theme? =
Expand Down Expand Up @@ -106,6 +110,13 @@ Yes, there are lot of filter and action hook available here. You can customize f

== Change log ==

= 1.0.3 =

* [Added]: Icon Box Elementor Widget Added.
* [Added]: Shortcode for Elementor Widget/Template.
* [Fixed]: Slider Issue Fixed.
* [Fixed]: Bug Fixed.

= 1.0.2 =

* [Added]: Price Table Widget.
Expand Down

0 comments on commit 4065683

Please sign in to comment.