Plugin Directory

Changeset 3480888


Ignore:
Timestamp:
03/12/2026 07:35:11 AM (3 weeks ago)
Author:
bhvreddy
Message:

Release 4.38

Location:
click-to-chat-for-whatsapp
Files:
278 added
8 edited

Legend:

Unmodified
Added
Removed
  • click-to-chat-for-whatsapp/trunk/click-to-chat.php

    r3452866 r3480888  
    88 * Plugin URI:  https://wordpress.org/plugins/click-to-chat-for-whatsapp/
    99 * Description: Lets make your Web page visitors contact you through WhatsApp with a single click/tap
    10  * Version:     4.37
     10 * Version:     4.38
    1111 * Author:      HoliThemes
    1212 * Author URI:  https://holithemes.com/plugins/click-to-chat/
     
    2222// ctc - Version - update version at readme 'Stable tag'.
    2323if ( ! defined( 'HT_CTC_VERSION' ) ) {
    24     define( 'HT_CTC_VERSION', '4.37' );
     24    define( 'HT_CTC_VERSION', '4.38' );
    2525}
    2626
  • click-to-chat-for-whatsapp/trunk/new/admin/admin_commons/admin-sidebar-content.php

    r3452866 r3480888  
    6262                        <div class="collapsible-body"> 
    6363                            <p class="description">📝 Form Filling</p>
     64                            <p class="description">&emsp;🔤 Text, 📧 Email</p>
     65                            <p class="description">&emsp;🔽 Select, 📄 Text Area</p>
     66                            <p class="description">&emsp;📅 Date, 📆 Date & Time</p>
     67                            <p class="description">&emsp;🌍 International Number</p>
    6468                            <p class="description">👥 Multi-Agent Support</p>
    65                             <p class="description">&emsp;⏳ Different time ranges</p>
    66                             <p class="description">&emsp;🔒 Hide agent when offline</p>
    67                             <p class="description">&emsp;⏰ Display offline agent with next available time</p>
     69                            <p class="description">&emsp;⏳ Custom Time Ranges</p>
     70                            <p class="description">&emsp;🔒 Hide Offline Agents</p>
     71                            <p class="description">&emsp;⏰ Show Next Available Time</p>
    6872                            <p class="description">🎲 Random Numbers</p>
    69                             <p class="description">🌍 Country-Based Display (New)</p>
     73                            <p class="description">🌍 Country-Based Display</p>
    7074                            <p class="description">📊 Google Ads Conversion Tracking</p>
    71                             <p class="description">🕒 Business Hours</p>
    72                             <p class="description">&emsp;🔒 Hide when offline</p>
    73                             <p class="description">&emsp;📞 Change WhatsApp number when offline</p>
    74                             <p class="description">&emsp;✨ Change Call-to-Action when offline</p>
    75                             <p class="description">⏲️ Display After Delays</p>
     75                            <p class="description">� Meta Conversion Tracking</p>
     76                            <p class="description">�🕒 Business Hours</p>
     77                            <p class="description">&emsp;🔒 Hide When Offline</p>
     78                            <p class="description">&emsp;📞 Offline Alternate Number</p>
     79                            <p class="description">&emsp;✨ Offline Call-to-Action</p>
     80                            <p class="description">⏲️ Display Triggers</p>
    7681                            <p class="description">&emsp;⏱️ Time Delay</p>
    77                             <p class="description">&emsp;🖱️ Scroll Delay</p>
    78                             <p class="description">🔄 Display Based On:</p>
    79                             <p class="description">&emsp;📅 Selected days in a week</p>
    80                             <p class="description">&emsp;🕓 Selected time range in a day</p>
    81                             <p class="description">&emsp;👤 Website visitor login status</p>
     82                            <p class="description">&emsp;🖱️ Scroll Depth</p>
     83                            <p class="description">🔄 Display Based On</p>
     84                            <p class="description">&emsp;📅 Days of Week</p>
     85                            <p class="description">&emsp;🕓 Time of Day</p>
     86                            <p class="description">&emsp;👤 User Login Status</p>
    8287                            <p class="description">🌐 Dynamic variables for Webhooks</p>
    8388                            <p class="description">🔗 Custom URL</p>
    8489                            <p class="description">📍 Fixed/Absolute Position Types</p>
    85                             <p class="description">👋 Greetings Actions:</p>
    86                             <p class="description">&emsp;⏰ Time-based</p>
    87                             <p class="description">&emsp;🖱️ Scroll-based</p>
    88                             <p class="description">&emsp;🖱️ Click-based</p>
    89                             <p class="description">&emsp;👁️ Viewport-based</p>
    90                             <p class="description">⚙️ Page Level Settings:</p>
     90                            <p class="description">👋 Greetings Actions</p>
     91                            <p class="description">&emsp;⏰ Time-Based</p>
     92                            <p class="description">&emsp;🖱️ Scroll-Based</p>
     93                            <p class="description">&emsp;🖱️ Click-Based</p>
     94                            <p class="description">&emsp;👁️ Viewport-Based</p>
     95                            <p class="description">⚙️ Page-Level Settings</p>
    9196                            <p class="description">&emsp;🎨 Style adjustments</p>
    9297                            <p class="description">&emsp;⏲️ Time/Scroll-based triggers</p>
  • click-to-chat-for-whatsapp/trunk/new/admin/db/class-ht-ctc-db.php

    r3452866 r3480888  
    110110                );
    111111
    112                 $values['g_an_param_3'] = array(
     112                $values['g_an_param_3']     = array(
    113113                    'key'   => 'url',
    114114                    'value' => '{url}',
    115115                );
     116                $values['g_an_param_order'] = '4';
    116117
    117118                $values['gtm']            = '1';
     
    147148                );
    148149
    149                 $values['gtm_param_5'] = array(
     150                $values['gtm_param_5']     = array(
    150151                    'key'   => 'ref',
    151152                    'value' => 'dataLayer push',
    152153                );
     154                $values['gtm_param_order'] = '6';
    153155
    154156                $values['fb_pixel']                  = '1';
     
    180182                );
    181183
    182                 $values['pixel_param_4'] = array(
     184                $values['pixel_param_4']     = array(
    183185                    'key'   => 'URL',
    184186                    'value' => '{url}',
    185187                );
     188                $values['pixel_param_order'] = '5';
    186189
    187190            }
  • click-to-chat-for-whatsapp/trunk/new/inc/class-ht-ctc-register.php

    r3452866 r3480888  
    9292                delete_option( 'ht_ctc_code_blocks' );
    9393                delete_option( 'ht_ctc_woo_options' );
     94                delete_option( 'ht_ctc_admin_settings' );
    9495
    9596                // deletes custom styles, ht_ctc_share, ht_ctc_switch
  • click-to-chat-for-whatsapp/trunk/new/inc/greetings/class-ht-ctc-chat-greetings.php

    r3452866 r3480888  
    168168            $g_close_button_styles = "position:absolute; top:0; $g_close_button_position:0; cursor:pointer; padding:5px; margin:4px; border-radius:50%; background-color: unset !important; z-index: 9999; line-height: 1;";
    169169
     170            include_once HT_CTC_PLUGIN_DIR . 'new/admin/db/defaults/class-ht-ctc-defaults-greetings.php';
     171
     172            $greetings_fallback_values  = array();
     173            $g1_fallback_values         = array();
     174            $g2_fallback_values         = array();
     175            $g_settings_fallback_values = array();
     176
     177            // check if class exists
     178            if ( class_exists( 'HT_CTC_Defaults_Greetings' ) ) {
     179
     180                $default_greetings = new HT_CTC_Defaults_Greetings();
     181
     182                // if greetings function exist in class
     183                // if ( method_exists( $default_greetings, 'greetings' ) ) {
     184                // $greetings_fallback_values = $default_greetings->greetings();
     185                // }
     186
     187                $greetings_fallback_values  = $default_greetings->greetings;
     188                $g1_fallback_values         = $default_greetings->g_1;
     189                $g2_fallback_values         = $default_greetings->g_2;
     190                $g_settings_fallback_values = $default_greetings->g_settings;
     191
     192            }
     193
    170194            /**
    171195             * If desktop and mobile have different settings and different position (left/right)
  • click-to-chat-for-whatsapp/trunk/new/inc/styles/style-6.php

    r3452866 r3480888  
    2323
    2424if ( '' !== $s6_txt_color ) {
    25     $s6_styles .= "color: '.$s6_txt_color.'; ";
     25    $s6_styles .= 'color: ' . $s6_txt_color . '; ';
    2626}
    2727if ( '' !== $s6_txt_decoration ) {
  • click-to-chat-for-whatsapp/trunk/new/inc/styles/style-7_1.php

    r3452866 r3480888  
    105105    if ( 'yes' === $is_ctc_admin ) {
    106106        $s7_icon_padding_css .= 'padding: 12px; border-radius:25px;';
    107         $s7_cta_css          .= "$s7_hover_cta_padding_css";
     107        // $s7_border_size
     108        // $s7_icon_padding_css .= "padding: $s7_border_size; border-radius:25px;";
     109        $s7_cta_css .= "$s7_hover_cta_padding_css";
    108110    } else {
     111        // $s7_icon_padding_css .= "padding: $s7_border_size; border-radius:25px;";
    109112        $s7_cta_css .= 'padding: 1px 16px;';
     113        // $s7_cta_css          .= "$s7_hover_cta_padding_css";
    110114    }
    111115
  • click-to-chat-for-whatsapp/trunk/readme.txt

    r3467352 r3480888  
    44Requires PHP: 5.6
    55Contributors: HoliThemes
    6 Stable tag: 4.37
     6Stable tag: 4.38
    77Tags: whatsapp, whatsapp business, click to chat, whatsapp chat, WooCommerce WhatsApp
    88License: GPLv2 or later
     
    401401** WhatsApp number: 16123456789 **
    402402
    403 (WhatsApp Number)[https://holithemes.com/plugins/click-to-chat/whatsapp-number/]
     403[WhatsApp Number](https://holithemes.com/plugins/click-to-chat/whatsapp-number/)
    404404
    405405
     
    526526= AMP Compatibility =
    527527
    528 Click to Chat is Compatible with (AMP)[https://wordpress.org/plugins/amp/] plugin. AMP won't load plugins JavaScript files so limited functionality available.
     528Click to Chat is Compatible with [AMP](https://wordpress.org/plugins/amp/) plugin. AMP won't load plugins JavaScript files so limited functionality available.
    529529
    530530= 🔧 Basic Troubleshooting =
     
    535535    * CDN cache (Cache invalidation)
    536536* Check Display settings
    537 * (page level settings)[https://holithemes.com/plugins/click-to-chat/change-values-at-page-level/]
     537* [page level settings](https://holithemes.com/plugins/click-to-chat/change-values-at-page-level/)
    538538
    539539✍️ For any queries, please contact us.
     
    578578== Changelog ==
    579579
     580= 4.38 =
     581* Fix: Style 6 initial color not applied.
     582* Fix: Greetings dialog loads fallback values if not found in the database.
     583
    580584= 4.37 =
    581585* Fix: Webhook not working with some integration tools.
Note: See TracChangeset for help on using the changeset viewer.