Plugin Directory

Changeset 2965786


Ignore:
Timestamp:
09/12/2023 10:14:31 AM (2 years ago)
Author:
gingerplugins
Message:

Update to version 1.2.1 from GitHub

Location:
sticky-chat-widget
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • sticky-chat-widget/tags/1.2.1/includes/front-end.php

    r2965621 r2965786  
    229229    public function get_setting($postId)
    230230    {
     231        $defaultWidgetSettings = [
     232            'view'                          => 'icon_view',
     233            'chat_icon'                     => "chat-line",
     234            'list_view_title'               => 'Welcome!',
     235            'list_view_subtitle'            => 'How would you like to contact us?',
     236            'list_title_bg'                 => '#1c5fc6',
     237            'list_title_color'              => '#ffffff',
     238            'bg_color'                      => '#1c5fc6',
     239            'interaction_bg_color'          => '#1c5fc6',
     240            'text_color'                    => '#ffffff',
     241            'interaction_text_color'        => '#ffffff',
     242            'icon_size'                     => "56",
     243            'border_radius'                 => "28",
     244            'call_to_action'                => 'Contact Us',
     245            'font_family'                   => '',
     246            'menu_animation'                => 'ginger-menu-slide',
     247            'animation'                     => 'ginger-btn-shockwave',
     248            'position'                      => 'right',
     249            'menu_view'                     => 'vertical',
     250            'default_state'                 => 'click',
     251            'show_close_button'             => 'yes',
     252            'hide_menu_after_close_click'   => 'yes',
     253        ];
    231254        $widgetSettings = get_post_meta($postId, "widget_settings", true);
     255        $widgetSettings = shortcode_atts($defaultWidgetSettings, $widgetSettings);
    232256
    233257        $icons          = Ginger_Social_Icons::get_chat_icons();
  • sticky-chat-widget/tags/1.2.1/index.php

    r2965621 r2965786  
    33    Plugin Name: Sticky Chat Widget
    44    Description: Connect with your valuable website visitors through Sticky Chat Widget that consist of current trendy chat options
    5     Version:     1.2
     5    Version:     1.2.1
    66    Author: Ginger Plugins
    77    Author URI: https://www.gingerplugins.com/downloads/sticky-chat-widget/
     
    2222
    2323if (!defined('GSB_PLUGIN_VERSION')) {
    24     define("GSB_PLUGIN_VERSION", "1.2");
     24    define("GSB_PLUGIN_VERSION", "1.2.1");
    2525}
    2626
  • sticky-chat-widget/tags/1.2.1/readme.txt

    r2965621 r2965786  
    44Requires at least: 4.0
    55Tested up to: 6.3
    6 Stable tag: 1.2
     6Stable tag: 1.2.1
    77Requires PHP: 5.4
    88Plugin URI: https://www.gingerplugins.com/downloads/sticky-chat-widget/
     
    135135== Changelog ==
    136136
     137= 1.2.1 =
     138Bug fixes
     139
    137140= 1.2 =
    138141New Icon Views
  • sticky-chat-widget/trunk/includes/front-end.php

    r2965621 r2965786  
    229229    public function get_setting($postId)
    230230    {
     231        $defaultWidgetSettings = [
     232            'view'                          => 'icon_view',
     233            'chat_icon'                     => "chat-line",
     234            'list_view_title'               => 'Welcome!',
     235            'list_view_subtitle'            => 'How would you like to contact us?',
     236            'list_title_bg'                 => '#1c5fc6',
     237            'list_title_color'              => '#ffffff',
     238            'bg_color'                      => '#1c5fc6',
     239            'interaction_bg_color'          => '#1c5fc6',
     240            'text_color'                    => '#ffffff',
     241            'interaction_text_color'        => '#ffffff',
     242            'icon_size'                     => "56",
     243            'border_radius'                 => "28",
     244            'call_to_action'                => 'Contact Us',
     245            'font_family'                   => '',
     246            'menu_animation'                => 'ginger-menu-slide',
     247            'animation'                     => 'ginger-btn-shockwave',
     248            'position'                      => 'right',
     249            'menu_view'                     => 'vertical',
     250            'default_state'                 => 'click',
     251            'show_close_button'             => 'yes',
     252            'hide_menu_after_close_click'   => 'yes',
     253        ];
    231254        $widgetSettings = get_post_meta($postId, "widget_settings", true);
     255        $widgetSettings = shortcode_atts($defaultWidgetSettings, $widgetSettings);
    232256
    233257        $icons          = Ginger_Social_Icons::get_chat_icons();
  • sticky-chat-widget/trunk/index.php

    r2965621 r2965786  
    33    Plugin Name: Sticky Chat Widget
    44    Description: Connect with your valuable website visitors through Sticky Chat Widget that consist of current trendy chat options
    5     Version:     1.2
     5    Version:     1.2.1
    66    Author: Ginger Plugins
    77    Author URI: https://www.gingerplugins.com/downloads/sticky-chat-widget/
     
    2222
    2323if (!defined('GSB_PLUGIN_VERSION')) {
    24     define("GSB_PLUGIN_VERSION", "1.2");
     24    define("GSB_PLUGIN_VERSION", "1.2.1");
    2525}
    2626
  • sticky-chat-widget/trunk/readme.txt

    r2965621 r2965786  
    44Requires at least: 4.0
    55Tested up to: 6.3
    6 Stable tag: 1.2
     6Stable tag: 1.2.1
    77Requires PHP: 5.4
    88Plugin URI: https://www.gingerplugins.com/downloads/sticky-chat-widget/
     
    135135== Changelog ==
    136136
     137= 1.2.1 =
     138Bug fixes
     139
    137140= 1.2 =
    138141New Icon Views
Note: See TracChangeset for help on using the changeset viewer.