Plugin Directory

Changeset 3322424


Ignore:
Timestamp:
07/04/2025 04:35:44 PM (8 months ago)
Author:
akashdev321
Message:

Release Back to Top Button Widget

Location:
widget-studio-for-elementor
Files:
38 added
11 edited

Legend:

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

    r3320197 r3322424  
    2020}
    2121
     22
     23
    2224@keyframes animationgradienttitle {
    2325  0% {
     
    2729      background-position: 1600px 0;
    2830  }
     31}
     32
     33#wpcontent {
     34    padding-left: 0px !important;
     35}
     36
     37.notice{
     38    display: none;
     39}
     40
     41.wsfe_admin_notices .notice{
     42    display: block;
    2943}
    3044
     
    273287}
    274288
    275 #wpcontent {
    276     padding-left: 0px !important;
    277 }
  • widget-studio-for-elementor/trunk/assets/css/wsfe_style.css

    r3320197 r3322424  
    7272/* Picture Scroller End */
    7373
    74 /*Header Logo Start*/
     74/* Back To Top Start */
     75.widget-studio-back-to-top {
     76    position: fixed;
     77    bottom: 20px;
     78    right: 20px;
     79    display: none;
     80    z-index: 999999;
     81    border: none;
     82    outline: none;
     83    cursor: pointer;
     84    padding: 0;
     85    text-align: center;
     86    line-height: 1;
     87    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
     88    transition: all 0.3s ease;
     89    overflow: hidden;
     90}
    7591
    76 .wsfe-header-logo {
    77     display: flex;
     92.widget-studio-back-to-top svg{
     93    width: 100%;
     94    height: 100%;
    7895}
    79 .wsfe-header-logo img {
     96
     97.wsfe_back_to_top_editor.widget-studio-back-to-top {
    8098    display: block;
    8199}
    82100
    83 /*Header Logo End*/
    84 
    85 
    86 /* Nav Menu Start */
    87 .wsfe-nav-menu{
    88   list-style: none;
    89   padding: 0 !important;
    90   flex-wrap: wrap;
     101.widget-studio-back-to-top:hover {
     102    transform: translateY(-5px);
     103    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    91104}
    92105
    93 .wsfe-nav-menu > li > ul {
    94     left: 50% !important;
    95     transform: translateX(-50%) !important;
    96 }
    97 
    98 .wsfe-menu-wrapper ul{
    99   list-style: none;
    100 }
    101 
    102 .wsfe-nav-menu li {
    103   position: relative;
    104   display: inline-block;
    105 }
    106 
    107 .wsfe-menu-wrapper ul > li > .sub-menu {
    108   position: absolute;
    109   top: calc(100% + 10px);
    110   display: flex;
    111   flex-direction: column;
    112   padding: 0;
    113   margin: 0;
    114   list-style: none;
    115   opacity: 0;
    116   visibility: hidden;
    117 }
    118 
    119 .wsfe-menu-wrapper ul > li:hover > .sub-menu {
    120   opacity: 1;
    121   visibility: visible;
    122 }
    123 
    124 .wsfe-nav-menu-underline.wsfe-nav-menu li a:after {
    125   content: '';
    126   position: absolute;
    127   width: 100%;
    128   height: 1px;
    129   left: 0;
    130   top: -4px;
    131   opacity: 1;
    132 }
    133 
    134 .wsfe-nav-menu-overline.wsfe-nav-menu > li > a:after {
    135   content: '';
    136   position: absolute;
    137   width: 100%;
    138   height: 1px;
    139   left: 0;
    140   bottom: -4px;
    141   opacity: 1;
    142 }
    143 
    144 .wsfe_hamberger_menu{
    145   display: none;
    146   position: relative;
    147   cursor: pointer;
    148 }
    149 
    150 .wsfe_hamberger_icon_active{
    151     display: none;
    152 }
    153 
    154 .wsfe-hamberger-menu-open .wsfe_hamberger_icon_active{
    155     display: inline;
    156 }
    157 
    158 .wsfe-hamberger-menu-open .wsfe_hamberger_icon_normal {
    159     display: none;
    160 }
    161 
    162 .wsfe_dropdown_nav_menu{
    163   display: none;
    164   position: absolute;
    165   top: 100%;
    166 }
    167 
    168 .wsfe_dropdown_nav_menu li{
    169   text-align: left;
    170   padding-left: 10px;
    171 }
    172 
    173 .wsfe_dropdown_nav_menu li a{
    174   display: flex;
    175   align-items: center;
    176   justify-content: start;
    177   padding: 0 !important;
    178 }
    179 
    180 .wsfe-hamberger-menu-open .wsfe_dropdown_nav_menu{
    181   display: block;
    182 }
    183 
    184 .wsfe_dropdown_nav_menu li > .sub-menu{
    185   position: static !important;
    186   width: 100% !important;
    187   opacity: 1 !important;
    188   visibility: visible !important;
    189 }
    190 
    191 
    192 .wsfe_hamberger_menu li.menu-item-has-children > .sub-menu{
    193   display: none;
    194 }
    195 
    196 
    197 @media screen and (max-width: 1024px) {
    198     .wsfe_hamberger_menu.wsfe_hamberger_menu_for_tablet {
    199         display: block;
    200     }
    201 
    202     .wsfe-nav-menu.wsfe_hamberger_menu_for_tablet{
    203         display: none !important;
    204     }
    205 }
    206 
    207 @media screen and (max-width: 767px) {
    208     .wsfe_hamberger_menu.wsfe_hamberger_menu_for_mobile {
    209         display: block;
    210     }
    211     .wsfe_hamberger_menu.wsfe_hamberger_menu_for_tablet {
    212         display: block;
    213     }
    214 
    215     .wsfe-nav-menu.wsfe_hamberger_menu_for_mobile{
    216         display: none !important;
    217     }
    218 
    219     .wsfe-nav-menu.wsfe_hamberger_menu_for_tablet{
    220         display: none !important;
    221     }
    222 }
    223 /* Nav Menu End */
     106/* Back To Top End */
  • widget-studio-for-elementor/trunk/assets/js/wsfe_script.js

    r3320197 r3322424  
    3939/* End Register Form */
    4040
     41/* Back To Top */
     42jQuery(document).ready(function($) {
     43    $(window).scroll(function() {
     44        if ($(this).scrollTop() > 300) {
     45            $('#widget-studio-back-to-top').fadeIn();
     46        } else {
     47            $('#widget-studio-back-to-top').fadeOut();
     48        }
     49    });
    4150
     51    $('#widget-studio-back-to-top').click(function() {
     52        $('html, body').animate({scrollTop: 0}, 200);
     53        return false;
     54    });
     55});
     56
     57/* End Back To Top */
     58
     59
  • widget-studio-for-elementor/trunk/dashboard/wsfe_dashboard.php

    r3320197 r3322424  
    22    if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    33
    4 
    5 
     4   
    65    //Activation Data
    76    $wsfe_activation_data = '';
     
    98        $wsfe_activation_data =  sanitize_text_field( wp_unslash( $_REQUEST['activate'] ) );
    109    }
    11 
     10   
    1211    //Get Options from DB
    1312    $wsfe_reg_form = Wsfe_Options::get_option( 'wsfe_registration_form' );
    1413    $wsfe_picture_scroller = Wsfe_Options::get_option( 'wsfe_picture_scroller' );
    15     $wsfe_header_logo = Wsfe_Options::get_option( 'wsfe_header_logo' );
    16     $wsfe_nav_menu = Wsfe_Options::get_option( 'wsfe_nav_menu' );
    17 ?>
     14    $wsfe_back_to_top_btn = Wsfe_Options::get_option( 'wsfe_back_to_top_btn' );
     15
     16    ?>
    1817<div class="dashboard_wrap">
    1918    <?php require_once WSFE_PATH . 'dashboard/wsfe_header.php'; ?>
     19    <div class="wsfe_admin_notices">
     20        <?php do_action( 'admin_notices' ); ?>
     21    </div>
    2022    <div class="wsfe_widget_container">
    2123        <div class="wsfe_widgets_heading">
     
    3638        </div>
    3739        <div class="wsfe_widgets_list">
     40            <div class="wsfe_widget_card">
     41                <h3><?php esc_html_e( 'BackToTop Button', 'widget-studio-for-elementor' ); ?></h3>
     42                <label class="toggle">
     43                    <input class="toggle-checkbox" type="checkbox" value="wsfe_back_to_top_btn" onchange="wsfe_toggle_widget(this)" <?php echo $wsfe_back_to_top_btn == 'checked' ? 'checked' : ''; ?>>
     44                    <div class="toggle-switch"></div>
     45                </label>
     46            </div>
    3847            <div class="wsfe_widget_card">
    3948                <h3><?php esc_html_e( 'Picture Scroller', 'widget-studio-for-elementor' ); ?></h3>
  • widget-studio-for-elementor/trunk/includes/widget-loader.php

    r3320197 r3322424  
    1414        require_once WSFE_PATH . 'widgets/register-form-widget.php';
    1515        require_once WSFE_PATH . 'widgets/picture-scroller-widget.php';
     16        require_once WSFE_PATH . 'widgets/back-to-top-widget.php';
    1617
    17    
     18
    1819        if( Wsfe_Options::get_option( 'wsfe_registration_form' ) == 'checked' ){
    1920            $widgets_manager->register( new \WSFE_Register_Form_Widget() );
     
    2324            $widgets_manager->register( new \WSFE_Picture_Scroller_Widget() );
    2425        }
     26        if( Wsfe_Options::get_option( 'wsfe_back_to_top_btn' ) == 'checked' ){
     27            $widgets_manager->register( new \WSFE_Back_To_Top_Widget() );
     28        }
     29         
    2530    }
    2631}
  • widget-studio-for-elementor/trunk/readme.txt

    r3320197 r3322424  
    55Tested up to: 6.8
    66Requires PHP: 8.0
    7 Stable tag: 1.0.0
     7Stable tag: 1.0.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    1313== Description ==
    1414
    15 **Widget Studio for Elementor** extends Elementor with beautifully coded and customizable widgets including:
     15**Widget Studio for Elementor** extends Elementor with beautifully coded and customizable widgets.
    1616This plugin is ideal for developers and designers who want to build reusable Elementor blocks with extended layout and design flexibility.
    1717
     
    4343    - Picture Scroller widget
    4444    - Registration Form widget
     45= 1.0.1 =
     46* Added Back to Top widget
    4547   
    4648
     
    4951= 1.0.0 =
    5052First public release. Includes essential header, footer, and nav widgets for Elementor.
     53
     54= 1.0.1 =
     55Added Back to Top widget
    5156
    5257== Credits ==
  • widget-studio-for-elementor/trunk/widget-studio-for-elementor.php

    r3320197 r3322424  
    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.0
     5 * Version: 1.0.1
    66 * Author: Akash Halder
    77 * Author URI: https://coderakash.com
     
    281281
    282282
     283
Note: See TracChangeset for help on using the changeset viewer.