Plugin Directory

Changeset 3342678


Ignore:
Timestamp:
08/11/2025 06:57:19 AM (8 months ago)
Author:
akashdev321
Message:

Improved widget performance

Location:
widget-studio-for-elementor
Files:
143 added
6 edited

Legend:

Unmodified
Added
Removed
  • widget-studio-for-elementor/trunk/assets/css/wsfe_admin_style.css

    r3322424 r3342678  
    3636
    3737.notice{
    38     display: none;
     38    display: none !important;
    3939}
    4040
    4141.wsfe_admin_notices .notice{
    42     display: block;
     42    display: inline-block !important;
    4343}
    4444
  • widget-studio-for-elementor/trunk/assets/css/wsfe_style.css

    r3322424 r3342678  
    105105
    106106/* Back To Top End */
     107
     108/* Shadow Heading Start */
     109
     110.shadow-heading {
     111  display: block;
     112}
     113
     114.heading-element{
     115  position: relative;
     116  display: inline-block;
     117}
     118
     119.shadow-heading .background-text {
     120  font-size: 100px;
     121  font-weight: 900;
     122  text-transform: uppercase;
     123  letter-spacing: 8px;
     124}
     125.shadow-heading .front-text {
     126  position: absolute;
     127  top: 50%;
     128  left: 50%;
     129  transform: translate(-50%, -50%);
     130  font-size: 32px;
     131  font-weight: 600;
     132  white-space: nowrap;
     133}
     134
     135/* Shadow Heading End */
  • widget-studio-for-elementor/trunk/dashboard/wsfe_dashboard.php

    r3322424 r3342678  
    1313    $wsfe_picture_scroller = Wsfe_Options::get_option( 'wsfe_picture_scroller' );
    1414    $wsfe_back_to_top_btn = Wsfe_Options::get_option( 'wsfe_back_to_top_btn' );
     15    $wsfe_shadow_heading = Wsfe_Options::get_option( 'wsfe_shadow_heading' );
     16    $wsfe_vertical_timeline = Wsfe_Options::get_option( 'wsfe_vertical_timeline' );
     17    $wsfe_split_action_button = Wsfe_Options::get_option( 'wsfe_split_action_button' );
    1518
    1619    ?>
     
    3740            ?>
    3841        </div>
     42
    3943        <div class="wsfe_widgets_list">
    4044            <div class="wsfe_widget_card">
     
    4549                </label>
    4650            </div>
     51
    4752            <div class="wsfe_widget_card">
    4853                <h3><?php esc_html_e( 'Picture Scroller', 'widget-studio-for-elementor' ); ?></h3>
     
    5257                </label>
    5358            </div>
     59
    5460            <div class="wsfe_widget_card">
    5561                <h3><?php esc_html_e( 'Registration Form', 'widget-studio-for-elementor' ); ?></h3>
    5662                <label class="toggle">
    5763                    <input class="toggle-checkbox" type="checkbox" value="wsfe_registration_form" onchange="wsfe_toggle_widget(this)" <?php echo $wsfe_reg_form == 'checked' ? 'checked' : ''; ?>>
     64                    <div class="toggle-switch"></div>
     65                </label>
     66            </div>
     67
     68            <div class="wsfe_widget_card">
     69                <h3><?php esc_html_e( 'Shadow Heading', 'widget-studio-for-elementor' ); ?></h3>
     70                <label class="toggle">
     71                    <input class="toggle-checkbox" type="checkbox" value="wsfe_shadow_heading" onchange="wsfe_toggle_widget(this)" <?php echo $wsfe_shadow_heading == 'checked' ? 'checked' : ''; ?>>
     72                    <div class="toggle-switch"></div>
     73                </label>
     74            </div>
     75
     76            <div class="wsfe_widget_card">
     77                <h3><?php esc_html_e( 'Split Action Button', 'widget-studio-for-elementor' ); ?></h3>
     78                <label class="toggle">
     79                    <input class="toggle-checkbox" type="checkbox" value="wsfe_split_action_button" onchange="wsfe_toggle_widget(this)" <?php echo $wsfe_split_action_button == 'checked' ? 'checked' : ''; ?>>
     80                    <div class="toggle-switch"></div>
     81                </label>
     82            </div>
     83
     84            <div class="wsfe_widget_card">
     85                <h3><?php esc_html_e( 'Vertical Timeline', 'widget-studio-for-elementor' ); ?></h3>
     86                <label class="toggle">
     87                    <input class="toggle-checkbox" type="checkbox" value="wsfe_vertical_timeline" onchange="wsfe_toggle_widget(this)" <?php echo $wsfe_vertical_timeline == 'checked' ? 'checked' : ''; ?>>
    5888                    <div class="toggle-switch"></div>
    5989                </label>
  • widget-studio-for-elementor/trunk/includes/widget-loader.php

    r3322424 r3342678  
    1515        require_once WSFE_PATH . 'widgets/picture-scroller-widget.php';
    1616        require_once WSFE_PATH . 'widgets/back-to-top-widget.php';
    17 
     17        require_once WSFE_PATH . 'widgets/shadow-heading-widget.php';
     18        require_once WSFE_PATH . 'widgets/verticle-timeline-widget.php';
     19        require_once WSFE_PATH . 'widgets/split-action-button-widget.php';
    1820
    1921        if( Wsfe_Options::get_option( 'wsfe_registration_form' ) == 'checked' ){
     
    2729            $widgets_manager->register( new \WSFE_Back_To_Top_Widget() );
    2830        }
    29          
     31        if( Wsfe_Options::get_option( 'wsfe_shadow_heading' ) == 'checked' ){
     32            $widgets_manager->register( new \WSFE_Shadow_Heading_Widget() );
     33        }
     34        if( Wsfe_Options::get_option( 'wsfe_vertical_timeline' ) == 'checked' ){
     35            $widgets_manager->register( new \WSFE_Timeline_Widget() );
     36        }
     37       
     38        if( Wsfe_Options::get_option( 'wsfe_split_action_button' ) == 'checked' ){
     39            $widgets_manager->register( new \WSFE_Split_Action_Button_Widget() );
     40        }
     41 
    3042    }
    3143}
  • widget-studio-for-elementor/trunk/readme.txt

    r3322424 r3342678  
    11=== Widget Studio for Elementor ===
    22Contributors: akashdev321
    3 Tags: elementor, widgets, header footer, nav menu, custom widgets
     3Tags: elementor, widgets, custom widgets, elementor widgets, widget studio
    44Requires at least: 6.5
    55Tested up to: 6.8
    66Requires PHP: 8.0
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    4545= 1.0.1 =
    4646* Added Back to Top widget
     47
     48= 1.0.2 =
     49* Improved widget performance and loading time
     50* Added New Widgets with customizable typography, color options and more
    4751   
    4852
     
    5559Added Back to Top widget
    5660
     61= 1.0.2 =
     62* Improved widget performance and loading time
     63* Added New Widgets with customizable typography, color options and more
     64
     65
     66
     67== Widget Lists ==
     68
     691. Back to Top Button
     702. Picture Scroller
     713. Registration Form
     724. Shadow Heading
     735. Split Action Button
     746. Vertical Timeline
     75
     76More widgets are coming soon!
     77
    5778== Credits ==
    5879
  • widget-studio-for-elementor/trunk/widget-studio-for-elementor.php

    r3322424 r3342678  
    33 * Plugin Name: Widget Studio for Elementor
    44 * Description: Widget Studio for Elementor is a lightweight, extendable toolkit that adds powerful custom widgets to your Elementor builder. It helps you build stunning websites with ease.
    5  * Version: 1.0.1
     5 * Version: 1.0.2
    66 * Author: Akash Halder
    77 * Author URI: https://coderakash.com
     
    1717define( 'WSFE_URL', plugin_dir_url( __FILE__ ) );
    1818define( 'WSFE_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
    19 const WSFE_PLUGIN_VERSION = '1.0.0';
     19const WSFE_PLUGIN_VERSION = '1.0.2';
    2020
    2121final class Widget_Studio_For_Elementor {
     
    134134    public function enqueue_scripts() {
    135135        wp_register_script( 'wsfe_script', WSFE_URL . 'assets/js/wsfe_script.js', [ 'jquery' ], WSFE_PLUGIN_VERSION, true );
     136        wp_register_script( 'wsfe_bootstrap', WSFE_URL . 'assets/bootstrap_5.3.7/js/bootstrap.min.js', [ 'jquery' ], WSFE_PLUGIN_VERSION, true );
    136137        wp_register_style( 'wsfe_style', WSFE_URL . 'assets/css/wsfe_style.css', [], WSFE_PLUGIN_VERSION, 'all' );
     138        wp_register_style( 'wsfe_bootstrap', WSFE_URL . 'assets/bootstrap_5.3.7/css/bootstrap.min.css', [], WSFE_PLUGIN_VERSION, 'all' );
     139
    137140       
    138141        //Ajax Url
    139142        wp_localize_script( 'wsfe_script', 'wsfe_ajax_object', [ 'ajax_url' => admin_url( 'admin-ajax.php' ) ] );
     143
     144        // Enqueue Scripts and Styles for Widget
     145        require_once WSFE_PATH . 'includes/wsfe-enqueue.php';
    140146    }
    141147
Note: See TracChangeset for help on using the changeset viewer.