Plugin Directory

Changeset 3133483


Ignore:
Timestamp:
08/10/2024 02:12:16 PM (19 months ago)
Author:
zayedbaloch
Message:

Added Elementor Widget

Location:
twenty20
Files:
39 added
3 edited

Legend:

Unmodified
Added
Removed
  • twenty20/trunk/inc/enqueue.php

    r3133151 r3133483  
    1212  wp_enqueue_script( 'twenty20-eventmove', ZB_T20_URL . '/assets/js/jquery.event.move.js', array( 'jquery' ), ZB_T20_VER, true );
    1313
    14   // Ensure the scripts and styles load in Elementor editor as well
    15   if ( \Elementor\Plugin::instance()->editor->is_edit_mode() ) {
    16     wp_enqueue_style( 'twenty20-elementor-style' );
    17     wp_enqueue_script( 'twenty20-elementor-script' );
     14  if ( class_exists( 'Elementor\Plugin' ) ) {
     15    // Ensure the scripts and styles load in Elementor editor as well
     16    if ( \Elementor\Plugin::instance()->editor->is_edit_mode() ) {
     17      wp_enqueue_style( 'twenty20-elementor-style' );
     18      wp_enqueue_script( 'twenty20-elementor-script' );
     19    }
    1820  }
    1921
  • twenty20/trunk/readme.txt

    r3133151 r3133483  
    66Tested up to: 6.6
    77Requires PHP: 5.6
    8 Stable tag: 1.7.4
     8Stable tag: 1.7.5
    99License: GPLv2 or later
    1010
     
    104104== Changelog ==
    105105
     106= 1.7.5 =
     107* Fixed Elementor Widget
     108
    106109= 1.7.4 =
    107110* Fixed Elementor Widget
  • twenty20/trunk/ttwenty.php

    r3133151 r3133483  
    44  Plugin URI: https://wordpress.org/plugins/twenty20/
    55  Description: Need to highlight the differences between two images? Makes it easy with Twenty20 plugin.
    6   Version: 1.7.4
     6  Version: 1.7.5
    77  Author: Zayed Baloch
    88  Author URI: https://www.zayedbaloch.com/
     
    1212defined('ABSPATH') or die("No script kiddies please!");
    1313
    14 define('ZB_T20_VER', '1.7.4');
     14define('ZB_T20_VER', '1.7.5');
    1515define('ZB_T20_URL', plugins_url('', __FILE__));
    1616define('ZB_T20_DOMAIN', 'zb_twenty20');
Note: See TracChangeset for help on using the changeset viewer.