Plugin Directory

Changeset 3063993

Timestamp:
04/03/2024 05:35:12 PM (4 months ago)
Author:
jason_the_adams
Message:

Update to version 2.0.1 from GitHub

Location:
givewp-donation-widgets-for-elementor
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • givewp-donation-widgets-for-elementor/tags/2.0.1/changelog.txt

    r3035752 r3063993  
    11*** GiveWP Donation Widgets for Elementor changelog ***
    22
     3
     4
    35-## 2.0.0 February 14th, 2024 ###
    46- New: Added compatibility with the GiveWP visual form builder
  • givewp-donation-widgets-for-elementor/tags/2.0.1/givewp-elementor-widgets.php

    r3035752 r3063993  
    44 * Plugin URI:      https://givewp.com/givewp-elementor-widgets
    55 * Description:     All GiveWP shortcodes as Elementor Widgets
    6  * Version:         2.0.0
     6 * Version:         2.0.
    77 * Requires at least: 6.0
    88 * Requires PHP:    7.2
     
    104104        // Defines addon version number for easy reference.
    105105        if (!defined('GiveWP_DW_4_Elementor_VERSION')) {
    106             define('GiveWP_DW_4_Elementor_VERSION', '2.0.0');
     106            define('GiveWP_DW_4_Elementor_VERSION', '2.0.');
    107107        }
    108108
  • givewp-donation-widgets-for-elementor/tags/2.0.1/readme.txt

    r3035752 r3063993  
    55Requires at least: 5.0
    66Tested up to: 6.4
    7 Stable tag: 2.0.0
     7Stable tag: 2.0.
    88Requires Give: 3.0.0
    99Requires PHP: 7.2
     
    9898== Changelog ==
    9999
     100
     101
     102
    100103### 2.0.0 February 14th, 2024 ###
    101104* New: Added compatibility with the GiveWP visual form builder
  • givewp-donation-widgets-for-elementor/tags/2.0.1/widgets/give_form_grid.php

    r3035752 r3063993  
    7474     *
    7575     * Adds different input fields to allow the user to change and customize the widget settings.
    76      *
     76     *
     77     * @since 2.0.1 Changes 'donate_button_text_color' default value and removes 'show_bar' and 'donate_button_background_color' options as those don't exist in the form grid shortcode.
    7778     * @since 1.0.0
    7879     * @access protected
     
    306307        );
    307308
    308         $this->add_control(
    309             'show_bar',
    310             [
    311                 'label' => __( 'Show Progress Bar', 'dw4elementor' ),
    312                 'type' => \Elementor\Controls_Manager::SWITCHER,
    313                 'description' => __( 'Show Progress Bar.', 'dw4elementor' ),
    314                 'label_on' => __( 'Show', 'dw4elementor' ),
    315                 'label_off' => __( 'Hide', 'dw4elementor' ),
    316                 'default' => 'yes',
    317                 'condition' => [
    318                     'show_goal' => 'yes'
    319                 ]
    320             ]
    321         );
    322 
    323309        $this->add_control(
    324310            'show_featured_image',
     
    364350                'label_on' => __( 'Show', 'dw4elementor' ),
    365351                'label_off' => __( 'Hide', 'dw4elementor' ),
    366                 'default' => 'no',
    367             ]
    368         );
    369 
    370         $this->add_control(
    371             'donate_button_background_color',
    372             [
    373                 'label' => __( 'Donate Button Background Color', 'dw4elementor' ),
    374                 'type' => \Elementor\Controls_Manager::COLOR,
    375                 'default' => '#66bb6a',
    376                 'condition' => [
    377                     'show_donate_button' => 'yes'
    378                 ]
     352                'default' => 'yes',
    379353            ]
    380354        );
     
    385359                'label' => __( 'Donate Button Text Color', 'dw4elementor' ),
    386360                'type' => \Elementor\Controls_Manager::COLOR,
    387                 'default' => '#fff',
     361                'default' => '#',
    388362                'condition' => [
    389363                    'show_donate_button' => 'yes'
    390364                ],
    391 
    392365            ]
    393366        );
     
    433406     *
    434407     * Written in PHP and used to generate the final HTML.
    435      *
     408     *
     409     * @since 2.0.1 Changes 'donate_button_text_color' default value and removes 'show_bar' and 'donate_button_background_color' options as those don't exist in the form grid shortcode.
    436410     * @since 1.0.0
    437411     * @access protected
     
    454428        $show_title = esc_html( $settings['show_title'] );
    455429        $show_goal = esc_html( $settings['show_goal'] );
    456         $show_bar = esc_html( $settings['show_bar'] );
    457430        $show_excerpt = esc_html( $settings['show_excerpt'] );
    458431        $excerpt_length = esc_html( $settings['excerpt_length'] );
     
    462435        $image_height = esc_html( $settings['image_height'] );
    463436        $show_donate_button = esc_html($settings['show_donate_button']);
    464         $button_bg_color = esc_html( $settings['donate_button_background_color'] );
    465437        $button_text_color = esc_html( $settings['donate_button_text_color'] );
    466438
     
    476448                tags="' . $tags . '"
    477449                show_title="' . $show_title . '"
    478                 show_goal="' . $show_goal . '"
    479                 show_bar="' . $show_bar . '"
     450                show_goal="' . $show_goal . '"               
    480451                show_excerpt="' . $show_excerpt . '"
    481452                excerpt_length="' . $excerpt_length . '"
     
    483454                image_size="' . $image_size . '"
    484455                image_height="' . $image_height . '"
    485                 show_donate_button="' . $show_donate_button . '"
    486                 donate_button_background_color="' . $button_bg_color . '"
     456                show_donate_button="' . $show_donate_button . '"                 
    487457                donate_button_text_color="' . $button_text_color . '"
    488458                display_style="' . $display_style . '"
  • givewp-donation-widgets-for-elementor/trunk/changelog.txt

    r3035752 r3063993  
    11*** GiveWP Donation Widgets for Elementor changelog ***
    22
     3
     4
    35-## 2.0.0 February 14th, 2024 ###
    46- New: Added compatibility with the GiveWP visual form builder
  • givewp-donation-widgets-for-elementor/trunk/givewp-elementor-widgets.php

    r3035752 r3063993  
    44 * Plugin URI:      https://givewp.com/givewp-elementor-widgets
    55 * Description:     All GiveWP shortcodes as Elementor Widgets
    6  * Version:         2.0.0
     6 * Version:         2.0.
    77 * Requires at least: 6.0
    88 * Requires PHP:    7.2
     
    104104        // Defines addon version number for easy reference.
    105105        if (!defined('GiveWP_DW_4_Elementor_VERSION')) {
    106             define('GiveWP_DW_4_Elementor_VERSION', '2.0.0');
     106            define('GiveWP_DW_4_Elementor_VERSION', '2.0.');
    107107        }
    108108
  • givewp-donation-widgets-for-elementor/trunk/readme.txt

    r3035752 r3063993  
    55Requires at least: 5.0
    66Tested up to: 6.4
    7 Stable tag: 2.0.0
     7Stable tag: 2.0.
    88Requires Give: 3.0.0
    99Requires PHP: 7.2
     
    9898== Changelog ==
    9999
     100
     101
     102
    100103### 2.0.0 February 14th, 2024 ###
    101104* New: Added compatibility with the GiveWP visual form builder
  • givewp-donation-widgets-for-elementor/trunk/widgets/give_form_grid.php

    r3035752 r3063993  
    7474     *
    7575     * Adds different input fields to allow the user to change and customize the widget settings.
    76      *
     76     *
     77     * @since 2.0.1 Changes 'donate_button_text_color' default value and removes 'show_bar' and 'donate_button_background_color' options as those don't exist in the form grid shortcode.
    7778     * @since 1.0.0
    7879     * @access protected
     
    306307        );
    307308
    308         $this->add_control(
    309             'show_bar',
    310             [
    311                 'label' => __( 'Show Progress Bar', 'dw4elementor' ),
    312                 'type' => \Elementor\Controls_Manager::SWITCHER,
    313                 'description' => __( 'Show Progress Bar.', 'dw4elementor' ),
    314                 'label_on' => __( 'Show', 'dw4elementor' ),
    315                 'label_off' => __( 'Hide', 'dw4elementor' ),
    316                 'default' => 'yes',
    317                 'condition' => [
    318                     'show_goal' => 'yes'
    319                 ]
    320             ]
    321         );
    322 
    323309        $this->add_control(
    324310            'show_featured_image',
     
    364350                'label_on' => __( 'Show', 'dw4elementor' ),
    365351                'label_off' => __( 'Hide', 'dw4elementor' ),
    366                 'default' => 'no',
    367             ]
    368         );
    369 
    370         $this->add_control(
    371             'donate_button_background_color',
    372             [
    373                 'label' => __( 'Donate Button Background Color', 'dw4elementor' ),
    374                 'type' => \Elementor\Controls_Manager::COLOR,
    375                 'default' => '#66bb6a',
    376                 'condition' => [
    377                     'show_donate_button' => 'yes'
    378                 ]
     352                'default' => 'yes',
    379353            ]
    380354        );
     
    385359                'label' => __( 'Donate Button Text Color', 'dw4elementor' ),
    386360                'type' => \Elementor\Controls_Manager::COLOR,
    387                 'default' => '#fff',
     361                'default' => '#',
    388362                'condition' => [
    389363                    'show_donate_button' => 'yes'
    390364                ],
    391 
    392365            ]
    393366        );
     
    433406     *
    434407     * Written in PHP and used to generate the final HTML.
    435      *
     408     *
     409     * @since 2.0.1 Changes 'donate_button_text_color' default value and removes 'show_bar' and 'donate_button_background_color' options as those don't exist in the form grid shortcode.
    436410     * @since 1.0.0
    437411     * @access protected
     
    454428        $show_title = esc_html( $settings['show_title'] );
    455429        $show_goal = esc_html( $settings['show_goal'] );
    456         $show_bar = esc_html( $settings['show_bar'] );
    457430        $show_excerpt = esc_html( $settings['show_excerpt'] );
    458431        $excerpt_length = esc_html( $settings['excerpt_length'] );
     
    462435        $image_height = esc_html( $settings['image_height'] );
    463436        $show_donate_button = esc_html($settings['show_donate_button']);
    464         $button_bg_color = esc_html( $settings['donate_button_background_color'] );
    465437        $button_text_color = esc_html( $settings['donate_button_text_color'] );
    466438
     
    476448                tags="' . $tags . '"
    477449                show_title="' . $show_title . '"
    478                 show_goal="' . $show_goal . '"
    479                 show_bar="' . $show_bar . '"
     450                show_goal="' . $show_goal . '"               
    480451                show_excerpt="' . $show_excerpt . '"
    481452                excerpt_length="' . $excerpt_length . '"
     
    483454                image_size="' . $image_size . '"
    484455                image_height="' . $image_height . '"
    485                 show_donate_button="' . $show_donate_button . '"
    486                 donate_button_background_color="' . $button_bg_color . '"
     456                show_donate_button="' . $show_donate_button . '"                 
    487457                donate_button_text_color="' . $button_text_color . '"
    488458                display_style="' . $display_style . '"
Note: See TracChangeset for help on using the changeset viewer.