Plugin Directory

Changeset 3459265


Ignore:
Timestamp:
02/11/2026 07:22:59 PM (7 weeks ago)
Author:
jiniyaaddons
Message:

Version 1.0.2 (Test Scroll Animation)

Location:
jiniya-addons
Files:
21 added
2 edited

Legend:

Unmodified
Added
Removed
  • jiniya-addons/trunk/jiniya-addons.php

    r3459227 r3459265  
    44 * Plugin URI: https://www.jiniyaaddons.com/jiniya-addons-free-download
    55 * Description: Jiniya Addons is a powerful Elementor addon pack designed for beautiful website showcase sections.
    6  * Version:           1.0.1
    7  * Requires at least: 5.8
    8  * Requires PHP:      7.2
     6 * Version: 1.0.2
    97 * Author: Jiniya Addons
    108 * Author URI: https://jiniyaaddons.com
    11  * License: GPLv2 or later
    12  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
    13  * Elementor tested up to: 3.35.4
    14  * Elementor Pro tested up to: 3.35.0
    15  * Text Domain:       jiniya-addons
    16  * Domain Path:       /languages
     9 * Text Domain: jiniya-addons
     10 * Domain Path: /languages
     11 * Elementor tested up to: 3.33.6
     12 * Elementor Pro tested up to: 3.33.2
     13 *License: GPLv2 or later
     14 *License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1715 */
    1816
     
    119117        require_once __DIR__ . '/widgets/jiniyaaddons.php';
    120118        require_once __DIR__ . '/widgets/animation-heading.php';
     119        require_once __DIR__ . '/widgets/scroll-heading.php';
    121120
    122121        // Elementor new widget registration method (latest recommended)
    123122        \Elementor\Plugin::instance()->widgets_manager->register( new \Jiniya_Addons() );
    124123        \Elementor\Plugin::instance()->widgets_manager->register( new \Jiniya_Animation_Heading() );
    125     }
    126 
    127     /**
    128      * Enqueue CSS
     124        \Elementor\Plugin::instance()->widgets_manager->register( new \Jiniya_Scroll_Heading() );
     125    }
     126
     127    /**
     128     * Enqueue CSS and Scripts
    129129     */
    130130    public function enqueue_styles() {
     131        // Main Plugin Style
    131132        wp_enqueue_style(
    132133            'jiniya-addons',
     
    136137        );
    137138
    138 
     139        // --- Animated Heading Assets ---
    139140        wp_register_style(
    140141            'jiniya-animated-style',
     
    144145        );
    145146
    146         // JS Register (Handle: jiniya-animated-script)
    147147        wp_register_script(
    148148            'jiniya-animated-script',
     
    153153        );
    154154
    155 
    156 
     155        // --- Scroll Heading Assets (With GSAP) ---
     156
     157        // 1. Register GSAP Core
     158        wp_register_script(
     159            'gsap-js',
     160            plugin_dir_url( __FILE__ ) . 'assets/js/gsap.min.js',
     161            [], // No dependency
     162            '3.12.2',
     163            true
     164        );
     165
     166        // 2. Register ScrollTrigger (Depends on GSAP)
     167        wp_register_script(
     168            'gsap-scroll-trigger',
     169             plugin_dir_url( __FILE__ ) . 'assets/js/ScrollTrigger.min.js',
     170            ['gsap-js'], // Must load after GSAP
     171            '3.12.2',
     172            true
     173        );
     174
     175        // 3. Register Scroll CSS
     176        wp_register_style(
     177            'jiniya-scroll-style',
     178            plugin_dir_url( __FILE__ ) . 'assets/css/scroll-css.css',
     179            [],
     180            self::VERSION
     181        );
     182
     183        // 4. Register Custom Scroll Script
     184        // Note: Added 'gsap-js' and 'gsap-scroll-trigger' to dependencies
     185        wp_register_script(
     186            'jiniya-scroll-script',
     187            plugin_dir_url( __FILE__ ) . 'assets/js/scroll-script.js',
     188            ['jquery', 'gsap-js', 'gsap-scroll-trigger'],
     189            self::VERSION,
     190            true
     191        );
    157192    }
    158193
  • jiniya-addons/trunk/readme.txt

    r3459227 r3459265  
    33Donate link: https://jiniyaaddons.com/contact
    44Tags: jiniya widgets, elementor, woocommerce, jiniya page builder, custom widgets
    5 Requires at least: 5.8
    6 Tested up to: 6.9.1
    7 Stable tag: 1.0.1
    8 Requires PHP: 7.2
     5Requires at least: 5.0
     6Tested up to: 6.9
     7Requires PHP: 7.0
     8Stable tag: 1.0.2
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.