Plugin Directory

Changeset 3006376


Ignore:
Timestamp:
12/06/2023 10:02:38 PM (2 years ago)
Author:
celomitan
Message:

version 1.3.1

  • bug fix: progressbar widget
Location:
gum-elementor-addon
Files:
45 added
5 edited

Legend:

Unmodified
Added
Removed
  • gum-elementor-addon/trunk/gum-elementor-addon.php

    r2977861 r3006376  
    55 * Plugin URI: http://themegum.com/
    66 * Description: Addon widget for Elementor. Slideshow, pricing table, icon list, recent post, blog term, post term, post share, post meta, post related, post adjacent, blog grid, post slider,navigation menu, image box, popover and to top button
    7  * Version: 1.3.0
     7 * Version: 1.3.1
    88 * Author: TemeGUM
    99 * Author URI: http://themegum.com
     
    1212 * Requires at least: 3.7
    1313 * Tested up to: 6.3.1
    14  * Elementor tested up to: 3.16.4
     14 * Elementor tested up to: 3.18.1
    1515 */
    1616
  • gum-elementor-addon/trunk/readme.txt

    r2977861 r3006376  
    6969
    7070== Changelog ==
     71= 1.3.1 =
     72* Bug Fixing:  Progress bar widget
     73
    7174= 1.3.0 =
    7275* Improvement: Compatible with flex container widget
  • gum-elementor-addon/trunk/widgets/blog_image.php

    r2967404 r3006376  
    391391
    392392    $post = get_post();
    393     if( empty( $post ) || $post->post_type !='post') return '';
    394 
     393    if( empty( $post )) return '';
    395394
    396395    $thumb_id = get_post_thumbnail_id( $post->ID );
     396    if(!$thumb_id) return '';
     397
    397398    $image = ['id' => $thumb_id ];
    398399    $settings['thumbnail'] = $image;
  • gum-elementor-addon/trunk/widgets/blog_post_meta.php

    r2964684 r3006376  
    11881188    $this->add_render_attribute( 'list_wrapper', 'class', 'posts-meta');
    11891189
    1190     echo '<ul '.$this->get_render_attribute_string( 'list_wrapper' ).'>'.join('<li class="meta-divider">'.$divider.'</li>',$rows_html).'</ul>';
     1190    if(count($rows_html)){
     1191      echo '<ul '.$this->get_render_attribute_string( 'list_wrapper' ).'>'.join('<li class="meta-divider">'.$divider.'</li>',$rows_html).'</ul>';
     1192    }
    11911193
    11921194  }
  • gum-elementor-addon/trunk/widgets/progress.php

    r2977861 r3006376  
    1616  public function __construct( ) {
    1717
     18
    1819        add_action( 'elementor/element/progress/section_progress_style/after_section_end', array( $this, 'register_section_progress_style_controls') , 999 );
    1920
    2021        add_action( 'elementor/element/progress/section_title/after_section_end', array( $this, 'register_section_title_controls') , 999 );
     22
    2123
    2224  }
     
    4547
    4648   $element->start_injection( [
    47       'of' => 'inner_text_heading',
     49      'of' => 'bar_inline_color',
    4850    ] );
    4951
Note: See TracChangeset for help on using the changeset viewer.