Plugin Directory

Changeset 2391438


Ignore:
Timestamp:
10/01/2020 07:47:15 AM (6 years ago)
Author:
devbunch
Message:

Woo search control

Location:
master-elements/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • master-elements/trunk/addons/widgets/woo-product-search/woo-product-search.php

    r2376549 r2391438  
    168168            ]
    169169        );
     170        $this->add_control(
     171            'me_search_form_input_width',
     172            [
     173                'label' => __( 'Width', 'masterelements' ),
     174                'type' => Controls_Manager::SLIDER,
     175                'size_units' => [ 'px', '%' ],
     176                'range' => [
     177                    'px' => [
     178                        'min' => 200,
     179                        'max' => 3000,
     180                        'step' => 1,
     181                    ],
     182                    '%' => [
     183                        'min' => 0,
     184                        'max' => 100,
     185                    ],
     186                ],
     187                'default' => [
     188                    'unit' => 'px',
     189                    'size' => 200,
     190                ],
     191                'selectors' => [
     192                    '{{WRAPPER}} input.search-field' => 'width: {{SIZE}}{{UNIT}};',
     193                ],
     194                'separator' =>'before',
     195            ]
     196        );
    170197
    171198        $this->add_group_control(
     
    292319                ],
    293320                'separator' =>'before',
     321            ]
     322        );
     323        $this->add_control(
     324            'me_search_form_style_submit_button_width',
     325            [
     326                'label' => __( 'Width', 'masterelements' ),
     327                'type' => Controls_Manager::SLIDER,
     328                'size_units' => [ 'px', '%' ],
     329                'range' => [
     330                    'px' => [
     331                        'min' => 129,
     332                        'max' => 3000,
     333                        'step' => 1,
     334                    ],
     335                    '%' => [
     336                        'min' => 0,
     337                        'max' => 100,
     338                    ],
     339                ],
     340                'default' => [
     341                    'unit' => 'px',
     342                    'size' => 129,
     343                ],
     344                'selectors' => [
     345                    '{{WRAPPER}} input[type="submit"]' => 'width: {{SIZE}}{{UNIT}};',
     346                ],
     347                'separator' =>'before',
     348            ]
     349        );
     350
     351        $this->add_responsive_control(
     352            'me_cart_table_button_alignment',
     353            [
     354                'label' => __('Button Alignment', 'masterelements'),
     355                'type' => Controls_Manager::CHOOSE,
     356                'options' => [
     357                    'left' => [
     358                        'title' => __('Left', 'masterelements'),
     359                        'icon' => 'fa fa-align-left',
     360                    ],
     361                    'right' => [
     362                        'title' => __('Right', 'masterelements'),
     363                        'icon' => 'fa fa-align-right',
     364                    ],
     365                ],
     366                'prefix_class' => 'masterelements-product-loop-item-align-',
     367                'selectors' => [
     368                    '{{WRAPPER}} input[type="submit"]' => 'float: {{VALUE}}',
     369                ],
    294370            ]
    295371        );
  • master-elements/trunk/changelog.txt

    r2390773 r2391438  
     101/10/2020
     2
     3Version 6.9
     4
     5    [New] Woo Search Control
     6
    1730/09/2020
    28
  • master-elements/trunk/masterelements.php

    r2390773 r2391438  
    1010 * Plugin URI: https://akdesigner.com/
    1111 * Author: TeamDevBunch
    12  * Version: 6.8
     12 * Version: 6.9
    1313 * Tested up to: 5.5
    1414 * Author URI: https://devbunch.com/
  • master-elements/trunk/readme.txt

    r2390773 r2391438  
    6464
    6565== Changelog ==
     66= 01/10/2020 Version 6.9 =
     67*  [New] Woo Search Control
     68
    6669= 30/09/2020 Version 6.8 =
    6770*  [Fix] Woo & Navigation
Note: See TracChangeset for help on using the changeset viewer.