Plugin Directory

Changeset 2429147


Ignore:
Timestamp:
12/01/2020 06:49:18 AM (5 years ago)
Author:
azplugins
Message:
  • Added condition for button
  • body class added for open/close notification
Location:
notification-bar-builder-for-elementor/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • notification-bar-builder-for-elementor/trunk/assets/js/main.js

    r2412220 r2429147  
    2121        }
    2222
    23         // // remove coockie
     23        // remove coockie
    2424        if( dont_show_after_close_status != 'yes' ){
    2525            Cookies.remove('nbbfem_status', { path: '/' } );
     
    3030            if( position === 'bottom' ){
    3131                $( "body" ).append( markup );
     32                $( "body" ).addClass( 'nbbfem_notice_open' );
    3233            } else {
    3334                $( "body" ).prepend( markup );
     35                $( "body" ).addClass( 'nbbfem_notice_open' );
    3436            }
    3537        }
     
    4042            $(this).parent().hide();
    4143
    42             // dont show leter
     44            $('body').removeClass('nbbfem_notice_open');
     45            $('body').addClass('nbbfem_notice_closed');
     46
     47            // dont show later
    4348            if( dont_show_after_close_status == 'yes' ){
    4449                Cookies.set( 'nbbfem_status', '0', { expires: coockie_age } );
  • notification-bar-builder-for-elementor/trunk/includes/widgets/button-with-info.php

    r2412220 r2429147  
    517517            <?php endif; ?>
    518518
     519            <?php if( $settings['link']['url'] ): ?>
    519520            <a <?php echo $this->get_render_attribute_string( 'button' ); ?>>
    520521                <?php $this->render_text(); ?>
    521522            </a>
     523            <?php endif; ?>
    522524
    523525            <?php if($settings['swap_elements'] == 'yes'): ?>
  • notification-bar-builder-for-elementor/trunk/plugin-main.php

    r2412220 r2429147  
    44Plugin URI: http://demo.azplugins.com/notification-bar
    55Description: It allows elementor to build a notification bar using the page builder & use it any pages,posts,products etc.
    6 Version: 1.0.0
     6Version: 1.0.2
    77Author: AZ_Plugins
    88Author URI: https://azplugins.com
Note: See TracChangeset for help on using the changeset viewer.