Plugin Directory

Changeset 3123260


Ignore:
Timestamp:
07/22/2024 01:26:27 PM (20 months ago)
Author:
anantaddons
Message:
  • Add new Widgets
  • fixed controls
  • update banner
Location:
anant-addons-for-elementor
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • anant-addons-for-elementor/trunk/anant-addons-for-elementor.php

    r3113401 r3123260  
    55* Author: Anantaddons
    66* Author URI: https://anantaddons.com
    7 * Version: 0.0.7
     7* Version: 0.0.8
    88* License: GPLv3
    99* License URI: https://opensource.org/licenses/GPL-3.0
  • anant-addons-for-elementor/trunk/assets/css/anant-post-blog.css

    r3113401 r3123260  
    13911391    color: #0028bf;
    13921392}
     1393
     1394/* ---Archive Blog Widgets--- */
     1395
     1396/* ---title--- */
     1397.anant-archive-title{
     1398    display: flex;
     1399    flex-wrap: wrap;
     1400    justify-content: center;
     1401    align-items: center;
     1402}
  • anant-addons-for-elementor/trunk/assets/css/style.css

    r3113401 r3123260  
    37203720  border-color: #0036ff;
    37213721}
     3722
     3723/* -------------marquee stripe------------- */
     3724
     3725.anant-marquee-stripe {
     3726  padding: 0px 0;
     3727  position: relative;
     3728  overflow: hidden;
     3729  transform: rotate(var(--rotale));
     3730}
     3731.anant-marquee-stripe .overlay {
     3732  padding: 20px 0;
     3733  border-width: 2px 0 2px 0;
     3734  border-style: solid;
     3735  border-color: #e5e5e5;
     3736}
     3737.anant-marquee-stripe .anant-marquee-main .js-marquee-wrapper {
     3738  display: flex;
     3739  align-items: center;
     3740  justify-content: flex-start;
     3741}
     3742.anant-marquee-stripe .anant-marquee-main {
     3743  overflow: hidden;
     3744}
     3745.anant-marquee-stripe .anant-marquee-main .js-marquee {
     3746  display: flex;
     3747  gap: 30px;
     3748}
     3749.anant-marquee-stripe .anant-marquee-main .anant-marquee-item {
     3750  display: inline-flex;
     3751  align-items: center;
     3752}
     3753.anant-marquee-stripe .anant-marquee-main .anant-marquee-item .title {
     3754  text-transform: uppercase;
     3755  white-space: nowrap;
     3756  font-weight: 600;
     3757  letter-spacing: 4px;
     3758  font-size: 36px;
     3759  font-family: var(--Fontheading);
     3760  position: relative;
     3761  z-index: 2;
     3762  display: inline-flex;
     3763  font-display: swap;
     3764}
     3765
     3766.anant-marquee-stripe .anant-marquee-main .anant-marquee-item .title::before {
     3767  content: attr(data-title);
     3768}
  • anant-addons-for-elementor/trunk/assets/js/custom.js

    r3113401 r3123260  
    149149  });
    150150
     151  var marquee_stripe = function( $scope, $ ){
     152    var ticker = $scope.find( ".anant-marquee-stripe" );
     153    var mainDiv = $scope.find('.anant-marquee-main');
     154    var PauseVal =  (mainDiv.attr('tickerHover') == 'yes' ) ? true : false;
     155    var tickerSlide = mainDiv.marquee({
     156      speed: 70,
     157      direction: 'right',
     158      delayBeforeStart: 0,
     159      duplicated: true,
     160      pauseOnHover: PauseVal,
     161      startVisible: true,
     162      loop: -1
     163    });
     164  }
     165  jQuery(window).on('elementor/frontend/init', function () {
     166    elementorFrontend.hooks.addAction('frontend/element_ready/anant-marquee-stripe.default', marquee_stripe);
     167  });
     168
    151169  // Product Banner
    152170  const pos = document.documentElement;
  • anant-addons-for-elementor/trunk/inc/admin.php

    r3113401 r3123260  
    108108       
    109109        array( 'ver' => 'lite', 'icon' => 'eicon-image-before-after', 'slug' => 'Image Comparison', 'doc' => 'https://docs.anantaddons.com/', 'demo' => 'https://anantaddons.com/image-comparison/' , 'name' => 'AnantImageComparison' ),
     110   
     111        array( 'ver' => 'lite', 'icon' => 'eicon-form-vertical', 'slug' => 'Marquee Stripe', 'doc' => 'https://docs.anantaddons.com/', 'demo' => 'https://anantaddons.com/addons/marquee-stripe/' , 'name' => 'AnantMarqueeStipe' ),
    110112   
    111113        array( 'ver' => 'lite', 'icon' => 'fas fa-newspaper', 'slug' => 'Ads Banner', 'doc' => 'https://docs.anantaddons.com/', 'demo' => 'https://anantaddons.com/product-banner/' , 'name' => 'AnantAdsBanner' ),
  • anant-addons-for-elementor/trunk/inc/initializer.php

    r3113401 r3123260  
    620620        wp_enqueue_script( 'anant-filter-gallery-js', ANANT_URL . 'assets/js/anant-filter-gallery.js', [], ANANT_VERSION, true );
    621621        wp_enqueue_script( 'anant-image-compare-js', ANANT_URL . 'assets/js/image-compare.js', [], ANANT_VERSION, true );
     622        wp_enqueue_script( 'anant-marquee-js', ANANT_URL . 'assets/js/jquery.marquee.min.js', [], ANANT_VERSION, true );
    622623        wp_enqueue_script( 'anant-woo-js', ANANT_URL.'assets/js/anant-woo.js', ['jquery'], ANANT_VERSION, true );
    623624        wp_enqueue_script( 'anant-search-js', ANANT_URL . 'assets/js/search.js', ['jquery', 'jquery-ui-autocomplete'], ANANT_VERSION, true );
     
    686687        require_once ANANT_PATH . 'inc/widgets/author-list.php';
    687688        require_once ANANT_PATH . 'inc/widgets/image-comparison.php';
     689        require_once ANANT_PATH . 'inc/widgets/marquee-stripe.php';
    688690        require_once ANANT_PATH . 'inc/widgets/ads-banner.php';
    689691       
  • anant-addons-for-elementor/trunk/inc/widgets/archive-post/archive-title.php

    r3113401 r3123260  
    195195                ],
    196196                'selectors' => [
    197                     '{{WRAPPER}} .anant-archive-title' => 'text-align: {{VALUE}}',
     197                    '{{WRAPPER}} .anant-archive-title' => 'justify-content: {{VALUE}}',
    198198                ],
    199199                'separator' => 'before'
     
    249249                'default' => '',
    250250                'selectors' => [
    251                     '{{WRAPPER}} .anant-archive-title .before-archive' => 'color: {{VALUE}}',
     251                    '{{WRAPPER}} .anant-archive-title span' => 'color: {{VALUE}}',
    252252                ],
    253253            ]
     
    259259                'name'     => 'archive_type_title_typography',
    260260                'label'    => 'Typography',
    261                 'selector' => '{{WRAPPER}} .anant-archive-title .before-archive',
    262             ]
    263         );
    264 
    265         anant_text_shadow_control(
    266             $this,
    267             [
    268                 'key'      => 'archive_type_title_shadow',
    269                 'label'    => 'Text Shadow',
    270                 'selector' => '{{WRAPPER}} .anant-archive-title .before-archive',
    271                 'separator' => 'after',
    272             ]
    273         );
    274 
    275         anant_text_stroke_control(
    276             $this,
    277             [
    278                 'key'      => 'archive_type_title_stroke',
    279                 'label'    => 'Text Stroke',
    280                 'selector' => '{{WRAPPER}} .anant-archive-title .before-archive',
    281                 'separator' => 'after',
     261                'selector' => '{{WRAPPER}} .anant-archive-title span',
    282262            ]
    283263        );
     
    290270                'size_units' => [ 'px', '%', 'em' ],
    291271                'selectors' => [
    292                     '{{WRAPPER}} .anant-archive-title .before-archive' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
     272                    '{{WRAPPER}} .anant-archive-title span' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    293273                ],
    294274            ]
     
    324304                'label'    => 'Typography',
    325305                'selector' => '{{WRAPPER}} .anant-archive-title .archive-text',
    326             ]
    327         );
    328 
    329         anant_text_shadow_control(
    330             $this,
    331             [
    332                 'key'      => 'archive_title_shadow',
    333                 'label'    => 'Text Shadow',
    334                 'selector' => '{{WRAPPER}} .anant-archive-title .archive-text',
    335                 'separator' => 'after',
    336             ]
    337         );
    338 
    339         anant_text_stroke_control(
    340             $this,
    341             [
    342                 'key'      => 'archive_title_stroke',
    343                 'label'    => 'Text Stroke',
    344                 'selector' => '{{WRAPPER}} .anant-archive-title .archive-text',
    345                 'separator' => 'after',
    346306            ]
    347307        );
  • anant-addons-for-elementor/trunk/inc/widgets/woo/cart-page.php

    r3106025 r3123260  
    1212
    1313class AnantCartPage extends Widget_Base {
     14
     15    public function __construct( $data = [], $args = null ) {
     16        parent::__construct( $data, $args );
     17            if ( is_null( WC()->cart ) ) {
     18                include_once WC_ABSPATH . 'includes/wc-cart-functions.php';
     19                include_once WC_ABSPATH . 'includes/class-wc-cart.php';
     20                wc_load_cart();
     21        }
     22    }
    1423
    1524    public function get_name() {
  • anant-addons-for-elementor/trunk/inc/widgets/woo/checkout.php

    r3106025 r3123260  
    1313
    1414class AnantCheckoutPage extends Widget_Base {
     15
     16    public function __construct( $data = [], $args = null ) {
     17        parent::__construct( $data, $args );
     18            if ( is_null( WC()->cart ) ) {
     19                include_once WC_ABSPATH . 'includes/wc-cart-functions.php';
     20                include_once WC_ABSPATH . 'includes/class-wc-cart.php';
     21                wc_load_cart();
     22        }
     23    }
    1524
    1625    public function get_name() {
  • anant-addons-for-elementor/trunk/readme.txt

    r3113401 r3123260  
    44Requires at least: 4.4
    55Requires PHP: 5.3
    6 Tested up to: 6.5.4
     6Tested up to: 6.6
    77Stable tag: 0.0.7
    88License: GPLv3 or later
     
    192192- Add new Widgets
    193193- Enhance style Controls
     194
     195* 0.0.8
     196- Add new Widgets
     197- fixed controls
Note: See TracChangeset for help on using the changeset viewer.