Plugin Directory

Changeset 2104782


Ignore:
Timestamp:
06/12/2019 02:14:53 PM (7 years ago)
Author:
themexa
Message:

v1.0.3 - Housekeeping [Minor]

Location:
advamentor/trunk
Files:
36 added
12 edited

Legend:

Unmodified
Added
Removed
  • advamentor/trunk/advamentor.php

    r2085922 r2104782  
    44 * Description: Premium & Advanced Essential Elements for Elementor
    55 * Plugin URI:  https://www.themexa.com/advamentor
    6  * Version:     1.0.2
     6 * Version:     1.0.3
    77 * Author:      Themexa
    88 * Author URI:  https://www.themexa.com
  • advamentor/trunk/assets/admin/css/plugin-admin-styles.css

    r2077890 r2104782  
    6161}
    6262
     63#elementor-panel-category-advamentor .elementor-element {
     64    border: 1px solid #c3c3c3;
     65}
     66
    6367@media only screen and ( max-width: 575px ) {
    6468
  • advamentor/trunk/assets/front/css/plugin-front-styles.css

    r2085922 r2104782  
    1 
    21/*============== Advanced Banner ================*/
    3 
    42
    53.advanced-banner .advanced-banner-description {
     
    2725.elementor-widget-advanced-banner.advanced-banner-eeta .advanced-banner-description .advanced-banner-primary-title,
    2826.elementor-widget-advanced-banner.advanced-banner-eeta .advanced-banner .advanced-banner-content {
    29     font-family: "Montserrat";
     27    font-family: "Poppins";
    3028    font-weight: 500;
    3129}
     
    3331.elementor-widget-advanced-banner.advanced-banner-ziofy .advanced-banner-description .advanced-banner-primary-title,
    3432.elementor-widget-advanced-banner.advanced-banner-ziofy .advanced-banner .advanced-banner-content {
    35     font-family: "Museo Sans";
     33    font-family: "Poppins";
    3634    font-weight: 500;
    3735}
     
    4341.elementor-widget-advanced-banner.advanced-banner-hostezza .advanced-banner-description .advanced-banner-primary-title,
    4442.elementor-widget-advanced-banner.advanced-banner-hostezza .advanced-banner .advanced-banner-content {
    45     font-family: "Roboto";
     43    font-family: "Poppins";
    4644    font-weight: 500;
    4745}
     
    6260.advanced-banner-eeta .advanced-banner .advanced-banner-description {
    6361    font-weight: 300;
     62}
     63
     64.elementor-widget-advanced-banner .advanced-banner .advanced-banner-description .advanced-banner-button {
     65    text-decoration: none;
    6466}
    6567
     
    168170}
    169171
    170 
    171 /*============== Advanced Counter ================*/
     172/*============== Advanced Countdown ================*/
    172173
    173174.advamentor-countdown-wrapper {
     
    180181    width: auto;
    181182}
     183
     184/*============== Advanced Counter ================*/
     185
     186.elementor-widget-advanced-counter .advanced-counter-style-flat .counter-title {
     187    font-weight: 600;
     188    font-family: 'Poppins';
     189    font-size: 18px;
     190}
     191
     192.elementor-widget-advanced-counter .advanced-counter-style-flat .counter-numerals {
     193    font-weight: 600;
     194    font-family: 'Poppins';
     195    font-size: 36px;
     196    line-height: 1em;
     197}
     198
     199.elementor-widget-advanced-counter .advanced-counter-style-minimal .counter-title {
     200    font-weight: 200;
     201    font-family: 'Poppins';
     202    font-size: 14px;
     203}
     204
     205.elementor-widget-advanced-counter .advanced-counter-style-minimal .counter-numerals {
     206    font-weight: 300;
     207    font-family: 'Poppins';
     208    font-size: 48px;
     209}
     210
     211.elementor-widget-advanced-counter .advanced-counter-style-square .counter-title {
     212    font-weight: 600;
     213    font-family: 'Poppins';
     214    font-size: 16px;
     215}
     216
     217.elementor-widget-advanced-counter .advanced-counter-style-square .counter-numerals {
     218    font-weight: 600;
     219    font-family: 'Poppins';
     220    font-size: 36px;
     221}
     222
     223/*============== Advanced Testimonial Carousel ================*/
     224
     225.advamentor-advanced-testimonial-carousel .aatc-single-dark {
     226    background: #000000;
     227    color: #d4d4d4;
     228    padding: 100px;
     229    min-height: 400px;
     230}
     231
     232.advamentor-advanced-testimonial-carousel .aatc-single-dark .testimonial-content {
     233    margin-bottom: 60px;
     234    background: url('../../front/images/advanced-testimonial-carousel/quote_mark.png') no-repeat;
     235    background-position: 0 0;
     236    padding: 80px 80px 20px;
     237    line-height: 2;
     238}
     239
     240.advamentor-advanced-testimonial-carousel .aatc-single-dark .testimonial-person {
     241    font-weight: bold;
     242    font-size: 18px;
     243    margin-bottom: 0.5rem;
     244    line-height: 1;
     245}
     246
     247.advamentor-advanced-testimonial-carousel .aatc-box-solid .aatc-message-box {
     248    background: #000000;
     249    color: #ffffff;
     250    padding: 60px 50px;
     251    min-height: 400px;
     252}
     253.advamentor-advanced-testimonial-carousel .aatc-box-solid a.button {
     254    background: #2087ef;
     255    color: #ffffff;
     256    border: none;
     257    padding: 10px 40px;
     258    border-radius: 2px;
     259    font-size: 0.8rem;
     260}
     261.advamentor-advanced-testimonial-carousel .aatc-box-solid .aatc-testimonial-box {
     262    background: #2687ef;
     263    padding: 60px 50px;
     264    color: #ffffff;
     265    min-height: 400px;
     266}
     267.advamentor-advanced-testimonial-carousel .aatc-box-solid .testimonial-title {
     268    margin-bottom: 40px;
     269}
     270.advamentor-advanced-testimonial-carousel .aatc-box-solid .testimonial-message {
     271    margin-bottom: 40px;
     272    font-size: 0.8rem;
     273    width: 80%;
     274    line-height: 1.8;
     275}
     276.advamentor-advanced-testimonial-carousel .aatc-box-solid .col-8 {
     277    padding-right: 0px;
     278}
     279.advamentor-advanced-testimonial-carousel .aatc-box-solid .col-4 {
     280    padding-left: 0px;
     281}
     282.advamentor-advanced-testimonial-carousel .aatc-box-solid .testimonial-text {
     283    font-size: 0.8rem;
     284    margin-bottom: 40px;
     285    margin-top: 5px;
     286}
     287.advamentor-advanced-testimonial-carousel .aatc-box-solid .testimonial-author {
     288    position: absolute;
     289    bottom: 43px;
     290}
     291.advamentor-advanced-testimonial-carousel .aatc-box-solid .testimonial-author img {
     292    border-radius: 50%;
     293    width: 70px;
     294    height: 70px;
     295    margin-top: 15px;
     296}
     297.advamentor-advanced-testimonial-carousel .aatc-box-solid .testimonial-author-name {
     298    font-weight: bold;
     299    margin-top: 1rem;
     300    margin-bottom: 0.5rem;
     301}
     302.advamentor-advanced-testimonial-carousel .aatc-box-solid .testimonial-author-designation {
     303    font-size: 0.8rem;
     304}
     305
     306.advamentor-advanced-testimonial-carousel .aatc-celebration .celebration-image {
     307    max-height: 500px;
     308    overflow: hidden;
     309}
     310.advamentor-advanced-testimonial-carousel .aatc-celebration .testimonial-area {
     311    margin-left: -80px;
     312    z-index: 1;
     313    background: #ffffff;
     314    max-height: 400px;
     315    margin-top: 50px;
     316    margin-bottom: 20px;
     317    padding: 50px;
     318    border: 1px solid #fbfbfb;
     319    -webkit-box-shadow: 10px 15px 20px 0px rgba(0,0,0,0.1);
     320    -moz-box-shadow: 10px 15px 20px 0px rgba(0,0,0,0.1);
     321    box-shadow: 10px 15px 20px 0px rgba(0,0,0,0.1);
     322}
     323.advamentor-advanced-testimonial-carousel .aatc-celebration .testimonial-content {
     324    min-height: 195px;
     325    margin-bottom: 50px;
     326    line-height: 1.8;
     327}
     328.advamentor-advanced-testimonial-carousel .aatc-celebration .testimonial-person {
     329    font-weight: bold;
     330    margin-bottom: 0.5rem;
     331}
     332.advamentor-advanced-testimonial-carousel .aatc-celebration .testimonial-author-thumbnail img {
     333    height: 64px;
     334    width: 64px;
     335}
     336.celebration-quote {
     337    background: url('../../front/images/advanced-testimonial-carousel/quote.png') no-repeat;
     338}
  • advamentor/trunk/includes/assets.php

    r2085922 r2104782  
    2424    wp_enqueue_style( 'advamentor-front-bootstrap-css', plugin_dir_url( dirname( __FILE__ ) ) . 'assets/front/css/bootstrap.min.css' );
    2525    wp_enqueue_style( 'advamentor-flipclock-styles', plugin_dir_url( dirname( __FILE__ ) ) . 'assets/front/css/flipclock.css' );
    26     wp_enqueue_style( 'advamentor-front-styles', plugin_dir_url( dirname( __FILE__ ) ) . 'assets/front/css/plugin-front-styles.css' );
     26    wp_enqueue_style( 'advamentor-slick-styles', plugin_dir_url( dirname( __FILE__ ) ) . 'assets/front/css/slick.css' );
     27    wp_enqueue_style( 'advamentor-slick-theme-styles', plugin_dir_url( dirname( __FILE__ ) ) . 'assets/front/css/slick-theme.css' );
     28    wp_enqueue_style( 'advamentor-flipster-styles', plugin_dir_url( dirname( __FILE__ ) ) . 'assets/front/css/jquery.flipster.min.css' );
     29    wp_enqueue_style( 'advamentor-front-styles', plugin_dir_url( dirname( __FILE__ ) ) . 'assets/front/css/plugin-front-styles.css', array(), null );
    2730
    2831    wp_enqueue_script( 'advamentor-front-popper-js', plugin_dir_url( dirname( __FILE__ ) ) . 'assets/front/js/popper.min.js', array( 'jquery' ) );
     
    3235    wp_enqueue_script( 'advamentor-typeit', plugin_dir_url( dirname( __FILE__ ) ) . 'assets/front/js/typeit.min.js', array( 'jquery' ), false );
    3336    wp_enqueue_script( 'advamentor-typer', plugin_dir_url( dirname( __FILE__ ) ) . 'assets/front/js/typer.js', array( 'jquery' ), false, true );
     37    wp_enqueue_script( 'advamentor-countup', plugin_dir_url( dirname( __FILE__ ) ) . 'assets/front/js/countup.js', array( 'jquery' ), false );
     38    wp_enqueue_script( 'advamentor-slick', plugin_dir_url( dirname( __FILE__ ) ) . 'assets/front/js/slick.min.js', array( 'jquery' ), false );
     39    wp_enqueue_script( 'advamentor-flipster', plugin_dir_url( dirname( __FILE__ ) ) . 'assets/front/js/jquery.flipster.min.js', array( 'jquery' ), false );
    3440
    3541}
     
    4147
    4248function advamentor_enqueue_admin_assets( $hook ) {
    43     global $advamentor_admin_menu_page;
    44     if( $hook != $advamentor_admin_menu_page ) {
    45         return;
    46     }
     49    global $advamentor_admin_menu_page;
     50    if( $hook != $advamentor_admin_menu_page ) {
     51        return;
     52    }
    4753
    48     wp_enqueue_style( 'advamentor-google-fonts-poppins', 'https://fonts.googleapis.com/css?family=Poppins' );
     54    wp_enqueue_style( 'advamentor-google-fonts-poppins', 'https://fonts.googleapis.com/css?family=Poppins' );
    4955    wp_enqueue_style( 'advamentor-admin-bootstrap-css',  plugin_dir_url( dirname( __FILE__ ) ) . 'assets/admin/css/bootstrap.min.css' );
    5056    wp_enqueue_style( 'advamentor-admin-styles',  plugin_dir_url( dirname( __FILE__ ) ) . 'assets/admin/css/plugin-admin-styles.css' );
  • advamentor/trunk/includes/classes/class-advamentor.php

    r2085922 r2104782  
    152152
    153153        $message = sprintf(
    154         /* translators: 1: Plugin name 2: Elementor */
     154            /* translators: 1: Plugin name 2: Elementor */
    155155            esc_html__( '%1$s requires %2$s to be installed and activated.', 'advamentor' ),
    156156            '<strong>' . esc_html__( 'Advamentor', 'advamentor' ) . '</strong>',
     
    176176
    177177        $message = sprintf(
    178         /* translators: 1: Plugin name 2: Elementor 3: Required Elementor version */
     178            /* translators: 1: Plugin name 2: Elementor 3: Required Elementor version */
    179179            esc_html__( '%1$s requires %2$s version %3$s or greater.', 'advamentor' ),
    180180            '<strong>' . esc_html__( 'Advamentor', 'advamentor' ) . '</strong>',
    181181            '<strong>' . esc_html__( 'Elementor', 'advamentor' ) . '</strong>',
    182             self::MINIMUM_ELEMENTOR_VERSION
     182             self::MINIMUM_ELEMENTOR_VERSION
    183183        );
    184184
     
    201201
    202202        $message = sprintf(
    203         /* translators: 1: Plugin name 2: PHP 3: Required PHP version */
     203            /* translators: 1: Plugin name 2: PHP 3: Required PHP version */
    204204            esc_html__( '%1$s requires %2$s version %3$s or greater.', 'advamentor' ),
    205205            '<strong>' . esc_html__( 'Advamentor', 'advamentor' ) . '</strong>',
    206206            '<strong>' . esc_html__( 'PHP', 'advamentor' ) . '</strong>',
    207             self::MINIMUM_PHP_VERSION
     207             self::MINIMUM_PHP_VERSION
    208208        );
    209209
     
    251251        }
    252252
     253        /* Advanced Counter */
     254
     255        if ( ! get_option( 'disable_advanced_counter' ) == 1 ) {
     256            require_once( __DIR__ . '/widgets/advanced-counter.php' );
     257
     258            \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new \Elementor\Advanced_Counter_Widget() );
     259        }
     260
    253261        /* Advanced Fancy Text */
    254262
     
    259267        }
    260268
     269        /* Advanced Image Slider */
     270
     271        if ( ! get_option( 'disable_advanced_image_slider' ) == 1 ) {
     272            require_once( __DIR__ . '/widgets/advanced-image-slider.php' );
     273
     274            \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new \Elementor\Advanced_Image_Slider_Widget() );
     275        }
     276
     277        /* Advanced Logo Carousel */
     278
     279        if ( ! get_option( 'disable_advanced_logo_carousel' ) == 1 ) {
     280            require_once( __DIR__ . '/widgets/advanced-logo-carousel.php' );
     281
     282            \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new \Elementor\Advanced_Logo_Carousel_Widget() );
     283        }
     284
     285        /* Advanced Testimonial Carousel */
     286
     287        if ( ! get_option( 'disable_advanced_testimonial_carousel' ) == 1 ) {
     288            require_once( __DIR__ . '/widgets/advanced-testimonial-carousel.php' );
     289
     290            \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new \Elementor\Advanced_Testimonial_Carousel_Widget() );
     291        }
     292
     293        /* Advanced Flip Carousel */
     294
     295        if ( ! get_option( 'disable_advanced_flip_carousel' ) == 1 ) {
     296            require_once( __DIR__ . '/widgets/advanced-flip-carousel.php' );
     297
     298            \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new \Elementor\Advanced_Flip_Carousel_Widget() );
     299        }
     300
    261301    }
    262302
  • advamentor/trunk/includes/classes/widgets/advanced-banner.php

    r2085922 r2104782  
    175175                ],
    176176                'default'       => [
    177                     'url'       => plugin_dir_url( dirname( __FILE__ ) ) . '/../../../assets/front/images/aetrio.png'
     177                    'url'       => plugin_dir_url( dirname( __FILE__ ) ) . '/../../../assets/front/images/advanced-banner/aetrio.png'
    178178                ],
    179179                'condition'     => [
     
    197197                ],
    198198                'default'       => [
    199                     'url'       => plugin_dir_url( dirname( __FILE__ ) ) . '/../../../assets/front/images/eeta.png'
     199                    'url'       => plugin_dir_url( dirname( __FILE__ ) ) . '/../../../assets/front/images/advanced-banner/eeta.png'
    200200                ],
    201201                'condition'     => [
     
    219219                ],
    220220                'default'       => [
    221                     'url'       => plugin_dir_url( dirname( __FILE__ ) ) . '/../../../assets/front/images/evezza.png'
     221                    'url'       => plugin_dir_url( dirname( __FILE__ ) ) . '/../../../assets/front/images/advanced-banner/evezza.png'
    222222                ],
    223223                'condition'     => [
     
    241241                ],
    242242                'default'       => [
    243                     'url'       => plugin_dir_url( dirname( __FILE__ ) ) . '/../../../assets/front/images/hostezza.png'
     243                    'url'       => plugin_dir_url( dirname( __FILE__ ) ) . '/../../../assets/front/images/advanced-banner/hostezza.png'
    244244                ],
    245245                'condition'     => [
     
    263263                ],
    264264                'default'       => [
    265                     'url'       => plugin_dir_url( dirname( __FILE__ ) ) . '/../../../assets/front/images/rozzby.png'
     265                    'url'       => plugin_dir_url( dirname( __FILE__ ) ) . '/../../../assets/front/images/advanced-banner/rozzby.png'
    266266                ],
    267267                'condition'     => [
     
    285285                ],
    286286                'default'       => [
    287                     'url'       => plugin_dir_url( dirname( __FILE__ ) ) . '/../../../assets/front/images/ziofy.png'
     287                    'url'       => plugin_dir_url( dirname( __FILE__ ) ) . '/../../../assets/advanced-banner/ziofy.png'
    288288                ],
    289289                'condition'     => [
  • advamentor/trunk/includes/classes/widgets/advanced-contact-form-7.php

    r2085922 r2104782  
    1616
    1717    public function get_icon() {
    18         return 'eicon-banner';
     18        return 'eicon-form-horizontal';
    1919    }
    2020
  • advamentor/trunk/includes/classes/widgets/advanced-countdown.php

    r2085922 r2104782  
    1616
    1717    public function get_icon() {
    18         return 'eicon-banner';
     18        return 'eicon-countdown';
    1919    }
    2020
  • advamentor/trunk/includes/classes/widgets/advanced-fancy-text.php

    r2085922 r2104782  
    1616
    1717    public function get_icon() {
    18         return 'eicon-banner';
     18        return 'eicon-text-area';
    1919    }
    2020
  • advamentor/trunk/includes/plugin-functions.php

    r2085922 r2104782  
    144144}
    145145add_filter('excerpt_more', 'advamentor_read_more');
     146
     147add_theme_support( 'aais-thumbnail' );
     148add_image_size( 'aais-thumbnail', 350, 350, true );
     149add_theme_support( 'aafc-thumbnail' );
     150add_image_size( 'aafc-thumbnail', 300, 300, true );
     151add_theme_support( 'aalc-logos' );
     152add_image_size( 'aalc-logos', 350, 200, true );
  • advamentor/trunk/includes/templates/admin.php

    r2085922 r2104782  
    66
    77<div class="advamentor-admin-wrapper">
    8     <div class="container">
     8    <div class="container">
    99
    10         <div class="page-heading">
    11             <h1 class="page-title"><?php _e( 'Advamentor', 'advamentor' ); ?></h1>
    12             <p class="page-description">
    13                 <?php _e( 'Premium & Advanced Essential Elements for Elementor', 'advamentor' ); ?>
    14             </p>
    15         </div>
     10        <div class="page-heading">
     11            <h1 class="page-title"><?php _e( 'Advamentor', 'advamentor' ); ?></h1>
     12            <p class="page-description">
     13                <?php _e( 'Premium & Advanced Essential Elements for Elementor', 'advamentor' ); ?>
     14            </p>
     15        </div>
    1616
    17         <form class="advamentor-form" method="post">
     17        <form class="advamentor-form" method="post">
    1818
    19             <div class="row widget-row">
     19            <div class="row widget-row">
    2020
    21                 <div class="col-md-3">
    22                     <div class="widget-toggle" data-toggle="tooltip" data-placement="top" title="<h6>Available Options</h6><li>Change Background</li>">
    23                         <?php
    24                         add_option( 'disable_advanced_banner', 0 );
    25                         if ( isset( $_POST['disable_advanced_banner'] ) ) {
    26                             update_option( 'disable_advanced_banner', $_POST['disable_advanced_banner'] );
    27                         }
    28                         ?>
    29                         <div class="custom-control custom-switch">
    30                             <input type="hidden" name="disable_advanced_banner" value="1">
    31                             <input type="checkbox" class="custom-control-input" id="disable_advanced_banner" name="disable_advanced_banner" value="0" <?php checked( 0, get_option( 'disable_advanced_banner' ), true ); ?>>
    32                             <label class="custom-control-label" for="disable_advanced_banner"><?php _e( 'Advanced Banner', 'advamentor' ); ?></label>
    33                         </div>
    34                     </div>
    35                 </div>
     21                <div class="col-md-3">
     22                    <div class="widget-toggle" data-toggle="tooltip" data-placement="top" title="<h6>Available Options</h6><li>Change Background</li>">
     23                        <?php
     24                            add_option( 'disable_advanced_banner', 0 );
     25                            if ( isset( $_POST['disable_advanced_banner'] ) ) {
     26                                update_option( 'disable_advanced_banner', $_POST['disable_advanced_banner'] );
     27                            }
     28                        ?>
     29                        <div class="custom-control custom-switch">
     30                            <input type="hidden" name="disable_advanced_banner" value="1">
     31                            <input type="checkbox" class="custom-control-input" id="disable_advanced_banner" name="disable_advanced_banner" value="0" <?php checked( 0, get_option( 'disable_advanced_banner' ), true ); ?>>
     32                            <label class="custom-control-label" for="disable_advanced_banner"><?php _e( 'Advanced Banner', 'advamentor' ); ?></label>
     33                        </div>
     34                    </div>
     35                </div>
    3636
    3737                <div class="col-md-3">
     
    7070                    <div class="widget-toggle" data-toggle="tooltip" data-placement="top" title="<h6>Available Options</h6><li>Change Background</li>">
    7171                        <?php
     72                        add_option( 'disable_advanced_counter', 0 );
     73                        if ( isset( $_POST['disable_advanced_counter'] ) ) {
     74                            update_option( 'disable_advanced_counter', $_POST['disable_advanced_counter'] );
     75                        }
     76                        ?>
     77                        <div class="custom-control custom-switch">
     78                            <input type="hidden" name="disable_advanced_counter" value="1">
     79                            <input type="checkbox" class="custom-control-input" id="disable_advanced_counter" name="disable_advanced_counter" value="0" <?php checked( 0, get_option( 'disable_advanced_counter' ), true ); ?>>
     80                            <label class="custom-control-label" for="disable_advanced_counter"><?php _e( 'Advanced Counter', 'advamentor' ); ?></label>
     81                        </div>
     82                    </div>
     83                </div>
     84
     85                <div class="col-md-3">
     86                    <div class="widget-toggle" data-toggle="tooltip" data-placement="top" title="<h6>Available Options</h6><li>Change Background</li>">
     87                        <?php
    7288                        add_option( 'disable_advanced_fancy_text', 0 );
    7389                        if ( isset( $_POST['disable_advanced_fancy_text'] ) ) {
     
    8399                </div>
    84100
    85             </div>
    86 
    87             <div class="page-actions">
    88 
    89                 <div class="row">
    90 
    91                     <div class="col-sm-12 submit-container">
    92                         <?php wp_nonce_field( 'advamentor_admin_nonce_field' ); ?>
    93                         <button type="submit" class="btn btn-primary"><?php _e( 'Save Settings', 'advamentor' ); ?></button>
     101                <div class="col-md-3">
     102                    <div class="widget-toggle" data-toggle="tooltip" data-placement="top" title="<h6>Available Options</h6><li>Change Background</li>">
     103                        <?php
     104                        add_option( 'disable_advanced_image_slider', 0 );
     105                        if ( isset( $_POST['disable_advanced_image_slider'] ) ) {
     106                            update_option( 'disable_advanced_image_slider', $_POST['disable_advanced_image_slider'] );
     107                        }
     108                        ?>
     109                        <div class="custom-control custom-switch">
     110                            <input type="hidden" name="disable_advanced_image_slider" value="1">
     111                            <input type="checkbox" class="custom-control-input" id="disable_advanced_image_slider" name="disable_advanced_image_slider" value="0" <?php checked( 0, get_option( 'disable_advanced_image_slider' ), true ); ?>>
     112                            <label class="custom-control-label" for="disable_advanced_image_slider"><?php _e( 'Advanced Image Slider', 'advamentor' ); ?></label>
     113                        </div>
    94114                    </div>
    95 
    96115                </div>
    97116
    98             </div>
     117                <div class="col-md-3">
     118                    <div class="widget-toggle" data-toggle="tooltip" data-placement="top" title="<h6>Available Options</h6><li>Change Background</li>">
     119                        <?php
     120                        add_option( 'disable_advanced_logo_carousel', 0 );
     121                        if ( isset( $_POST['disable_advanced_logo_carousel'] ) ) {
     122                            update_option( 'disable_advanced_logo_carousel', $_POST['disable_advanced_logo_carousel'] );
     123                        }
     124                        ?>
     125                        <div class="custom-control custom-switch">
     126                            <input type="hidden" name="disable_advanced_logo_carousel" value="1">
     127                            <input type="checkbox" class="custom-control-input" id="disable_advanced_logo_carousel" name="disable_advanced_logo_carousel" value="0" <?php checked( 0, get_option( 'disable_advanced_logo_carousel' ), true ); ?>>
     128                            <label class="custom-control-label" for="disable_advanced_logo_carousel"><?php _e( 'Advanced Logo Carousel', 'advamentor' ); ?></label>
     129                        </div>
     130                    </div>
     131                </div>
    99132
    100         </form>
     133                <div class="col-md-3">
     134                    <div class="widget-toggle" data-toggle="tooltip" data-placement="top" title="<h6>Available Options</h6><li>Change Background</li>">
     135                        <?php
     136                        add_option( 'disable_advanced_testimonial_carousel', 0 );
     137                        if ( isset( $_POST['disable_advanced_testimonial_carousel'] ) ) {
     138                            update_option( 'disable_advanced_testimonial_carousel', $_POST['disable_advanced_testimonial_carousel'] );
     139                        }
     140                        ?>
     141                        <div class="custom-control custom-switch">
     142                            <input type="hidden" name="disable_advanced_testimonial_carousel" value="1">
     143                            <input type="checkbox" class="custom-control-input" id="disable_advanced_testimonial_carousel" name="disable_advanced_testimonial_carousel" value="0" <?php checked( 0, get_option( 'disable_advanced_testimonial_carousel' ), true ); ?>>
     144                            <label class="custom-control-label" for="disable_advanced_testimonial_carousel"><?php _e( 'Advanced Testimonial Carousel', 'advamentor' ); ?></label>
     145                        </div>
     146                    </div>
     147                </div>
    101148
    102     </div>
     149                <div class="col-md-3">
     150                    <div class="widget-toggle" data-toggle="tooltip" data-placement="top" title="<h6>Available Options</h6><li>Change Background</li>">
     151                        <?php
     152                        add_option( 'disable_advanced_flip_carousel', 0 );
     153                        if ( isset( $_POST['disable_advanced_flip_carousel'] ) ) {
     154                            update_option( 'disable_advanced_flip_carousel', $_POST['disable_advanced_flip_carousel'] );
     155                        }
     156                        ?>
     157                        <div class="custom-control custom-switch">
     158                            <input type="hidden" name="disable_advanced_flip_carousel" value="1">
     159                            <input type="checkbox" class="custom-control-input" id="disable_advanced_flip_carousel" name="disable_advanced_flip_carousel" value="0" <?php checked( 0, get_option( 'disable_advanced_flip_carousel' ), true ); ?>>
     160                            <label class="custom-control-label" for="disable_advanced_flip_carousel"><?php _e( 'Advanced Flip Carousel', 'advamentor' ); ?></label>
     161                        </div>
     162                    </div>
     163                </div>
     164
     165            </div>
     166
     167            <div class="page-actions">
     168
     169                <div class="row">
     170
     171                    <div class="col-sm-12 submit-container">
     172                        <?php wp_nonce_field( 'advamentor_admin_nonce_field' ); ?>
     173                        <button type="submit" class="btn btn-primary"><?php _e( 'Save Settings', 'advamentor' ); ?></button>
     174                    </div>
     175
     176                </div>
     177
     178            </div>
     179
     180        </form>
     181
     182    </div>
    103183</div>
  • advamentor/trunk/readme.txt

    r2085922 r2104782  
    44Donate link: https://www.paypal.me/Siddique19
    55Requires at least: 4.0
    6 Tested up to: 5.1.1
     6Tested up to: 5.2.1
    77Requires PHP: 5.6
    8 Stable tag: 1.0.2
     8Stable tag: 1.0.3
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1111
    12 Advanced elements for Elementor WordPress Page Builder. Multiple elements with highly advanced customization options.
     12Advanced Elements for Elementor WordPress page builder. Multiple elements with highly advanced customization options.
    1313
    1414== Description ==
    15 Advanced Premium Essentials Elementor elements/widgets for customizing your website in the easiest way. We are adding more widgets so keep this plugin updated to the latest version.
     15Advanced, premium, essential Elementor elements/widgets for customizing your website in the easiest way. We are adding more widgets so keep this plugin updated to the latest version.
    1616
    1717If you have any question or need any support, feel free to contact us at support@themexa.com
    1818
    1919== Installation ==
    20 1. Upload \"advamentor.php\" to the \"/wp-content/plugins/\" directory.
    21 2. Activate the plugin through the \"Plugins\" menu in WordPress.
     201. Upload "advamentor.php" to the "/wp-content/plugins/" directory.
     212. Activate the plugin through the "Plugins" menu in WordPress.
    2222
    2323== Frequently Asked Questions ==
    24 = Can I get Support for this plugin? =
    25 Definitely. We have a dedicated team to provide dedicated support.
     24= Can I get support for this plugin? =
     25Definitely. Please [create a support ticket](https://wordpress.org/support/plugin/advamentor/) or email us at support@themexa.com.
    2626
    2727== Screenshots ==
     
    3030
    3131== Changelog ==
     32= 1.0.3 =
     33* Advanced Banner Element Added.
    3234
    3335= 1.0.2 =
Note: See TracChangeset for help on using the changeset viewer.