Plugin Directory

Changeset 3246319


Ignore:
Timestamp:
02/25/2025 09:54:11 AM (11 months ago)
Author:
nicheaddons
Message:

1.6.7

  • Testimonial slider issue fix
Location:
primary-addon-for-elementor
Files:
388 added
27 edited

Legend:

Unmodified
Added
Removed
  • primary-addon-for-elementor/trunk/elementor/js/prim-elementor.js

    r3194806 r3246319  
    7575$( window ).on( 'elementor/frontend/init', function() {
    7676    //Owl Carousel Slider Script
    77     var owl_carousel = function(){
    78         $('.owl-carousel').each( function() {
    79         var $carousel = $(this);
    80         var $items = ($carousel.data('items') !== undefined) ? $carousel.data('items') : 1;
    81         var $items_tablet = ($carousel.data('items-tablet') !== undefined) ? $carousel.data('items-tablet') : 1;
    82         var $items_mobile_landscape = ($carousel.data('items-mobile-landscape') !== undefined) ? $carousel.data('items-mobile-landscape') : 1;
    83         var $items_mobile_portrait = ($carousel.data('items-mobile-portrait') !== undefined) ? $carousel.data('items-mobile-portrait') : 1;
    84         $carousel.owlCarousel ({
    85           loop : ($carousel.data('loop') !== undefined) ? $carousel.data('loop') : true,
    86           items : $carousel.data('items'),
    87           margin : ($carousel.data('margin') !== undefined) ? $carousel.data('margin') : 0,
    88           dots : ($carousel.data('dots') !== undefined) ? $carousel.data('dots') : true,
    89           nav : ($carousel.data('nav') !== undefined) ? $carousel.data('nav') : false,
    90           navText : ["<div class='slider-no-current'><span class='current-no'></span><span class='total-no'></span></div><span class='current-monials'></span>", "<div class='slider-no-next'></div><span class='next-monials'></span>"],
    91           autoplay : ($carousel.data('autoplay') !== undefined) ? $carousel.data('autoplay') : false,
    92           autoplayTimeout : ($carousel.data('autoplay-timeout') !== undefined) ? $carousel.data('autoplay-timeout') : 5000,
    93           animateIn : ($carousel.data('animatein') !== undefined) ? $carousel.data('animatein') : false,
    94           animateOut : ($carousel.data('animateout') !== undefined) ? $carousel.data('animateout') : false,
    95           mouseDrag : ($carousel.data('mouse-drag') !== undefined) ? $carousel.data('mouse-drag') : true,
    96           autoWidth : ($carousel.data('auto-width') !== undefined) ? $carousel.data('auto-width') : false,
    97           autoHeight : ($carousel.data('auto-height') !== undefined) ? $carousel.data('auto-height') : false,
    98           center : ($carousel.data('center') !== undefined) ? $carousel.data('center') : false,
    99           responsiveClass: true,
    100           dotsEachNumber: true,
    101           smartSpeed: 600,
    102           autoplayHoverPause: true,
    103           responsive : {
    104             0 : {
    105               items : $items_mobile_portrait,
    106             },
    107             480 : {
    108               items : $items_mobile_landscape,
    109             },
    110             768 : {
    111               items : $items_tablet,
    112             },
    113             992 : {
    114               items : $items,
    115             }
    116           }
    117         });
    118         var totLength = $('.owl-dot', $carousel).length;
    119         $('.total-no', $carousel).html(totLength);
    120         $('.current-no', $carousel).html(totLength);
    121         $carousel.owlCarousel();
    122         $('.current-no', $carousel).html(1);
    123         $carousel.on('changed.owl.carousel', function(event) {
    124           var total_items = event.page.count;
    125           var currentNum = event.page.index + 1;
    126           $('.total-no', $carousel ).html(total_items);
    127           $('.current-no', $carousel).html(currentNum);
    128         });
    129       });
    130     }; // end
     77    $('.owl-carousel').each( function() {
     78    var $carousel = $(this);
     79    var $items = ($carousel.data('items') !== undefined) ? $carousel.data('items') : 1;
     80    var $items_tablet = ($carousel.data('items-tablet') !== undefined) ? $carousel.data('items-tablet') : 1;
     81    var $items_mobile_landscape = ($carousel.data('items-mobile-landscape') !== undefined) ? $carousel.data('items-mobile-landscape') : 1;
     82    var $items_mobile_portrait = ($carousel.data('items-mobile-portrait') !== undefined) ? $carousel.data('items-mobile-portrait') : 1;
     83    $carousel.owlCarousel ({
     84      loop : ($carousel.data('loop') !== undefined) ? $carousel.data('loop') : true,
     85      items : $carousel.data('items'),
     86      margin : ($carousel.data('margin') !== undefined) ? $carousel.data('margin') : 0,
     87      dots : ($carousel.data('dots') !== undefined) ? $carousel.data('dots') : true,
     88      nav : ($carousel.data('nav') !== undefined) ? $carousel.data('nav') : false,
     89      navText : ["<div class='slider-no-current'><span class='current-no'></span><span class='total-no'></span></div><span class='current-monials'></span>", "<div class='slider-no-next'></div><span class='next-monials'></span>"],
     90      autoplay : ($carousel.data('autoplay') !== undefined) ? $carousel.data('autoplay') : false,
     91      autoplayTimeout : ($carousel.data('autoplay-timeout') !== undefined) ? $carousel.data('autoplay-timeout') : 5000,
     92      animateIn : ($carousel.data('animatein') !== undefined) ? $carousel.data('animatein') : false,
     93      animateOut : ($carousel.data('animateout') !== undefined) ? $carousel.data('animateout') : false,
     94      mouseDrag : ($carousel.data('mouse-drag') !== undefined) ? $carousel.data('mouse-drag') : true,
     95      autoWidth : ($carousel.data('auto-width') !== undefined) ? $carousel.data('auto-width') : false,
     96      autoHeight : ($carousel.data('auto-height') !== undefined) ? $carousel.data('auto-height') : false,
     97      center : ($carousel.data('center') !== undefined) ? $carousel.data('center') : false,
     98      responsiveClass: true,
     99      dotsEachNumber: true,
     100      smartSpeed: 600,
     101      autoplayHoverPause: true,
     102      responsive : {
     103        0 : {
     104          items : $items_mobile_portrait,
     105        },
     106        480 : {
     107          items : $items_mobile_landscape,
     108        },
     109        768 : {
     110          items : $items_tablet,
     111        },
     112        992 : {
     113          items : $items,
     114        }
     115      }
     116    });
     117    var totLength = $('.owl-dot', $carousel).length;
     118    $('.total-no', $carousel).html(totLength);
     119    $('.current-no', $carousel).html(totLength);
     120    $carousel.owlCarousel();
     121    $('.current-no', $carousel).html(1);
     122    $carousel.on('changed.owl.carousel', function(event) {
     123      var total_items = event.page.count;
     124      var currentNum = event.page.index + 1;
     125      $('.total-no', $carousel ).html(total_items);
     126      $('.current-no', $carousel).html(currentNum);
     127    });
     128  });
    131129
    132130    //Primary Addon for Elementor Preloader Script
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-about-me.php

    r3194806 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $this->start_controls_section(
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-about-us.php

    r3194806 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $this->start_controls_section(
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-blog.php

    r3194806 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $posts = get_posts( 'post_type="post"&numberposts=-1' );
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-button.php

    r2530153 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $this->start_controls_section(
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-chart.php

    r3194806 r3246319  
    4747         * Adds different input fields to allow the user to change and customize the widget settings.
    4848        */
    49         protected function _register_controls(){
     49        protected function register_controls(){
    5050
    5151            $this->start_controls_section(
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-contact.php

    r2530153 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $this->start_controls_section(
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-gallery.php

    r3194806 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $this->start_controls_section(
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-get-apps.php

    r2530153 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $this->start_controls_section(
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-history.php

    r2530153 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $this->start_controls_section(
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-image-compare.php

    r3194806 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $this->start_controls_section(
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-pricing-table.php

    r3092073 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        // Style
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-process.php

    r2530153 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $this->start_controls_section(
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-section-title.php

    r3194806 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $this->start_controls_section(
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-separator.php

    r3194806 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $this->start_controls_section(
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-services.php

    r2530153 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $this->start_controls_section(
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-slider.php

    r3155116 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $this->start_controls_section(
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-subscribe.php

    r2530153 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $this->start_controls_section(
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-table.php

    r2530153 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $this->start_controls_section(
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-team-single.php

    r2530153 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $this->start_controls_section(
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-team.php

    r3194806 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $this->start_controls_section(
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-testimonials.php

    r3194806 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $this->start_controls_section(
     
    10981098        $output = '<div class="napae-testimonials'.esc_attr( $style_cls ).'">';
    10991099        if ($testimonial_style === 'two') { $output .= '<div class="napae-testimonial-item">'; }
    1100             $output .= '<div class="owl-carousel" data-items="'. esc_attr( $carousel_items ) .'" data-items-tablet="'. esc_attr( $carousel_items_tablet ) .'" data-items-mobile-landscape="'. esc_attr( $carousel_mobile ) .'" data-items-mobile-portrait="'. esc_attr( $carousel_small_mobile ) .'" data-margin="'. esc_attr( $carousel_margin ) .'" data-autoplay-timeout="'. esc_attr( $carousel_autoplay_timeout ) .'" data-loop="'. esc_attr( $carousel_loop ) .'" data-dots="'. esc_attr( $carousel_dots ) .'" data-nav="'. esc_attr( $carousel_nav ) .'" data-autoplay="'. esc_attr( $carousel_autoplay ) .'" data-animateout="'. esc_attr( $carousel_animate_out ) .'" data-mouse-drag="'. esc_attr( $carousel_mousedrag ) .'" data-auto-width="'. esc_attr( $carousel_autowidth ) .'" data-auto-height="'. esc_attr( $carousel_autoheight ) .'"';
     1100            $output .= '<div class="owl-carousel" data-items="'. esc_attr( $carousel_items ) .'" data-items-tablet="'. esc_attr( $carousel_items_tablet ) .'" data-items-mobile-landscape="'. esc_attr( $carousel_mobile ) .'" data-items-mobile-portrait="'. esc_attr( $carousel_small_mobile ) .'" data-margin="'. esc_attr( $carousel_margin ) .'" data-autoplay-timeout="'. esc_attr( $carousel_autoplay_timeout ) .'" data-loop="'. esc_attr( $carousel_loop ) .'" data-dots="'. esc_attr( $carousel_dots ) .'" data-nav="'. esc_attr( $carousel_nav ) .'" data-autoplay="'. esc_attr( $carousel_autoplay ) .'" data-animateout="'. esc_attr( $carousel_animate_out ) .'" data-mouse-drag="'. esc_attr( $carousel_mousedrag ) .'" data-auto-width="'. esc_attr( $carousel_autowidth ) .'" data-auto-height="'. esc_attr( $carousel_autoheight ) .'">';
    11011101
    11021102            if ( !empty( $testimonials_groups ) && is_array( $testimonials_groups ) ) {
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-typewriter.php

    r3164154 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $this->start_controls_section(
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-video.php

    r3194806 r3246319  
    4545     * Adds different input fields to allow the user to change and customize the widget settings.
    4646    */
    47     protected function _register_controls(){
     47    protected function register_controls(){
    4848
    4949        $this->start_controls_section(
  • primary-addon-for-elementor/trunk/elementor/widgets/basic/nabasic-woo-product-grid.php

    r3194806 r3246319  
    5858     * Adds different input fields to allow the user to change and customize the widget settings.
    5959    */
    60     protected function _register_controls(){
     60    protected function register_controls(){
    6161
    6262        $this->start_controls_section(
  • primary-addon-for-elementor/trunk/primary-addon-for-elementor.php

    r3230454 r3246319  
    77Author: NicheAddons
    88Author URI: https://nicheaddons.com/
    9 Version: 1.6.5
     9Version: 1.6.7
    1010Text Domain: primary-addon-for-elementor
    1111*/
  • primary-addon-for-elementor/trunk/readme.txt

    r3230454 r3246319  
    66Requires PHP: 7.4
    77Requires at least: 6.0
    8 Tested up to: 6.7.1
    9 Stable tag: 1.6.5
     8Tested up to: 6.7.2
     9Stable tag: 1.6.7
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    128128== Changelog ==
    129129
     130= 1.6.7
     131* Testimonial slider issue fix
     132
     133= 1.6.6
     134* Deprecated function updated
     135
    130136= 1.6.5
    131137* Freemius SDK updated
Note: See TracChangeset for help on using the changeset viewer.