Plugin Directory

Changeset 3451529


Ignore:
Timestamp:
02/01/2026 06:16:24 PM (8 weeks ago)
Author:
jiniyaaddons
Message:

Add Widget Animated Heading

Location:
jiniya-addons/trunk
Files:
4 added
1 edited

Legend:

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

    r3424760 r3451529  
    11<?php
    22/**
    3  * Plugin Name: Jiniya Addons
     3 * Plugin Name: Jiniya Addons-
    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.
     
    116116    public function register_widgets() {
    117117        require_once __DIR__ . '/widgets/jiniyaaddons.php';
     118        require_once __DIR__ . '/widgets/animation-heading.php';
    118119
    119120        // Elementor new widget registration method (latest recommended)
    120121        \Elementor\Plugin::instance()->widgets_manager->register( new \Jiniya_Addons() );
     122        \Elementor\Plugin::instance()->widgets_manager->register( new \Jiniya_Animation_Heading() );
    121123    }
    122124
     
    131133            self::VERSION
    132134        );
     135
     136
     137        wp_register_style(
     138            'jiniya-animated-style',
     139            plugin_dir_url( __FILE__ ) . 'assets/css/animated-heading.css',
     140            [],
     141            self::VERSION
     142        );
     143
     144        // JS Register (Handle: jiniya-animated-script)
     145        wp_register_script(
     146            'jiniya-animated-script',
     147            plugin_dir_url( __FILE__ ) . 'assets/js/animated-heading.js',
     148            ['jquery'],
     149            self::VERSION,
     150            true
     151        );
     152
     153
     154
    133155    }
    134156
Note: See TracChangeset for help on using the changeset viewer.