Changeset 2481601
- Timestamp:
- 02/25/2021 04:43:02 PM (5 years ago)
- Location:
- hq-widgets-for-elementor
- Files:
-
- 32 edited
- 1 copied
-
tags/1.0.10 (copied) (copied from hq-widgets-for-elementor/trunk)
-
tags/1.0.10/hq-widgets-for-elementor.php (modified) (2 diffs)
-
tags/1.0.10/inc/admin/admin-settings.php (modified) (3 diffs)
-
tags/1.0.10/inc/control/group-control-posts.php (modified) (2 diffs)
-
tags/1.0.10/inc/dependencies.php (modified) (3 diffs)
-
tags/1.0.10/inc/responsive.php (modified) (2 diffs)
-
tags/1.0.10/inc/widget/posts-base.php (modified) (2 diffs)
-
tags/1.0.10/inc/widget/products-base.php (modified) (2 diffs)
-
tags/1.0.10/inc/widget/theme/archive-posts.php (modified) (1 diff)
-
tags/1.0.10/inc/widget/theme/search-results.php (modified) (1 diff)
-
tags/1.0.10/inc/widget/widgets-control.php (modified) (65 diffs)
-
tags/1.0.10/inc/widget/woocommerce/archive-products.php (modified) (1 diff)
-
tags/1.0.10/inc/widget/woocommerce/product-related-products-grid.php (modified) (1 diff)
-
tags/1.0.10/inc/widget/woocommerce/product-related-products-slider.php (modified) (1 diff)
-
tags/1.0.10/inc/widget/woocommerce/product-upsells-grid.php (modified) (1 diff)
-
tags/1.0.10/inc/widget/woocommerce/product-upsells-slider.php (modified) (1 diff)
-
tags/1.0.10/readme.txt (modified) (2 diffs)
-
trunk/hq-widgets-for-elementor.php (modified) (2 diffs)
-
trunk/inc/admin/admin-settings.php (modified) (3 diffs)
-
trunk/inc/control/group-control-posts.php (modified) (2 diffs)
-
trunk/inc/dependencies.php (modified) (3 diffs)
-
trunk/inc/responsive.php (modified) (2 diffs)
-
trunk/inc/widget/posts-base.php (modified) (2 diffs)
-
trunk/inc/widget/products-base.php (modified) (2 diffs)
-
trunk/inc/widget/theme/archive-posts.php (modified) (1 diff)
-
trunk/inc/widget/theme/search-results.php (modified) (1 diff)
-
trunk/inc/widget/widgets-control.php (modified) (65 diffs)
-
trunk/inc/widget/woocommerce/archive-products.php (modified) (1 diff)
-
trunk/inc/widget/woocommerce/product-related-products-grid.php (modified) (1 diff)
-
trunk/inc/widget/woocommerce/product-related-products-slider.php (modified) (1 diff)
-
trunk/inc/widget/woocommerce/product-upsells-grid.php (modified) (1 diff)
-
trunk/inc/widget/woocommerce/product-upsells-slider.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hq-widgets-for-elementor/tags/1.0.10/hq-widgets-for-elementor.php
r2477060 r2481601 5 5 * 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 6 6 * 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. 97 * Version: 1.0.10 8 8 * Requires at least: 5.3 9 9 * Requires PHP: 7.2 … … 61 61 * @var string 62 62 */ 63 const VERSION = '1.0. 9';63 const VERSION = '1.0.10'; 64 64 65 65 // Load Autoloader -
hq-widgets-for-elementor/tags/1.0.10/inc/admin/admin-settings.php
r2477060 r2481601 60 60 $contentAfter = '<div class="mt-3 border-top-dotted">' . $widget_requires_check->html . '</div>'; 61 61 } 62 $description = sprintf('<i class="%1$s"></i><a href="%2$s" class="btn-widget-demo" target="_blank"><i class="eicon-device-desktop"></i></a>', $widget_config['icon_class'], $widget_config['demo_url']); 62 if (empty($widget_config['demo_url'])) { 63 $description = sprintf('<i class="%1$s"></i>', $widget_config['icon_class']); 64 } else { 65 $description = sprintf('<i class="%1$s"></i><a href="%2$s" class="btn-widget-demo" target="_blank"><i class="eicon-device-desktop"></i></a>', $widget_config['icon_class'], $widget_config['demo_url']); 66 } 63 67 $widgets->add_field( 64 68 \HQLib\Field::mk('html', $widget_key) … … 102 106 foreach ($module_widgets as $widget_key => $widget_config) { 103 107 $widget_requires_check = \HQLib\Helper::field_requires_check($widget_config); 104 $description = sprintf('<i class="%1$s"></i><a href="%2$s" class="btn-widget-demo" target="_blank"><i class="eicon-device-desktop"></i></a>', $widget_config['icon_class'], $widget_config['demo_url']); 108 if (empty($widget_config['demo_url'])) { 109 $description = sprintf('<i class="%1$s"></i>', $widget_config['icon_class']); 110 } else { 111 $description = sprintf('<i class="%1$s"></i><a href="%2$s" class="btn-widget-demo" target="_blank"><i class="eicon-device-desktop"></i></a>', $widget_config['icon_class'], $widget_config['demo_url']); 112 } 105 113 $core_widgets->add_field( 106 114 \HQLib\Field::mk('checkbox', $widget_key, _x($widget_config['name'], 'admin widgets', 'hq-widgets-for-elementor')) … … 121 129 foreach ($module_widgets as $widget_key => $widget_config) { 122 130 $widget_requires_check = \HQLib\Helper::field_requires_check($widget_config); 123 $description = sprintf('<i class="%1$s"></i><a href="%2$s" class="btn-widget-demo" target="_blank"><i class="eicon-device-desktop"></i></a>', $widget_config['icon_class'], $widget_config['demo_url']); 131 if (empty($widget_config['demo_url'])) { 132 $description = sprintf('<i class="%1$s"></i>', $widget_config['icon_class']); 133 } else { 134 $description = sprintf('<i class="%1$s"></i><a href="%2$s" class="btn-widget-demo" target="_blank"><i class="eicon-device-desktop"></i></a>', $widget_config['icon_class'], $widget_config['demo_url']); 135 } 124 136 $third_party_widgets->add_field( 125 137 \HQLib\Field::mk('checkbox', $widget_key, _x($widget_config['name'], 'admin widgets', 'hq-widgets-for-elementor')) -
hq-widgets-for-elementor/tags/1.0.10/inc/control/group-control-posts.php
r2477060 r2481601 16 16 17 17 public static function get_type() { 18 return ' posts';18 return 'hq-posts'; 19 19 } 20 20 … … 29 29 'label' => _x('Posts Ids', 'hq-widgets-for-elementor'), 30 30 'type' => Controls_Manager::TEXT, 31 'description' => __('Select posts by id (comma-separated list of ids)', 'hq-widgets-for-elementor'), 31 32 ]; 32 33 -
hq-widgets-for-elementor/tags/1.0.10/inc/dependencies.php
r2404451 r2481601 25 25 'file' => 'hqtheme-extra/hqtheme-extra.php', 26 26 'constant' => '\HQExtra\VERSION', 27 'min_version' => '1.0.12', 27 28 'required' => true, 28 29 'dismiss' => false, … … 32 33 'file' => 'elementor/elementor.php', 33 34 'constant' => '\ELEMENTOR_VERSION', 35 'min_version' => '3.1.0', 34 36 'required' => true, 35 37 'dismiss' => false, … … 114 116 Admin_Notifications::instance()->add_notice('plugin_' . $plugin_name, $type, $message, $plugin_data['dismiss']); 115 117 } 118 } else { 119 // Check min version 120 $installed_plugin_version = self::get_installed_plugin_version($plugin_data['file']); 121 if (!empty($plugin_data['min_version']) && version_compare($installed_plugin_version, $plugin_data['min_version'], '<')) { 122 $this->is_dependencies_met = false; 123 // Check other plugins only in admin 124 if (!is_admin()) { 125 return; 126 } 127 $message_template_update = _x('<b>%s</b> is not working because you need to install <b>%s minimum version %s</b> plugin.', 'plugin dependency', 'hq-widgets-for-elementor'); 128 129 $type = 'error'; 130 $update_url = wp_nonce_url(self_admin_url('update.php?action=upgrade-plugin&plugin=' . $plugin_data['file']), 'upgrade-plugin_' . $plugin_data['file']); 131 132 $message = '<p>' . sprintf($message_template_update, $this->currnet_plugin_name, $plugin_data['name'], $plugin_data['min_version']) . '</p>'; 133 $message .= '<p>' . sprintf('<a href="%s" class="button-primary">%s %s</a>', $update_url, _x('Update', 'plugin dependency', 'hq-widgets-for-elementor'), $plugin_data['name']) . '</p>'; 134 Admin_Notifications::instance()->add_notice('plugin_' . $plugin_name, $type, $message, $plugin_data['dismiss']); 135 } 116 136 } 117 137 } 118 138 } 119 139 140 public static function get_installed_plugin_version($activation) { 141 require_once (ABSPATH . 'wp-admin/includes/plugin.php'); 142 $allPlugins = get_plugins(); 143 144 if (empty($allPlugins[$activation])) { 145 return false; 146 } 147 148 return $allPlugins[$activation]['Version']; 149 } 150 120 151 } -
hq-widgets-for-elementor/tags/1.0.10/inc/responsive.php
r2470080 r2481601 65 65 // Prevent loop 66 66 remove_action('elementor/core/files/clear_cache', ['HQWidgetsForElementor\Responsive', 'compile_stylesheet_templates']); 67 67 68 68 foreach (self::get_stylesheet_templates() as $file_name => $template_path) { 69 69 self::compile_stylesheet_template($file_name, $template_path); … … 92 92 */ 93 93 private static function get_stylesheet_templates() { 94 // Add widgets templates 95 $templates = apply_filters('hqt/responsive/get_stylesheet_templates', self::get_widgets_stylesheet_templates()); 96 return apply_filters('elementor/core/responsive/get_stylesheet_templates', $templates); 94 return apply_filters('hqt/responsive/get_stylesheet_templates', self::get_widgets_stylesheet_templates()); 97 95 } 98 96 -
hq-widgets-for-elementor/tags/1.0.10/inc/widget/posts-base.php
r2477060 r2481601 107 107 <article id="post-<?php the_ID(); ?>" <?php post_class($masonryCssClass); ?>> 108 108 <?php 109 Utils::load_elementor_template ($settings['post_layout_template']);109 Utils::load_elementor_template_with_help($settings['post_layout_template'], 'Content Tab > Layout > Post Layout'); 110 110 ?> 111 111 </article> … … 145 145 <article id="post-<?php the_ID(); ?>"> 146 146 <?php 147 Utils::load_elementor_template ($settings['post_layout_template']);147 Utils::load_elementor_template_with_help($settings['post_layout_template'], 'Content Tab > Layout > Post Layout'); 148 148 ?> 149 149 </article> -
hq-widgets-for-elementor/tags/1.0.10/inc/widget/products-base.php
r2477060 r2481601 76 76 <div id="product-<?php the_ID(); ?>" <?php post_class($masonryCssClass); ?>> 77 77 <?php 78 Utils::load_elementor_template ($settings['product_layout_template']);78 Utils::load_elementor_template_with_help($settings['product_layout_template'], 'Content Tab > Layout > Product Layout'); 79 79 ?> 80 80 </div> … … 116 116 <div id="product-<?php the_ID(); ?>"> 117 117 <?php 118 Utils::load_elementor_template ($settings['product_layout_template']);118 Utils::load_elementor_template_with_help($settings['product_layout_template'], 'Content Tab > Layout > Product Layout'); 119 119 ?> 120 120 </div> -
hq-widgets-for-elementor/tags/1.0.10/inc/widget/theme/archive-posts.php
r2389368 r2481601 82 82 * Allow third party plugins to change query params 83 83 */ 84 $query_vars = apply_filters(' elementor/theme/posts_archive/query_posts/query_vars', $query_vars);84 $query_vars = apply_filters('hqt/widget/posts_archive/query_posts/query_vars', $query_vars); 85 85 86 86 // Check if params are changed -
hq-widgets-for-elementor/tags/1.0.10/inc/widget/theme/search-results.php
r2477060 r2481601 133 133 * Allow third party plugins to change query params 134 134 */ 135 $query_vars = apply_filters(' elementor/theme/posts_search/query_posts/query_vars', $query_vars);135 $query_vars = apply_filters('hqt/widget/posts_search/query_posts/query_vars', $query_vars); 136 136 137 137 // Check if params are changed -
hq-widgets-for-elementor/tags/1.0.10/inc/widget/widgets-control.php
r2477060 r2481601 36 36 'default_activation' => 'on', 37 37 'icon_class' => 'hq-icon-arrows', 38 'demo_url' => 'https://marmot.hqwebs.net/',38 //'demo_url' => 'https://marmot.hqwebs.net/', 39 39 ], 40 40 'countdown-timer' => [ 41 41 'type' => 'free', 42 42 'name' => 'Countdown Timer', 43 'default_activation' => 'o n',43 'default_activation' => 'off', 44 44 'icon_class' => 'hq-icon-chronometer', 45 'demo_url' => 'https://marmot.hqwebs.net/',46 45 ], 47 46 'elementor-global-template' => [ 48 47 'type' => 'free', 49 48 'name' => 'Elementor Global Template', 50 'default_activation' => 'o ff',49 'default_activation' => 'on', 51 50 'icon_class' => 'hq-icon-global-template', 52 'demo_url' => 'https://marmot.hqwebs.net/',53 51 ], 54 52 'flip-box' => [ … … 57 55 'default_activation' => 'on', 58 56 'icon_class' => 'hq-icon-flip', 59 'demo_url' => 'https://marmot.hqwebs.net/',60 57 ], 61 58 'modal-box' => [ … … 64 61 'default_activation' => 'on', 65 62 'icon_class' => 'hq-icon-send', 66 'demo_url' => 'https://marmot.hqwebs.net/',67 63 ], 68 64 'nav-menu' => [ … … 71 67 'default_activation' => 'on', 72 68 'icon_class' => 'hq-icon-navigation-menu', 73 'demo_url' => 'https://marmot.hqwebs.net/',74 69 ], 75 70 'social-share' => [ 76 71 'type' => 'free', 77 72 'name' => 'Social Share', 78 'default_activation' => 'o ff',73 'default_activation' => 'on', 79 74 'icon_class' => 'hq-icon-social-share', 80 'demo_url' => 'https://marmot.hqwebs.net/',81 75 ], 82 76 // Blog … … 86 80 'default_activation' => 'on', 87 81 'icon_class' => 'hq-icon-list', 88 'demo_url' => 'https://marmot.hqwebs.net/',89 82 ], 90 83 'archive-title' => [ … … 93 86 'default_activation' => 'on', 94 87 'icon_class' => 'hq-icon-text-tool', 95 'demo_url' => 'https://marmot.hqwebs.net/',96 88 ], 97 89 'posts-grid' => [ … … 100 92 'default_activation' => 'on', 101 93 'icon_class' => 'hq-icon-wireframe-list', 102 'demo_url' => 'https://marmot.hqwebs.net/',103 94 ], 104 95 'posts-slider' => [ … … 107 98 'default_activation' => 'on', 108 99 'icon_class' => 'hq-icon-layer-slider', 109 'demo_url' => 'https://marmot.hqwebs.net/',110 100 ], 111 101 'search-results' => [ … … 114 104 'default_activation' => 'on', 115 105 'icon_class' => 'hq-icon-grid-bordered', 116 'demo_url' => 'https://marmot.hqwebs.net/',117 106 ], 118 107 'author-box' => [ … … 121 110 'default_activation' => 'on', 122 111 'icon_class' => 'hq-icon-author-box', 123 'demo_url' => 'https://marmot.hqwebs.net/',124 112 ], 125 113 'post-comments' => [ … … 128 116 'default_activation' => 'on', 129 117 'icon_class' => 'hq-icon-conversation', 130 'demo_url' => 'https://marmot.hqwebs.net/',131 118 ], 132 119 'post-content' => [ … … 135 122 'default_activation' => 'on', 136 123 'icon_class' => 'hq-icon-content-writing', 137 'demo_url' => 'https://marmot.hqwebs.net/',138 124 ], 139 125 'post-excerpt' => [ … … 142 128 'default_activation' => 'on', 143 129 'icon_class' => 'hq-icon-document-add', 144 'demo_url' => 'https://marmot.hqwebs.net/',145 130 ], 146 131 'post-featured-image' => [ … … 149 134 'default_activation' => 'on', 150 135 'icon_class' => 'hq-icon-adjust', 151 'demo_url' => 'https://marmot.hqwebs.net/',152 136 ], 153 137 'post-link' => [ … … 156 140 'default_activation' => 'on', 157 141 'icon_class' => 'hq-icon-link', 158 'demo_url' => 'https://marmot.hqwebs.net/',159 142 ], 160 143 'post-meta-data' => [ … … 163 146 'default_activation' => 'on', 164 147 'icon_class' => 'hq-icon-menu-dots-horizontal', 165 'demo_url' => 'https://marmot.hqwebs.net/',166 148 ], 167 149 'post-navigation' => [ … … 170 152 'default_activation' => 'on', 171 153 'icon_class' => 'hq-icon-transfer', 172 'demo_url' => 'https://marmot.hqwebs.net/',173 154 ], 174 155 'post-taxonomies' => [ … … 177 158 'default_activation' => 'on', 178 159 'icon_class' => 'hq-icon-price-tag', 179 'demo_url' => 'https://marmot.hqwebs.net/',180 160 ], 181 161 'post-title' => [ … … 184 164 'default_activation' => 'on', 185 165 'icon_class' => 'hq-icon-title', 186 'demo_url' => 'https://marmot.hqwebs.net/',187 166 ], 188 167 'post-related-posts-slider' => [ … … 191 170 'default_activation' => 'on', 192 171 'icon_class' => 'hq-icon-carousel', 193 'demo_url' => 'https://marmot.hqwebs.net/',194 172 ], 195 173 'post-related-posts-grid' => [ … … 198 176 'default_activation' => 'on', 199 177 'icon_class' => 'hq-icon-posts-grid', 200 'demo_url' => 'https://marmot.hqwebs.net/',201 178 ], 202 179 ], … … 217 194 'default_activation' => 'on', 218 195 'icon_class' => 'hq-icon-contact', 219 'demo_url' => 'https://marmot.hqwebs.net/',220 196 'requires' => [ 221 197 'contact-form-seven' => [ … … 233 209 'default_activation' => 'off', 234 210 'icon_class' => 'hq-icon-message', 235 'demo_url' => 'https://marmot.hqwebs.net/',236 211 'requires' => [ 237 212 'wp-forms' => [ … … 249 224 'default_activation' => 'off', 250 225 'icon_class' => 'hq-icon-translator', 251 'demo_url' => 'https://marmot.hqwebs.net/',252 226 'requires' => [ 253 227 'polylang' => [ … … 267 241 'default_activation' => 'on', 268 242 'icon_class' => 'hq-icon-products-layout', 269 'demo_url' => 'https://marmot.hqwebs.net/',270 243 'requires' => [ 271 244 'woocommerce' => [ … … 283 256 'default_activation' => 'on', 284 257 'icon_class' => 'hq-icon-quill', 285 'demo_url' => 'https://marmot.hqwebs.net/',286 258 'requires' => [ 287 259 'woocommerce' => [ … … 299 271 'default_activation' => 'on', 300 272 'icon_class' => 'hq-icon-archive-product-add-to-cart', 301 'demo_url' => 'https://marmot.hqwebs.net/',302 273 'requires' => [ 303 274 'woocommerce' => [ … … 315 286 'default_activation' => 'on', 316 287 'icon_class' => 'hq-icon-document', 317 'demo_url' => 'https://marmot.hqwebs.net/',318 288 'requires' => [ 319 289 'woocommerce' => [ … … 331 301 'default_activation' => 'on', 332 302 'icon_class' => 'hq-icon-warning', 333 'demo_url' => 'https://marmot.hqwebs.net/',334 303 'requires' => [ 335 304 'woocommerce' => [ … … 347 316 'default_activation' => 'on', 348 317 'icon_class' => 'hq-icon-add-to-cart', 349 'demo_url' => 'https://marmot.hqwebs.net/',350 318 'requires' => [ 351 319 'woocommerce' => [ … … 363 331 'default_activation' => 'on', 364 332 'icon_class' => 'hq-icon-product-add-to-cart', 365 'demo_url' => 'https://marmot.hqwebs.net/',366 333 'requires' => [ 367 334 'woocommerce' => [ … … 379 346 'default_activation' => 'on', 380 347 'icon_class' => 'hq-icon-product-additional-information', 381 'demo_url' => 'https://marmot.hqwebs.net/',382 348 'requires' => [ 383 349 'woocommerce' => [ … … 395 361 'default_activation' => 'on', 396 362 'icon_class' => 'hq-icon-grid', 397 'demo_url' => 'https://marmot.hqwebs.net/',398 363 'requires' => [ 399 364 'woocommerce' => [ … … 411 376 'default_activation' => 'on', 412 377 'icon_class' => 'hq-icon-product-content', 413 'demo_url' => 'https://marmot.hqwebs.net/',414 378 'requires' => [ 415 379 'woocommerce' => [ … … 427 391 'default_activation' => 'on', 428 392 'icon_class' => 'hq-icon-tabs', 429 'demo_url' => 'https://marmot.hqwebs.net/',430 393 'requires' => [ 431 394 'woocommerce' => [ … … 443 406 'default_activation' => 'on', 444 407 'icon_class' => 'hq-icon-add-photo', 445 'demo_url' => 'https://marmot.hqwebs.net/',446 408 'requires' => [ 447 409 'woocommerce' => [ … … 459 421 'default_activation' => 'on', 460 422 'icon_class' => 'hq-icon-wireframe-featured', 461 'demo_url' => 'https://marmot.hqwebs.net/',462 423 'requires' => [ 463 424 'woocommerce' => [ … … 475 436 'default_activation' => 'on', 476 437 'icon_class' => 'hq-icon-add', 477 'demo_url' => 'https://marmot.hqwebs.net/',478 438 'requires' => [ 479 439 'woocommerce' => [ … … 491 451 'default_activation' => 'on', 492 452 'icon_class' => 'hq-icon-metadata', 493 'demo_url' => 'https://marmot.hqwebs.net/',494 453 'requires' => [ 495 454 'woocommerce' => [ … … 507 466 'default_activation' => 'on', 508 467 'icon_class' => 'hq-icon-price-label', 509 'demo_url' => 'https://marmot.hqwebs.net/',510 468 'requires' => [ 511 469 'woocommerce' => [ … … 523 481 'default_activation' => 'on', 524 482 'icon_class' => 'hq-icon-product-rating', 525 'demo_url' => 'https://marmot.hqwebs.net/',526 483 'requires' => [ 527 484 'woocommerce' => [ … … 539 496 'default_activation' => 'on', 540 497 'icon_class' => 'hq-icon-feedback', 541 'demo_url' => 'https://marmot.hqwebs.net/',542 498 'requires' => [ 543 499 'woocommerce' => [ … … 555 511 'default_activation' => 'on', 556 512 'icon_class' => 'hq-icon-text-image', 557 'demo_url' => 'https://marmot.hqwebs.net/',558 513 'requires' => [ 559 514 'woocommerce' => [ … … 571 526 'default_activation' => 'on', 572 527 'icon_class' => 'hq-icon-vote', 573 'demo_url' => 'https://marmot.hqwebs.net/',574 528 'requires' => [ 575 529 'woocommerce' => [ … … 587 541 'default_activation' => 'on', 588 542 'icon_class' => 'hq-icon-transform-text', 589 'demo_url' => 'https://marmot.hqwebs.net/',590 543 'requires' => [ 591 544 'woocommerce' => [ … … 603 556 'default_activation' => 'on', 604 557 'icon_class' => 'hq-icon-wireframe-list-mix', 605 'demo_url' => 'https://marmot.hqwebs.net/',606 558 'requires' => [ 607 559 'woocommerce' => [ … … 619 571 'default_activation' => 'on', 620 572 'icon_class' => 'hq-icon-slider-2', 621 'demo_url' => 'https://marmot.hqwebs.net/',622 573 'requires' => [ 623 574 'woocommerce' => [ … … 635 586 'default_activation' => 'on', 636 587 'icon_class' => 'hq-icon-advertisement', 637 'demo_url' => 'https://marmot.hqwebs.net/',638 588 'requires' => [ 639 589 'woocommerce' => [ … … 651 601 'default_activation' => 'on', 652 602 'icon_class' => 'hq-icon-product-upsell-slider', 653 'demo_url' => 'https://marmot.hqwebs.net/',654 603 'requires' => [ 655 604 'woocommerce' => [ … … 667 616 'default_activation' => 'on', 668 617 'icon_class' => 'hq-icon-slider', 669 'demo_url' => 'https://marmot.hqwebs.net/',670 618 'requires' => [ 671 619 'woocommerce' => [ … … 683 631 'default_activation' => 'on', 684 632 'icon_class' => 'hq-icon-pixels', 685 'demo_url' => 'https://marmot.hqwebs.net/',686 633 'requires' => [ 687 634 'woocommerce' => [ … … 711 658 'categories' => ['hq-widgets-for-elementor'], 712 659 'icon_class' => 'hq-icon-flip-box', 713 'demo_url' => 'https://marmot.hqwebs.net/',714 660 'requires' => [ 715 661 'marmot-enhancer-pro' => [ … … 726 672 'categories' => ['hq-widgets-for-elementor'], 727 673 'icon_class' => 'hq-icon-advanced-icon-box', 728 'demo_url' => 'https://marmot.hqwebs.net/',729 674 'requires' => [ 730 675 'marmot-enhancer-pro' => [ … … 741 686 'categories' => ['hq-widgets-for-elementor'], 742 687 'icon_class' => 'hq-icon-menu', 743 'demo_url' => 'https://marmot.hqwebs.net/',744 688 'requires' => [ 745 689 'marmot-enhancer-pro' => [ … … 760 704 'categories' => ['hq-widgets-for-elementor'], 761 705 'icon_class' => 'hq-icon-email', 762 'demo_url' => 'https://marmot.hqwebs.net/',763 706 'requires' => [ 764 707 'marmot-enhancer-pro' => [ … … 775 718 'categories' => ['hq-widgets-for-elementor'], 776 719 'icon_class' => 'hq-icon-open-table-reservations', 777 'demo_url' => 'https://marmot.hqwebs.net/',778 720 'requires' => [ 779 721 'marmot-enhancer-pro' => [ … … 792 734 'categories' => ['hq-widgets-for-elementor-woo'], 793 735 'icon_class' => 'hq-icon-shopping-basket', 794 'demo_url' => 'https://marmot.hqwebs.net/',795 736 'requires' => [ 796 737 'marmot-enhancer-pro' => [ … … 807 748 'categories' => ['hq-widgets-for-elementor-woo'], 808 749 'icon_class' => 'hq-icon-woo-product-cross-sell', 809 'demo_url' => 'https://marmot.hqwebs.net/',810 750 'requires' => [ 811 751 'marmot-enhancer-pro' => [ … … 822 762 'categories' => ['hq-widgets-for-elementor-woo'], 823 763 'icon_class' => 'hq-icon-online-payment', 824 'demo_url' => 'https://marmot.hqwebs.net/',825 764 'requires' => [ 826 765 'marmot-enhancer-pro' => [ … … 837 776 'categories' => ['hq-widgets-for-elementor-woo'], 838 777 'icon_class' => 'hq-icon-purchasing', 839 'demo_url' => 'https://marmot.hqwebs.net/',840 778 'requires' => [ 841 779 'marmot-enhancer-pro' => [ … … 852 790 'categories' => ['hq-widgets-for-elementor-woo'], 853 791 'icon_class' => 'hq-icon-checkout-flow', 854 'demo_url' => 'https://marmot.hqwebs.net/',855 792 'requires' => [ 856 793 'marmot-enhancer-pro' => [ … … 867 804 'categories' => ['hq-widgets-for-elementor-woo'], 868 805 'icon_class' => 'hq-icon-woo-sale', 869 'demo_url' => 'https://marmot.hqwebs.net/',870 806 'requires' => [ 871 807 'marmot-enhancer-pro' => [ … … 882 818 'categories' => ['hq-widgets-for-elementor-woo'], 883 819 'icon_class' => 'hq-icon-online-shopping-3', 884 'demo_url' => 'https://marmot.hqwebs.net/',885 820 'requires' => [ 886 821 'marmot-enhancer-pro' => [ … … 976 911 $promotion_widgets = $config['promotionWidgets']; 977 912 } 978 913 979 914 $hq_promotional_widgets = []; 980 915 foreach (self::$pro_widgets as $group_type) { … … 990 925 } 991 926 } 992 927 993 928 $config['promotionWidgets'] = array_merge($promotion_widgets, $hq_promotional_widgets); 994 929 -
hq-widgets-for-elementor/tags/1.0.10/inc/widget/woocommerce/archive-products.php
r2463415 r2481601 86 86 $query_vars = $wp_query->query_vars; 87 87 88 $query_vars = apply_filters(' elementor/theme/products_archive/query_posts/query_vars', $query_vars);88 $query_vars = apply_filters('hqt/widget/products_archive/query_posts/query_vars', $query_vars); 89 89 90 90 if ($query_vars !== $wp_query->query_vars) { -
hq-widgets-for-elementor/tags/1.0.10/inc/widget/woocommerce/product-related-products-grid.php
r2452713 r2481601 82 82 <div id="product-<?php the_ID(); ?>" <?php post_class(); ?>> 83 83 <?php 84 Utils::load_elementor_template ($settings['product_layout_template']);84 Utils::load_elementor_template_with_help($settings['product_layout_template'], 'Content Tab > Layout > Product Layout'); 85 85 ?> 86 86 </div> -
hq-widgets-for-elementor/tags/1.0.10/inc/widget/woocommerce/product-related-products-slider.php
r2452713 r2481601 81 81 <div id="product-<?php the_ID(); ?>"> 82 82 <?php 83 Utils::load_elementor_template ($settings['product_layout_template']);83 Utils::load_elementor_template_with_help($settings['product_layout_template'], 'Content Tab > Layout > Product Layout'); 84 84 ?> 85 85 </div> -
hq-widgets-for-elementor/tags/1.0.10/inc/widget/woocommerce/product-upsells-grid.php
r2452713 r2481601 86 86 <div id="product-<?php the_ID(); ?>" <?php post_class(); ?>> 87 87 <?php 88 Utils::load_elementor_template ($settings['product_layout_template']);88 Utils::load_elementor_template_with_help($settings['product_layout_template'], 'Content Tab > Layout > Product Layout'); 89 89 ?> 90 90 </div> -
hq-widgets-for-elementor/tags/1.0.10/inc/widget/woocommerce/product-upsells-slider.php
r2452713 r2481601 86 86 <div id="product-<?php the_ID(); ?>" <?php post_class(); ?>> 87 87 <?php 88 Utils::load_elementor_template ($settings['product_layout_template']);88 Utils::load_elementor_template_with_help($settings['product_layout_template'], 'Content Tab > Layout > Product Layout'); 89 89 ?> 90 90 </div> -
hq-widgets-for-elementor/tags/1.0.10/readme.txt
r2477060 r2481601 3 3 Tags: hqtheme, widgets for elementor, woocommerce, menu for elementor, contact form 7 for elementor 4 4 Requires at least: 5.3 5 Tested up to: 5. 55 Tested up to: 5.6 6 6 Requires PHP: 7.2 7 Stable tag: 1.0. 97 Stable tag: 1.0.10 8 8 License: GPL v3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 129 129 == Changelog == 130 130 131 = 1.0.10 - 2021-02-25 = 132 * Update WordPress version compatibility 133 * Elementor Global Template widget - enabled by default 134 * Social Share widget - enabled by default 135 * Add Dependency version check 136 131 137 = 1.0.9 - 2021-02-18 = 132 138 * Added Promotional widgets in Elementor editor -
hq-widgets-for-elementor/trunk/hq-widgets-for-elementor.php
r2477060 r2481601 5 5 * 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 6 6 * 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. 97 * Version: 1.0.10 8 8 * Requires at least: 5.3 9 9 * Requires PHP: 7.2 … … 61 61 * @var string 62 62 */ 63 const VERSION = '1.0. 9';63 const VERSION = '1.0.10'; 64 64 65 65 // Load Autoloader -
hq-widgets-for-elementor/trunk/inc/admin/admin-settings.php
r2477060 r2481601 60 60 $contentAfter = '<div class="mt-3 border-top-dotted">' . $widget_requires_check->html . '</div>'; 61 61 } 62 $description = sprintf('<i class="%1$s"></i><a href="%2$s" class="btn-widget-demo" target="_blank"><i class="eicon-device-desktop"></i></a>', $widget_config['icon_class'], $widget_config['demo_url']); 62 if (empty($widget_config['demo_url'])) { 63 $description = sprintf('<i class="%1$s"></i>', $widget_config['icon_class']); 64 } else { 65 $description = sprintf('<i class="%1$s"></i><a href="%2$s" class="btn-widget-demo" target="_blank"><i class="eicon-device-desktop"></i></a>', $widget_config['icon_class'], $widget_config['demo_url']); 66 } 63 67 $widgets->add_field( 64 68 \HQLib\Field::mk('html', $widget_key) … … 102 106 foreach ($module_widgets as $widget_key => $widget_config) { 103 107 $widget_requires_check = \HQLib\Helper::field_requires_check($widget_config); 104 $description = sprintf('<i class="%1$s"></i><a href="%2$s" class="btn-widget-demo" target="_blank"><i class="eicon-device-desktop"></i></a>', $widget_config['icon_class'], $widget_config['demo_url']); 108 if (empty($widget_config['demo_url'])) { 109 $description = sprintf('<i class="%1$s"></i>', $widget_config['icon_class']); 110 } else { 111 $description = sprintf('<i class="%1$s"></i><a href="%2$s" class="btn-widget-demo" target="_blank"><i class="eicon-device-desktop"></i></a>', $widget_config['icon_class'], $widget_config['demo_url']); 112 } 105 113 $core_widgets->add_field( 106 114 \HQLib\Field::mk('checkbox', $widget_key, _x($widget_config['name'], 'admin widgets', 'hq-widgets-for-elementor')) … … 121 129 foreach ($module_widgets as $widget_key => $widget_config) { 122 130 $widget_requires_check = \HQLib\Helper::field_requires_check($widget_config); 123 $description = sprintf('<i class="%1$s"></i><a href="%2$s" class="btn-widget-demo" target="_blank"><i class="eicon-device-desktop"></i></a>', $widget_config['icon_class'], $widget_config['demo_url']); 131 if (empty($widget_config['demo_url'])) { 132 $description = sprintf('<i class="%1$s"></i>', $widget_config['icon_class']); 133 } else { 134 $description = sprintf('<i class="%1$s"></i><a href="%2$s" class="btn-widget-demo" target="_blank"><i class="eicon-device-desktop"></i></a>', $widget_config['icon_class'], $widget_config['demo_url']); 135 } 124 136 $third_party_widgets->add_field( 125 137 \HQLib\Field::mk('checkbox', $widget_key, _x($widget_config['name'], 'admin widgets', 'hq-widgets-for-elementor')) -
hq-widgets-for-elementor/trunk/inc/control/group-control-posts.php
r2477060 r2481601 16 16 17 17 public static function get_type() { 18 return ' posts';18 return 'hq-posts'; 19 19 } 20 20 … … 29 29 'label' => _x('Posts Ids', 'hq-widgets-for-elementor'), 30 30 'type' => Controls_Manager::TEXT, 31 'description' => __('Select posts by id (comma-separated list of ids)', 'hq-widgets-for-elementor'), 31 32 ]; 32 33 -
hq-widgets-for-elementor/trunk/inc/dependencies.php
r2404451 r2481601 25 25 'file' => 'hqtheme-extra/hqtheme-extra.php', 26 26 'constant' => '\HQExtra\VERSION', 27 'min_version' => '1.0.12', 27 28 'required' => true, 28 29 'dismiss' => false, … … 32 33 'file' => 'elementor/elementor.php', 33 34 'constant' => '\ELEMENTOR_VERSION', 35 'min_version' => '3.1.0', 34 36 'required' => true, 35 37 'dismiss' => false, … … 114 116 Admin_Notifications::instance()->add_notice('plugin_' . $plugin_name, $type, $message, $plugin_data['dismiss']); 115 117 } 118 } else { 119 // Check min version 120 $installed_plugin_version = self::get_installed_plugin_version($plugin_data['file']); 121 if (!empty($plugin_data['min_version']) && version_compare($installed_plugin_version, $plugin_data['min_version'], '<')) { 122 $this->is_dependencies_met = false; 123 // Check other plugins only in admin 124 if (!is_admin()) { 125 return; 126 } 127 $message_template_update = _x('<b>%s</b> is not working because you need to install <b>%s minimum version %s</b> plugin.', 'plugin dependency', 'hq-widgets-for-elementor'); 128 129 $type = 'error'; 130 $update_url = wp_nonce_url(self_admin_url('update.php?action=upgrade-plugin&plugin=' . $plugin_data['file']), 'upgrade-plugin_' . $plugin_data['file']); 131 132 $message = '<p>' . sprintf($message_template_update, $this->currnet_plugin_name, $plugin_data['name'], $plugin_data['min_version']) . '</p>'; 133 $message .= '<p>' . sprintf('<a href="%s" class="button-primary">%s %s</a>', $update_url, _x('Update', 'plugin dependency', 'hq-widgets-for-elementor'), $plugin_data['name']) . '</p>'; 134 Admin_Notifications::instance()->add_notice('plugin_' . $plugin_name, $type, $message, $plugin_data['dismiss']); 135 } 116 136 } 117 137 } 118 138 } 119 139 140 public static function get_installed_plugin_version($activation) { 141 require_once (ABSPATH . 'wp-admin/includes/plugin.php'); 142 $allPlugins = get_plugins(); 143 144 if (empty($allPlugins[$activation])) { 145 return false; 146 } 147 148 return $allPlugins[$activation]['Version']; 149 } 150 120 151 } -
hq-widgets-for-elementor/trunk/inc/responsive.php
r2470080 r2481601 65 65 // Prevent loop 66 66 remove_action('elementor/core/files/clear_cache', ['HQWidgetsForElementor\Responsive', 'compile_stylesheet_templates']); 67 67 68 68 foreach (self::get_stylesheet_templates() as $file_name => $template_path) { 69 69 self::compile_stylesheet_template($file_name, $template_path); … … 92 92 */ 93 93 private static function get_stylesheet_templates() { 94 // Add widgets templates 95 $templates = apply_filters('hqt/responsive/get_stylesheet_templates', self::get_widgets_stylesheet_templates()); 96 return apply_filters('elementor/core/responsive/get_stylesheet_templates', $templates); 94 return apply_filters('hqt/responsive/get_stylesheet_templates', self::get_widgets_stylesheet_templates()); 97 95 } 98 96 -
hq-widgets-for-elementor/trunk/inc/widget/posts-base.php
r2477060 r2481601 107 107 <article id="post-<?php the_ID(); ?>" <?php post_class($masonryCssClass); ?>> 108 108 <?php 109 Utils::load_elementor_template ($settings['post_layout_template']);109 Utils::load_elementor_template_with_help($settings['post_layout_template'], 'Content Tab > Layout > Post Layout'); 110 110 ?> 111 111 </article> … … 145 145 <article id="post-<?php the_ID(); ?>"> 146 146 <?php 147 Utils::load_elementor_template ($settings['post_layout_template']);147 Utils::load_elementor_template_with_help($settings['post_layout_template'], 'Content Tab > Layout > Post Layout'); 148 148 ?> 149 149 </article> -
hq-widgets-for-elementor/trunk/inc/widget/products-base.php
r2477060 r2481601 76 76 <div id="product-<?php the_ID(); ?>" <?php post_class($masonryCssClass); ?>> 77 77 <?php 78 Utils::load_elementor_template ($settings['product_layout_template']);78 Utils::load_elementor_template_with_help($settings['product_layout_template'], 'Content Tab > Layout > Product Layout'); 79 79 ?> 80 80 </div> … … 116 116 <div id="product-<?php the_ID(); ?>"> 117 117 <?php 118 Utils::load_elementor_template ($settings['product_layout_template']);118 Utils::load_elementor_template_with_help($settings['product_layout_template'], 'Content Tab > Layout > Product Layout'); 119 119 ?> 120 120 </div> -
hq-widgets-for-elementor/trunk/inc/widget/theme/archive-posts.php
r2389368 r2481601 82 82 * Allow third party plugins to change query params 83 83 */ 84 $query_vars = apply_filters(' elementor/theme/posts_archive/query_posts/query_vars', $query_vars);84 $query_vars = apply_filters('hqt/widget/posts_archive/query_posts/query_vars', $query_vars); 85 85 86 86 // Check if params are changed -
hq-widgets-for-elementor/trunk/inc/widget/theme/search-results.php
r2477060 r2481601 133 133 * Allow third party plugins to change query params 134 134 */ 135 $query_vars = apply_filters(' elementor/theme/posts_search/query_posts/query_vars', $query_vars);135 $query_vars = apply_filters('hqt/widget/posts_search/query_posts/query_vars', $query_vars); 136 136 137 137 // Check if params are changed -
hq-widgets-for-elementor/trunk/inc/widget/widgets-control.php
r2477060 r2481601 36 36 'default_activation' => 'on', 37 37 'icon_class' => 'hq-icon-arrows', 38 'demo_url' => 'https://marmot.hqwebs.net/',38 //'demo_url' => 'https://marmot.hqwebs.net/', 39 39 ], 40 40 'countdown-timer' => [ 41 41 'type' => 'free', 42 42 'name' => 'Countdown Timer', 43 'default_activation' => 'o n',43 'default_activation' => 'off', 44 44 'icon_class' => 'hq-icon-chronometer', 45 'demo_url' => 'https://marmot.hqwebs.net/',46 45 ], 47 46 'elementor-global-template' => [ 48 47 'type' => 'free', 49 48 'name' => 'Elementor Global Template', 50 'default_activation' => 'o ff',49 'default_activation' => 'on', 51 50 'icon_class' => 'hq-icon-global-template', 52 'demo_url' => 'https://marmot.hqwebs.net/',53 51 ], 54 52 'flip-box' => [ … … 57 55 'default_activation' => 'on', 58 56 'icon_class' => 'hq-icon-flip', 59 'demo_url' => 'https://marmot.hqwebs.net/',60 57 ], 61 58 'modal-box' => [ … … 64 61 'default_activation' => 'on', 65 62 'icon_class' => 'hq-icon-send', 66 'demo_url' => 'https://marmot.hqwebs.net/',67 63 ], 68 64 'nav-menu' => [ … … 71 67 'default_activation' => 'on', 72 68 'icon_class' => 'hq-icon-navigation-menu', 73 'demo_url' => 'https://marmot.hqwebs.net/',74 69 ], 75 70 'social-share' => [ 76 71 'type' => 'free', 77 72 'name' => 'Social Share', 78 'default_activation' => 'o ff',73 'default_activation' => 'on', 79 74 'icon_class' => 'hq-icon-social-share', 80 'demo_url' => 'https://marmot.hqwebs.net/',81 75 ], 82 76 // Blog … … 86 80 'default_activation' => 'on', 87 81 'icon_class' => 'hq-icon-list', 88 'demo_url' => 'https://marmot.hqwebs.net/',89 82 ], 90 83 'archive-title' => [ … … 93 86 'default_activation' => 'on', 94 87 'icon_class' => 'hq-icon-text-tool', 95 'demo_url' => 'https://marmot.hqwebs.net/',96 88 ], 97 89 'posts-grid' => [ … … 100 92 'default_activation' => 'on', 101 93 'icon_class' => 'hq-icon-wireframe-list', 102 'demo_url' => 'https://marmot.hqwebs.net/',103 94 ], 104 95 'posts-slider' => [ … … 107 98 'default_activation' => 'on', 108 99 'icon_class' => 'hq-icon-layer-slider', 109 'demo_url' => 'https://marmot.hqwebs.net/',110 100 ], 111 101 'search-results' => [ … … 114 104 'default_activation' => 'on', 115 105 'icon_class' => 'hq-icon-grid-bordered', 116 'demo_url' => 'https://marmot.hqwebs.net/',117 106 ], 118 107 'author-box' => [ … … 121 110 'default_activation' => 'on', 122 111 'icon_class' => 'hq-icon-author-box', 123 'demo_url' => 'https://marmot.hqwebs.net/',124 112 ], 125 113 'post-comments' => [ … … 128 116 'default_activation' => 'on', 129 117 'icon_class' => 'hq-icon-conversation', 130 'demo_url' => 'https://marmot.hqwebs.net/',131 118 ], 132 119 'post-content' => [ … … 135 122 'default_activation' => 'on', 136 123 'icon_class' => 'hq-icon-content-writing', 137 'demo_url' => 'https://marmot.hqwebs.net/',138 124 ], 139 125 'post-excerpt' => [ … … 142 128 'default_activation' => 'on', 143 129 'icon_class' => 'hq-icon-document-add', 144 'demo_url' => 'https://marmot.hqwebs.net/',145 130 ], 146 131 'post-featured-image' => [ … … 149 134 'default_activation' => 'on', 150 135 'icon_class' => 'hq-icon-adjust', 151 'demo_url' => 'https://marmot.hqwebs.net/',152 136 ], 153 137 'post-link' => [ … … 156 140 'default_activation' => 'on', 157 141 'icon_class' => 'hq-icon-link', 158 'demo_url' => 'https://marmot.hqwebs.net/',159 142 ], 160 143 'post-meta-data' => [ … … 163 146 'default_activation' => 'on', 164 147 'icon_class' => 'hq-icon-menu-dots-horizontal', 165 'demo_url' => 'https://marmot.hqwebs.net/',166 148 ], 167 149 'post-navigation' => [ … … 170 152 'default_activation' => 'on', 171 153 'icon_class' => 'hq-icon-transfer', 172 'demo_url' => 'https://marmot.hqwebs.net/',173 154 ], 174 155 'post-taxonomies' => [ … … 177 158 'default_activation' => 'on', 178 159 'icon_class' => 'hq-icon-price-tag', 179 'demo_url' => 'https://marmot.hqwebs.net/',180 160 ], 181 161 'post-title' => [ … … 184 164 'default_activation' => 'on', 185 165 'icon_class' => 'hq-icon-title', 186 'demo_url' => 'https://marmot.hqwebs.net/',187 166 ], 188 167 'post-related-posts-slider' => [ … … 191 170 'default_activation' => 'on', 192 171 'icon_class' => 'hq-icon-carousel', 193 'demo_url' => 'https://marmot.hqwebs.net/',194 172 ], 195 173 'post-related-posts-grid' => [ … … 198 176 'default_activation' => 'on', 199 177 'icon_class' => 'hq-icon-posts-grid', 200 'demo_url' => 'https://marmot.hqwebs.net/',201 178 ], 202 179 ], … … 217 194 'default_activation' => 'on', 218 195 'icon_class' => 'hq-icon-contact', 219 'demo_url' => 'https://marmot.hqwebs.net/',220 196 'requires' => [ 221 197 'contact-form-seven' => [ … … 233 209 'default_activation' => 'off', 234 210 'icon_class' => 'hq-icon-message', 235 'demo_url' => 'https://marmot.hqwebs.net/',236 211 'requires' => [ 237 212 'wp-forms' => [ … … 249 224 'default_activation' => 'off', 250 225 'icon_class' => 'hq-icon-translator', 251 'demo_url' => 'https://marmot.hqwebs.net/',252 226 'requires' => [ 253 227 'polylang' => [ … … 267 241 'default_activation' => 'on', 268 242 'icon_class' => 'hq-icon-products-layout', 269 'demo_url' => 'https://marmot.hqwebs.net/',270 243 'requires' => [ 271 244 'woocommerce' => [ … … 283 256 'default_activation' => 'on', 284 257 'icon_class' => 'hq-icon-quill', 285 'demo_url' => 'https://marmot.hqwebs.net/',286 258 'requires' => [ 287 259 'woocommerce' => [ … … 299 271 'default_activation' => 'on', 300 272 'icon_class' => 'hq-icon-archive-product-add-to-cart', 301 'demo_url' => 'https://marmot.hqwebs.net/',302 273 'requires' => [ 303 274 'woocommerce' => [ … … 315 286 'default_activation' => 'on', 316 287 'icon_class' => 'hq-icon-document', 317 'demo_url' => 'https://marmot.hqwebs.net/',318 288 'requires' => [ 319 289 'woocommerce' => [ … … 331 301 'default_activation' => 'on', 332 302 'icon_class' => 'hq-icon-warning', 333 'demo_url' => 'https://marmot.hqwebs.net/',334 303 'requires' => [ 335 304 'woocommerce' => [ … … 347 316 'default_activation' => 'on', 348 317 'icon_class' => 'hq-icon-add-to-cart', 349 'demo_url' => 'https://marmot.hqwebs.net/',350 318 'requires' => [ 351 319 'woocommerce' => [ … … 363 331 'default_activation' => 'on', 364 332 'icon_class' => 'hq-icon-product-add-to-cart', 365 'demo_url' => 'https://marmot.hqwebs.net/',366 333 'requires' => [ 367 334 'woocommerce' => [ … … 379 346 'default_activation' => 'on', 380 347 'icon_class' => 'hq-icon-product-additional-information', 381 'demo_url' => 'https://marmot.hqwebs.net/',382 348 'requires' => [ 383 349 'woocommerce' => [ … … 395 361 'default_activation' => 'on', 396 362 'icon_class' => 'hq-icon-grid', 397 'demo_url' => 'https://marmot.hqwebs.net/',398 363 'requires' => [ 399 364 'woocommerce' => [ … … 411 376 'default_activation' => 'on', 412 377 'icon_class' => 'hq-icon-product-content', 413 'demo_url' => 'https://marmot.hqwebs.net/',414 378 'requires' => [ 415 379 'woocommerce' => [ … … 427 391 'default_activation' => 'on', 428 392 'icon_class' => 'hq-icon-tabs', 429 'demo_url' => 'https://marmot.hqwebs.net/',430 393 'requires' => [ 431 394 'woocommerce' => [ … … 443 406 'default_activation' => 'on', 444 407 'icon_class' => 'hq-icon-add-photo', 445 'demo_url' => 'https://marmot.hqwebs.net/',446 408 'requires' => [ 447 409 'woocommerce' => [ … … 459 421 'default_activation' => 'on', 460 422 'icon_class' => 'hq-icon-wireframe-featured', 461 'demo_url' => 'https://marmot.hqwebs.net/',462 423 'requires' => [ 463 424 'woocommerce' => [ … … 475 436 'default_activation' => 'on', 476 437 'icon_class' => 'hq-icon-add', 477 'demo_url' => 'https://marmot.hqwebs.net/',478 438 'requires' => [ 479 439 'woocommerce' => [ … … 491 451 'default_activation' => 'on', 492 452 'icon_class' => 'hq-icon-metadata', 493 'demo_url' => 'https://marmot.hqwebs.net/',494 453 'requires' => [ 495 454 'woocommerce' => [ … … 507 466 'default_activation' => 'on', 508 467 'icon_class' => 'hq-icon-price-label', 509 'demo_url' => 'https://marmot.hqwebs.net/',510 468 'requires' => [ 511 469 'woocommerce' => [ … … 523 481 'default_activation' => 'on', 524 482 'icon_class' => 'hq-icon-product-rating', 525 'demo_url' => 'https://marmot.hqwebs.net/',526 483 'requires' => [ 527 484 'woocommerce' => [ … … 539 496 'default_activation' => 'on', 540 497 'icon_class' => 'hq-icon-feedback', 541 'demo_url' => 'https://marmot.hqwebs.net/',542 498 'requires' => [ 543 499 'woocommerce' => [ … … 555 511 'default_activation' => 'on', 556 512 'icon_class' => 'hq-icon-text-image', 557 'demo_url' => 'https://marmot.hqwebs.net/',558 513 'requires' => [ 559 514 'woocommerce' => [ … … 571 526 'default_activation' => 'on', 572 527 'icon_class' => 'hq-icon-vote', 573 'demo_url' => 'https://marmot.hqwebs.net/',574 528 'requires' => [ 575 529 'woocommerce' => [ … … 587 541 'default_activation' => 'on', 588 542 'icon_class' => 'hq-icon-transform-text', 589 'demo_url' => 'https://marmot.hqwebs.net/',590 543 'requires' => [ 591 544 'woocommerce' => [ … … 603 556 'default_activation' => 'on', 604 557 'icon_class' => 'hq-icon-wireframe-list-mix', 605 'demo_url' => 'https://marmot.hqwebs.net/',606 558 'requires' => [ 607 559 'woocommerce' => [ … … 619 571 'default_activation' => 'on', 620 572 'icon_class' => 'hq-icon-slider-2', 621 'demo_url' => 'https://marmot.hqwebs.net/',622 573 'requires' => [ 623 574 'woocommerce' => [ … … 635 586 'default_activation' => 'on', 636 587 'icon_class' => 'hq-icon-advertisement', 637 'demo_url' => 'https://marmot.hqwebs.net/',638 588 'requires' => [ 639 589 'woocommerce' => [ … … 651 601 'default_activation' => 'on', 652 602 'icon_class' => 'hq-icon-product-upsell-slider', 653 'demo_url' => 'https://marmot.hqwebs.net/',654 603 'requires' => [ 655 604 'woocommerce' => [ … … 667 616 'default_activation' => 'on', 668 617 'icon_class' => 'hq-icon-slider', 669 'demo_url' => 'https://marmot.hqwebs.net/',670 618 'requires' => [ 671 619 'woocommerce' => [ … … 683 631 'default_activation' => 'on', 684 632 'icon_class' => 'hq-icon-pixels', 685 'demo_url' => 'https://marmot.hqwebs.net/',686 633 'requires' => [ 687 634 'woocommerce' => [ … … 711 658 'categories' => ['hq-widgets-for-elementor'], 712 659 'icon_class' => 'hq-icon-flip-box', 713 'demo_url' => 'https://marmot.hqwebs.net/',714 660 'requires' => [ 715 661 'marmot-enhancer-pro' => [ … … 726 672 'categories' => ['hq-widgets-for-elementor'], 727 673 'icon_class' => 'hq-icon-advanced-icon-box', 728 'demo_url' => 'https://marmot.hqwebs.net/',729 674 'requires' => [ 730 675 'marmot-enhancer-pro' => [ … … 741 686 'categories' => ['hq-widgets-for-elementor'], 742 687 'icon_class' => 'hq-icon-menu', 743 'demo_url' => 'https://marmot.hqwebs.net/',744 688 'requires' => [ 745 689 'marmot-enhancer-pro' => [ … … 760 704 'categories' => ['hq-widgets-for-elementor'], 761 705 'icon_class' => 'hq-icon-email', 762 'demo_url' => 'https://marmot.hqwebs.net/',763 706 'requires' => [ 764 707 'marmot-enhancer-pro' => [ … … 775 718 'categories' => ['hq-widgets-for-elementor'], 776 719 'icon_class' => 'hq-icon-open-table-reservations', 777 'demo_url' => 'https://marmot.hqwebs.net/',778 720 'requires' => [ 779 721 'marmot-enhancer-pro' => [ … … 792 734 'categories' => ['hq-widgets-for-elementor-woo'], 793 735 'icon_class' => 'hq-icon-shopping-basket', 794 'demo_url' => 'https://marmot.hqwebs.net/',795 736 'requires' => [ 796 737 'marmot-enhancer-pro' => [ … … 807 748 'categories' => ['hq-widgets-for-elementor-woo'], 808 749 'icon_class' => 'hq-icon-woo-product-cross-sell', 809 'demo_url' => 'https://marmot.hqwebs.net/',810 750 'requires' => [ 811 751 'marmot-enhancer-pro' => [ … … 822 762 'categories' => ['hq-widgets-for-elementor-woo'], 823 763 'icon_class' => 'hq-icon-online-payment', 824 'demo_url' => 'https://marmot.hqwebs.net/',825 764 'requires' => [ 826 765 'marmot-enhancer-pro' => [ … … 837 776 'categories' => ['hq-widgets-for-elementor-woo'], 838 777 'icon_class' => 'hq-icon-purchasing', 839 'demo_url' => 'https://marmot.hqwebs.net/',840 778 'requires' => [ 841 779 'marmot-enhancer-pro' => [ … … 852 790 'categories' => ['hq-widgets-for-elementor-woo'], 853 791 'icon_class' => 'hq-icon-checkout-flow', 854 'demo_url' => 'https://marmot.hqwebs.net/',855 792 'requires' => [ 856 793 'marmot-enhancer-pro' => [ … … 867 804 'categories' => ['hq-widgets-for-elementor-woo'], 868 805 'icon_class' => 'hq-icon-woo-sale', 869 'demo_url' => 'https://marmot.hqwebs.net/',870 806 'requires' => [ 871 807 'marmot-enhancer-pro' => [ … … 882 818 'categories' => ['hq-widgets-for-elementor-woo'], 883 819 'icon_class' => 'hq-icon-online-shopping-3', 884 'demo_url' => 'https://marmot.hqwebs.net/',885 820 'requires' => [ 886 821 'marmot-enhancer-pro' => [ … … 976 911 $promotion_widgets = $config['promotionWidgets']; 977 912 } 978 913 979 914 $hq_promotional_widgets = []; 980 915 foreach (self::$pro_widgets as $group_type) { … … 990 925 } 991 926 } 992 927 993 928 $config['promotionWidgets'] = array_merge($promotion_widgets, $hq_promotional_widgets); 994 929 -
hq-widgets-for-elementor/trunk/inc/widget/woocommerce/archive-products.php
r2463415 r2481601 86 86 $query_vars = $wp_query->query_vars; 87 87 88 $query_vars = apply_filters(' elementor/theme/products_archive/query_posts/query_vars', $query_vars);88 $query_vars = apply_filters('hqt/widget/products_archive/query_posts/query_vars', $query_vars); 89 89 90 90 if ($query_vars !== $wp_query->query_vars) { -
hq-widgets-for-elementor/trunk/inc/widget/woocommerce/product-related-products-grid.php
r2452713 r2481601 82 82 <div id="product-<?php the_ID(); ?>" <?php post_class(); ?>> 83 83 <?php 84 Utils::load_elementor_template ($settings['product_layout_template']);84 Utils::load_elementor_template_with_help($settings['product_layout_template'], 'Content Tab > Layout > Product Layout'); 85 85 ?> 86 86 </div> -
hq-widgets-for-elementor/trunk/inc/widget/woocommerce/product-related-products-slider.php
r2452713 r2481601 81 81 <div id="product-<?php the_ID(); ?>"> 82 82 <?php 83 Utils::load_elementor_template ($settings['product_layout_template']);83 Utils::load_elementor_template_with_help($settings['product_layout_template'], 'Content Tab > Layout > Product Layout'); 84 84 ?> 85 85 </div> -
hq-widgets-for-elementor/trunk/inc/widget/woocommerce/product-upsells-grid.php
r2452713 r2481601 86 86 <div id="product-<?php the_ID(); ?>" <?php post_class(); ?>> 87 87 <?php 88 Utils::load_elementor_template ($settings['product_layout_template']);88 Utils::load_elementor_template_with_help($settings['product_layout_template'], 'Content Tab > Layout > Product Layout'); 89 89 ?> 90 90 </div> -
hq-widgets-for-elementor/trunk/inc/widget/woocommerce/product-upsells-slider.php
r2452713 r2481601 86 86 <div id="product-<?php the_ID(); ?>" <?php post_class(); ?>> 87 87 <?php 88 Utils::load_elementor_template ($settings['product_layout_template']);88 Utils::load_elementor_template_with_help($settings['product_layout_template'], 'Content Tab > Layout > Product Layout'); 89 89 ?> 90 90 </div> -
hq-widgets-for-elementor/trunk/readme.txt
r2477060 r2481601 3 3 Tags: hqtheme, widgets for elementor, woocommerce, menu for elementor, contact form 7 for elementor 4 4 Requires at least: 5.3 5 Tested up to: 5. 55 Tested up to: 5.6 6 6 Requires PHP: 7.2 7 Stable tag: 1.0. 97 Stable tag: 1.0.10 8 8 License: GPL v3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 129 129 == Changelog == 130 130 131 = 1.0.10 - 2021-02-25 = 132 * Update WordPress version compatibility 133 * Elementor Global Template widget - enabled by default 134 * Social Share widget - enabled by default 135 * Add Dependency version check 136 131 137 = 1.0.9 - 2021-02-18 = 132 138 * Added Promotional widgets in Elementor editor
Note: See TracChangeset
for help on using the changeset viewer.