Plugin Directory

Changeset 2502726


Ignore:
Timestamp:
03/24/2021 04:43:14 PM (5 years ago)
Author:
hqtheme
Message:

Added how to descriptions to Navigation Menu and Contact Form 7

Location:
hq-widgets-for-elementor
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • hq-widgets-for-elementor/tags/1.0.12/assets/widgets/theme/contact-form-7/style.tpl.css

    r2470080 r2502726  
    245245
    246246/* AJAX LOADER */
     247.cf7-smart-grid.has-grid .wpcf7 .ajax-loader,
    247248.hq-cf7-wrapper div.wpcf7 .ajax-loader {
    248249    display: none;
     
    253254    background: none;
    254255}
    255 .hq-cf7-wrapper div.wpcf7 .ajax-loader.is-active {
     256.cf7-smart-grid.has-grid .wpcf7 .submitting .ajax-loader,
     257.hq-cf7-wrapper div.wpcf7 .submitting .ajax-loader {
    256258    display: inline-block;
    257259}
  • hq-widgets-for-elementor/tags/1.0.12/hq-widgets-for-elementor.php

    r2499478 r2502726  
    55 * Plugin URI:        https://marmot.hqwebs.net/hq-widgets-for-elementor/?utm_source=wp-admin&utm_medium=link&utm_campaign=default&utm_term=hq-widgets-for-elementor&utm_content=plugin-uri
    66 * Description:       The HQ Widgets for Elementor is an elementor addons package for Elementor page builder plugin for WordPress. Works Best with Marmot theme
    7  * Version:           1.0.11
     7 * Version:           1.0.12
    88 * Requires at least: 5.3
    99 * Requires PHP:      7.2
     
    6161 * @var string
    6262 */
    63 const VERSION = '1.0.11';
     63const VERSION = '1.0.12';
    6464
    6565// Load Autoloader
  • hq-widgets-for-elementor/tags/1.0.12/inc/dependencies.php

    r2481601 r2502726  
    2525            'file' => 'hqtheme-extra/hqtheme-extra.php',
    2626            'constant' => '\HQExtra\VERSION',
    27             'min_version' => '1.0.12',
     27            'min_version' => '1.0.15',
    2828            'required' => true,
    2929            'dismiss' => false,
  • hq-widgets-for-elementor/tags/1.0.12/inc/widget/theme/contact-form-7.php

    r2470080 r2502726  
    102102            'options' => $this->get_contactform7_list(),
    103103            'default' => '0',
     104            'description' => \HQLib\Utils::get_cf7_howto(),
    104105        ]);
    105106
     
    540541                . '{{WRAPPER}} .wpcf7-acceptance label .wpcf7-list-item-label:before,'
    541542                . '{{WRAPPER}} .wpcf7-radio label .wpcf7-list-item-label:before' => 'width: {{SIZE}}{{UNIT}}; height: {{SIZE}}{{UNIT}}',
    542                
    543543                '{{WRAPPER}} .wpcf7-checkbox label .wpcf7-list-item-label:after,'
    544544                . '{{WRAPPER}} .wpcf7-acceptance label .wpcf7-list-item-label:after' => 'width: calc({{SIZE}}{{UNIT}} / 2.5); height: calc({{SIZE}}{{UNIT}} / 1.666); top: calc(-{{SIZE}}{{UNIT}} / 5); left: calc({{SIZE}}{{UNIT}} / 2 - {{SIZE}}{{UNIT}} / 5)',
    545                
    546545                '{{WRAPPER}} .wpcf7-radio label .wpcf7-list-item-label:after' => 'width: calc({{SIZE}}{{UNIT}} / 2.5); height: calc({{SIZE}}{{UNIT}} / 2.5); left: calc({{SIZE}}{{UNIT}} / 2 - {{SIZE}}{{UNIT}} / 5)',
    547546            ],
     
    10081007                <div class="elementor-alert elementor-alert-info" role="alert">
    10091008                    <span class="elementor-alert-description">
    1010                         <?php __('Contact Form 7 plugin is not installed.', 'hq-widgets-for-elementor') . '</p>' . sprintf('<a href="%s" target="_blank">%s</a>', esc_url(admin_url('plugin-install.php?s=contact+form+7&tab=search&type=term')), __('Install Contact Form 7.', 'hq-widgets-for-elementor')); ?>
     1009                <?php __('Contact Form 7 plugin is not installed.', 'hq-widgets-for-elementor') . '</p>' . sprintf('<a href="%s" target="_blank">%s</a>', esc_url(admin_url('plugin-install.php?s=contact+form+7&tab=search&type=term')), __('Install Contact Form 7.', 'hq-widgets-for-elementor')); ?>
    10111010                    </span>
    10121011                </div>
     
    10221021        <div <?php echo $this->get_render_attribute_string('hq_cf7_wrapper'); ?> >
    10231022            <div <?php echo $this->get_render_attribute_string('hq_cf7_container'); ?> >
    1024                 <?php
    1025                 if (!empty($settings['contact_form_id'])) {
    1026                     $this->add_render_attribute('shortcode', 'id', $settings['contact_form_id']);
    1027                     $shortcode = sprintf('[contact-form-7 %s]', $this->get_render_attribute_string('shortcode'));
    1028                     echo do_shortcode($shortcode);
    1029                 } else {
    1030                     if (Plugin::instance()->editor->is_edit_mode()) {
    1031                         ?>
     1023        <?php
     1024        if (!empty($settings['contact_form_id'])) {
     1025            $this->add_render_attribute('shortcode', 'id', $settings['contact_form_id']);
     1026            $shortcode = sprintf('[contact-form-7 %s]', $this->get_render_attribute_string('shortcode'));
     1027            echo do_shortcode($shortcode);
     1028        } else {
     1029            if (Plugin::instance()->editor->is_edit_mode()) {
     1030                ?>
    10321031                        <div class="elementor-alert elementor-alert-info" role="alert">
    10331032                            <span class="elementor-alert-description">
    1034                                 <?php esc_html_e('Please Select a contact form.', 'hq-widgets-for-elementor'); ?>
     1033                <?php esc_html_e('Please Select a contact form.', 'hq-widgets-for-elementor'); ?>
    10351034                            </span>
    10361035                        </div>
    1037                         <?php
    1038                     }
    1039                 }
    1040                 ?>
     1036                <?php
     1037            }
     1038        }
     1039        ?>
    10411040            </div>
    10421041        </div>
  • hq-widgets-for-elementor/tags/1.0.12/inc/widget/theme/nav-menu.php

    r2499478 r2502726  
    6868            'default' => '',
    6969            'options' => Utils::get_nav_menus(),
     70            'description' => Utils::get_menu_howto(),
    7071        ]);
    7172
     
    947948        $this->add_render_attribute('menu_toggle_text', 'class', ['hc-nav-trigger-label']);
    948949
    949         if (!empty($settings['nav_menu']) && is_nav_menu( $settings['nav_menu'] )) {
     950        if (!empty($settings['nav_menu']) && is_nav_menu($settings['nav_menu'])) {
    950951            add_filter('wp_nav_menu_objects', [$this, 'nav_menu_objects']);
    951952            add_filter('wp_nav_menu_items', [$this, 'custom_menu_item'], 10, 2);
  • hq-widgets-for-elementor/tags/1.0.12/readme.txt

    r2499478 r2502726  
    55Tested up to: 5.7
    66Requires PHP: 7.2
    7 Stable tag: 1.0.11
     7Stable tag: 1.0.12
    88License: GPL v3 or later
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    129129== Changelog ==
    130130
     131= 1.0.12 - 2021-03-24 =
     132* FIX - Contact form submit loader
     133* Added how to descriptions to Navigation Menu widget
     134* Added how to descriptions to Contact Form 7 widget
     135
    131136= 1.0.11 - 2021-03-19 =
    132137* Promo Easy Appointments widget for Elementor added (widget for 3rd party plugin available in Marmot Enhancer PRO plugin)
  • hq-widgets-for-elementor/trunk/assets/widgets/theme/contact-form-7/style.tpl.css

    r2470080 r2502726  
    245245
    246246/* AJAX LOADER */
     247.cf7-smart-grid.has-grid .wpcf7 .ajax-loader,
    247248.hq-cf7-wrapper div.wpcf7 .ajax-loader {
    248249    display: none;
     
    253254    background: none;
    254255}
    255 .hq-cf7-wrapper div.wpcf7 .ajax-loader.is-active {
     256.cf7-smart-grid.has-grid .wpcf7 .submitting .ajax-loader,
     257.hq-cf7-wrapper div.wpcf7 .submitting .ajax-loader {
    256258    display: inline-block;
    257259}
  • hq-widgets-for-elementor/trunk/hq-widgets-for-elementor.php

    r2499478 r2502726  
    55 * Plugin URI:        https://marmot.hqwebs.net/hq-widgets-for-elementor/?utm_source=wp-admin&utm_medium=link&utm_campaign=default&utm_term=hq-widgets-for-elementor&utm_content=plugin-uri
    66 * Description:       The HQ Widgets for Elementor is an elementor addons package for Elementor page builder plugin for WordPress. Works Best with Marmot theme
    7  * Version:           1.0.11
     7 * Version:           1.0.12
    88 * Requires at least: 5.3
    99 * Requires PHP:      7.2
     
    6161 * @var string
    6262 */
    63 const VERSION = '1.0.11';
     63const VERSION = '1.0.12';
    6464
    6565// Load Autoloader
  • hq-widgets-for-elementor/trunk/inc/dependencies.php

    r2481601 r2502726  
    2525            'file' => 'hqtheme-extra/hqtheme-extra.php',
    2626            'constant' => '\HQExtra\VERSION',
    27             'min_version' => '1.0.12',
     27            'min_version' => '1.0.15',
    2828            'required' => true,
    2929            'dismiss' => false,
  • hq-widgets-for-elementor/trunk/inc/widget/theme/contact-form-7.php

    r2470080 r2502726  
    102102            'options' => $this->get_contactform7_list(),
    103103            'default' => '0',
     104            'description' => \HQLib\Utils::get_cf7_howto(),
    104105        ]);
    105106
     
    540541                . '{{WRAPPER}} .wpcf7-acceptance label .wpcf7-list-item-label:before,'
    541542                . '{{WRAPPER}} .wpcf7-radio label .wpcf7-list-item-label:before' => 'width: {{SIZE}}{{UNIT}}; height: {{SIZE}}{{UNIT}}',
    542                
    543543                '{{WRAPPER}} .wpcf7-checkbox label .wpcf7-list-item-label:after,'
    544544                . '{{WRAPPER}} .wpcf7-acceptance label .wpcf7-list-item-label:after' => 'width: calc({{SIZE}}{{UNIT}} / 2.5); height: calc({{SIZE}}{{UNIT}} / 1.666); top: calc(-{{SIZE}}{{UNIT}} / 5); left: calc({{SIZE}}{{UNIT}} / 2 - {{SIZE}}{{UNIT}} / 5)',
    545                
    546545                '{{WRAPPER}} .wpcf7-radio label .wpcf7-list-item-label:after' => 'width: calc({{SIZE}}{{UNIT}} / 2.5); height: calc({{SIZE}}{{UNIT}} / 2.5); left: calc({{SIZE}}{{UNIT}} / 2 - {{SIZE}}{{UNIT}} / 5)',
    547546            ],
     
    10081007                <div class="elementor-alert elementor-alert-info" role="alert">
    10091008                    <span class="elementor-alert-description">
    1010                         <?php __('Contact Form 7 plugin is not installed.', 'hq-widgets-for-elementor') . '</p>' . sprintf('<a href="%s" target="_blank">%s</a>', esc_url(admin_url('plugin-install.php?s=contact+form+7&tab=search&type=term')), __('Install Contact Form 7.', 'hq-widgets-for-elementor')); ?>
     1009                <?php __('Contact Form 7 plugin is not installed.', 'hq-widgets-for-elementor') . '</p>' . sprintf('<a href="%s" target="_blank">%s</a>', esc_url(admin_url('plugin-install.php?s=contact+form+7&tab=search&type=term')), __('Install Contact Form 7.', 'hq-widgets-for-elementor')); ?>
    10111010                    </span>
    10121011                </div>
     
    10221021        <div <?php echo $this->get_render_attribute_string('hq_cf7_wrapper'); ?> >
    10231022            <div <?php echo $this->get_render_attribute_string('hq_cf7_container'); ?> >
    1024                 <?php
    1025                 if (!empty($settings['contact_form_id'])) {
    1026                     $this->add_render_attribute('shortcode', 'id', $settings['contact_form_id']);
    1027                     $shortcode = sprintf('[contact-form-7 %s]', $this->get_render_attribute_string('shortcode'));
    1028                     echo do_shortcode($shortcode);
    1029                 } else {
    1030                     if (Plugin::instance()->editor->is_edit_mode()) {
    1031                         ?>
     1023        <?php
     1024        if (!empty($settings['contact_form_id'])) {
     1025            $this->add_render_attribute('shortcode', 'id', $settings['contact_form_id']);
     1026            $shortcode = sprintf('[contact-form-7 %s]', $this->get_render_attribute_string('shortcode'));
     1027            echo do_shortcode($shortcode);
     1028        } else {
     1029            if (Plugin::instance()->editor->is_edit_mode()) {
     1030                ?>
    10321031                        <div class="elementor-alert elementor-alert-info" role="alert">
    10331032                            <span class="elementor-alert-description">
    1034                                 <?php esc_html_e('Please Select a contact form.', 'hq-widgets-for-elementor'); ?>
     1033                <?php esc_html_e('Please Select a contact form.', 'hq-widgets-for-elementor'); ?>
    10351034                            </span>
    10361035                        </div>
    1037                         <?php
    1038                     }
    1039                 }
    1040                 ?>
     1036                <?php
     1037            }
     1038        }
     1039        ?>
    10411040            </div>
    10421041        </div>
  • hq-widgets-for-elementor/trunk/inc/widget/theme/nav-menu.php

    r2499478 r2502726  
    6868            'default' => '',
    6969            'options' => Utils::get_nav_menus(),
     70            'description' => Utils::get_menu_howto(),
    7071        ]);
    7172
     
    947948        $this->add_render_attribute('menu_toggle_text', 'class', ['hc-nav-trigger-label']);
    948949
    949         if (!empty($settings['nav_menu']) && is_nav_menu( $settings['nav_menu'] )) {
     950        if (!empty($settings['nav_menu']) && is_nav_menu($settings['nav_menu'])) {
    950951            add_filter('wp_nav_menu_objects', [$this, 'nav_menu_objects']);
    951952            add_filter('wp_nav_menu_items', [$this, 'custom_menu_item'], 10, 2);
  • hq-widgets-for-elementor/trunk/readme.txt

    r2499478 r2502726  
    55Tested up to: 5.7
    66Requires PHP: 7.2
    7 Stable tag: 1.0.11
     7Stable tag: 1.0.12
    88License: GPL v3 or later
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    129129== Changelog ==
    130130
     131= 1.0.12 - 2021-03-24 =
     132* FIX - Contact form submit loader
     133* Added how to descriptions to Navigation Menu widget
     134* Added how to descriptions to Contact Form 7 widget
     135
    131136= 1.0.11 - 2021-03-19 =
    132137* Promo Easy Appointments widget for Elementor added (widget for 3rd party plugin available in Marmot Enhancer PRO plugin)
Note: See TracChangeset for help on using the changeset viewer.