Plugin Directory

Changeset 3162163


Ignore:
Timestamp:
10/03/2024 01:26:25 PM (16 months ago)
Author:
website366
Message:

#update 1.5

Location:
all-in-one-contact-buttons-wpshare247/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • all-in-one-contact-buttons-wpshare247/trunk/all-in-one-contact-buttons-wpshare247.php

    r3159915 r3162163  
    44 * Plugin URI: https://wpshare247.com/
    55 * Description: Floating click to contact buttons All-In-One
    6  * Version: 1.4
     6 * Version: 1.5
    77 * Author: Wpshare247.com
    88 * Author URI: https://wpshare247.com
  • all-in-one-contact-buttons-wpshare247/trunk/inc/class.setting.page.php

    r3159915 r3162163  
    7373       
    7474        public function register_admin_css_js(){
     75            $ver = time();
     76           
    7577            wp_enqueue_script('jquery-ui-sortable');
    7678            wp_enqueue_style( 'wp-color-picker' );
     
    8385
    8486
    85             wp_enqueue_style( WS247_AIO_CT_BUTTON_PREFIX.'aio_ct_button_admin_css', WS247_AIO_CT_BUTTON_PLUGIN_INC_ASSETS_URL . '/aio_ct_button_admin_css.css', false, '1.0' );
    86 
    87             wp_enqueue_script( WS247_AIO_CT_BUTTON_PREFIX.'admin_aio_ct_button', WS247_AIO_CT_BUTTON_PLUGIN_INC_ASSETS_URL . '/admin_aio_ct_button.js', array('jquery'), '1.0' );
     87            wp_enqueue_style( WS247_AIO_CT_BUTTON_PREFIX.'aio_ct_button_admin_css', WS247_AIO_CT_BUTTON_PLUGIN_INC_ASSETS_URL . '/aio_ct_button_admin_css.css', false, $ver );
     88
     89            wp_enqueue_script( WS247_AIO_CT_BUTTON_PREFIX.'admin_aio_ct_button', WS247_AIO_CT_BUTTON_PLUGIN_INC_ASSETS_URL . '/admin_aio_ct_button.js', array('jquery'), $ver );
    8890        }
    8991       
  • all-in-one-contact-buttons-wpshare247/trunk/inc/theme_functions.php

    r3159915 r3162163  
    259259                                    $link = 'tel:'.$link;
    260260                                }
    261                                 if($field_name=='company_zalo'){
     261                                if($field_name=='company_zalo' && strpos($link, 'zalo.me') === false){
    262262                                    $link = 'https://zalo.me/'.$link;
     263                                }
     264                                if($field_name=='stt_email'){
     265                                    $link = 'mailto:'.$link;
     266                                }
     267                                if($field_name=='icon_google_map'){
     268                                    $link = urldecode('https://maps.google.com/?q='. $link);
    263269                                }
    264270                            ?>
  • all-in-one-contact-buttons-wpshare247/trunk/readme.txt

    r3159915 r3162163  
    66Tested up to: 6.6.2
    77Requires PHP: 5.6
    8 Stable tag: 1.4
     8Stable tag: 1.5
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    145145* New action, filter
    146146
     147= 1.5 =
     148* Update: link zalo, email, google
     149
    147150== Upgrade Notice ==
    148151
Note: See TracChangeset for help on using the changeset viewer.