Plugin Directory

Changeset 2754934


Ignore:
Timestamp:
07/12/2022 09:15:45 AM (4 years ago)
Author:
wphosthub
Message:
  • Added button link view demo in template preview
Location:
elekits
Files:
91 added
5 edited

Legend:

Unmodified
Added
Removed
  • elekits/trunk/README.txt

    r2754392 r2754934  
    66Tested up to: 6.0
    77Requires PHP: 7.4
    8 Stable tag: 0.0.5
     8Stable tag: 0.0.6
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3131== Changelog ==
    3232
     33= 0.0.6 - 2022-07-12 =
     34* Added button link view demo in template preview
     35
    3336= 0.0.5 - 2022-07-11 =
    3437* Small fix and Improvement
  • elekits/trunk/admin/elementor/assets/js/elementor-admin-page.js

    r2754392 r2754934  
    11321132
    11331133            template_object['id'] = EleKitsElementorSitesAdmin.site_id;
    1134             preview_page_html = import_template(template_object);
     1134            let preview_page_html = import_template(template_object);
    11351135            // EleKitsElementorSitesAdmin.templateData = data['items'];
    11361136            $elscope_elekits.find('.theme-preview').html(preview_page_html);
    1137 
     1137            EleKitsElementorSitesAdmin._loadLargeImages();
    11381138            $elscope_elekits.find('.elekits-sites-step-1-wrap').hide();
    1139 
    1140             preview_action_html = import_template_header(template_object);
     1139            let preview_action_html = import_template_header(template_object);
    11411140            if ($elscope_elekits.find('.elementor-templates-modal__header__items-area .elekits-preview-actions-wrap').length === 0) {
    11421141                $elscope_elekits.find('.elementor-templates-modal__header__items-area').append(preview_action_html);
  • elekits/trunk/admin/elementor/class-elekits-site.php

    r2754392 r2754934  
    619619                    'dismiss_text'               => esc_html__( 'Dismiss', 'elekits-sites' ),
    620620                    'install_plugin_text'        => esc_html__( 'Install Required Plugins', 'elekits-sites' ),
     621                    'viewDemoText'                 => __( 'View Demo', 'elekits-sites' ),
    621622                    'syncCompleteMessage'        => self::get_instance()->get_sync_complete_message(),
    622623                    'syncProcessingMessage'        => self::get_instance()->get_sync_prosessing_message(),
  • elekits/trunk/admin/elementor/includes/templates.php

    r2754392 r2754934  
    611611        action_str = 'Block';
    612612        } else {
    613         demo_link = data['elekits-page-url'];
     613        demo_link = data['elekits-site-url'];
    614614        action_str = 'Template';
    615615        }
     
    622622                            <div type="button"
    623623                                 class="button button-hero button-primary elekits-library-template-insert disabled"><?php esc_html_e('Insert Template ', 'elekits-sites'); ?></div>
     624                            <# if(demo_link) { #>
     625                            <a class="button button-hero button-primary elekits-library-template-view-demo" title="{{elekitsElementorSites.viewDemoText}}" href="{{{demo_link}}}" target="_blank">{{elekitsElementorSites.viewDemoText}}<i class="dashicons dashicons-external"></i></a>
     626                            <# } #>
    624627                        </div>
    625628                    </div>
  • elekits/trunk/elekits.php

    r2754392 r2754934  
    1717 * Plugin URI:        https://wphosthub.com
    1818 * Description:       Responsive and high-converting Elementor landing page templates.
    19  * Version:           0.0.5
     19 * Version:           0.0.6
    2020 * Author:            WPhostHub
    2121 * Author URI:        https://profiles.wordpress.org/wphosthub/
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'ELEKITS_VERSION', '0.0.5' );
     38define( 'ELEKITS_VERSION', '0.0.6' );
    3939define( 'ELEKITS_FILE', __FILE__ );
    4040define( 'ELEKITS_DIR_PATH', plugin_dir_path( __FILE__ ) );
Note: See TracChangeset for help on using the changeset viewer.