WhatsHelp Chat Button - Version 1.0

Version Description

  • Welcome our very first version of the plugin!

=

Download this release

Release Info

Developer whatshelp
Plugin Icon 128x128 WhatsHelp Chat Button
Version 1.0
Comparing to
See all releases

Version 1.0

assets/banner_772x250.png ADDED
Binary file
assets/icon-128x128.png ADDED
Binary file
assets/screenshot-1.png ADDED
Binary file
assets/screenshot-2.png ADDED
Binary file
assets/screenshot-3.png ADDED
Binary file
img/wh-icon.ico ADDED
Binary file
img/whatshelp_logo.png ADDED
Binary file
readme.txt ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === WhatsHelp Chat Button ===
2
+ Contributors: WhatsHelp
3
+ Donate link: https://whatshelp.io/
4
+ Tags: whatsapp, facebook messenger, viber, whatshelp, messaging, chating, zopim live chat, customer service, livechat, olark, online support, zendesk
5
+ Requires at least: 2.7
6
+ Tested up to: 4.6
7
+ Stable tag: 1.0
8
+ License: GPLv2 or later
9
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
+
11
+ 100% FREE website widget for chatting with your visitors via WhatsApp, Facebook Messenger and other chat apps.
12
+
13
+ == Description ==
14
+
15
+ The Chat button by WhatsHelp takes website visitor directly to the messaging app such as Facebook Messenger or WhatsApp and allows them to initiate a conversation with you. After that, both you and your customers can follow up the conversation anytime and anywhere!
16
+
17
+
18
+ = Why should I use Chat button? =
19
+
20
+ Today messaging apps have over 2 billion active users monthly! These apps are convenient as many customers already use them in their daily lives and are comfortable and familiar with their use. They make customer service more personalized and efficient than ever before by enabling direct communication between customers and brands.
21
+
22
+ **Key Benefits**
23
+ * Keep the conversations going even if visitors leave your website.
24
+ * View customers’ profiles, get closer to and engage with them to increase sales.
25
+ * Support customers anywhere, anytime, even on your mobile phone.
26
+
27
+
28
+ = Amazing features =
29
+
30
+ * **Plugs Right In:** Installs in less than 60 seconds, and can be custom configured to match your personal style.
31
+ * **Works everywhere:** Works on desktops, tablets and mobile devices.
32
+ * **Messaging Apps:** Supports Facebook Messenger, WhatsApp, Viber, Snapchat, Line, WeChat, Telegram.
33
+ * **One or Several Channels:** Set up the only one messaging app or add several channels.
34
+ * **Greeting message:** Proactive greeting message increases chats up to 10X.
35
+ * **Multilingual:** Supports multilingual sites and multisite networks.
36
+ * **Super fast and lightweight:** Buttons' SVG icons are super-lightweight and pixel-perfect at any display resolution.
37
+
38
+
39
+ = Why WhatHelp? =
40
+
41
+ * Chat button is **100% free**, forever.
42
+ * We’re clean and cool. Our chat widget is simple, beautiful and convenient.
43
+ * No signup, no login, no account necessary.
44
+
45
+
46
+ = Support =
47
+
48
+ WhatsHelp offers 24x7 support, send us an email at hello@whatshelp.io.
49
+
50
+ Don't have a WhatsHelp account? <a href="https://whatshelp.io/?utm_campaign=wordpress_plugin&utm_medium=widget&utm_source=wordpress">Create one for free here!</a>
51
+
52
+
53
+ == Installation ==
54
+
55
+ Adding WhatsHelp Chat Button to your Wordpress site is really easy, follow these steps :
56
+
57
+ * Install and activate the WhatsHelp Plugin through the 'Plugins' menu in WordPress.
58
+ * After installation, click the WhatsHelp section in the left toolbar.
59
+ * Create you own button at <a href="https://whatshelp.io/widget/?utm_campaign=wordpress_plugin&utm_medium=widget&utm_source=wordpress" target="_blank">www.whatshelp.io/widget</a> and copy the button code.
60
+ * Go back to Wordpress console, paste the code and press Save changes.
61
+ * Done!
62
+
63
+ **For the full feature list and additional information check https://whatshelp.io**
64
+
65
+
66
+ == Frequently Asked Questions ==
67
+
68
+ **For additional information check https://whatshelp.io**
69
+
70
+
71
+
72
+ == Screenshots ==
73
+
74
+ 1. WhatsHelp Chat Button.
75
+
76
+ 2. Facebook and WhatsApp chat for website.
77
+
78
+ 3. Greeting message.
79
+
80
+
81
+ == Changelog ==
82
+
83
+ = 1.0 =
84
+ * Welcome our very first version of the plugin!
85
+
86
+
87
+ == Upgrade Notice ==
88
+
89
+
90
+ == Arbitrary section ==
whatshelp.php ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Plugin Name: WhatsHelp Chat Button
4
+ * Description: The Chat button by WhatsHelp takes website visitor directly to the messaging app such as Facebook Messenger or WhatsApp and allows them to initiate a conversation with you. After that, both you and your customer can follow up the conversation anytime and anywhere!
5
+ * Version: 1.0.0
6
+ * Author: Whatshelp
7
+ * Author URI: https://whatshelp.io
8
+ */
9
+
10
+ function whatshelp_setup()
11
+ {
12
+ //add_submenu_page('options-general.php', __('Whatshelp Chat Button', 'whatshelp'), __('Whatshelp Chat Button', 'whatshelp'), 'manage_options', 'options-whatshelp', 'whatshelp_settings');
13
+ add_menu_page(__('WhatsHelp', 'whatshelp'), __('WhatsHelp', 'whatshelp'), 8, basename(__FILE__), 'whatshelp_settings', plugin_dir_url(__FILE__) . 'img/wh-icon.ico');
14
+ register_setting('whatshelp', 'whatshelp-code');
15
+ }
16
+
17
+ // Display settings page
18
+ function whatshelp_settings()
19
+ {
20
+ $safeLogoURL = htmlspecialchars(get_whatshelp_logo_url());
21
+ $safeSiteURL = htmlspecialchars(get_whatshelp_url());
22
+
23
+ echo <<<EOTEXT
24
+ <a href="{$safeSiteURL}" target="_blank">
25
+ <img src="{$safeLogoURL}" style="max-width: 250px;"></a>
26
+ EOTEXT;
27
+
28
+ if (get_option('whatshelp-code')) {
29
+ echo <<<EOTEXT
30
+ <p style="font-size: 14px;">
31
+ Check your <a href="/" target="_blank">website</a> to see if the Chat Button is present.
32
+ <br>
33
+ You can always get a new code at <a href="{$safeSiteURL}" target="_blank">www.whatshelp.io/widget</a> and paste it in the form below.
34
+ </p>
35
+ EOTEXT;
36
+ } else {
37
+ echo <<<EOTEXT
38
+ <h3>Step 1: Get button code</h3>
39
+ <p style="font-size: 14px;">
40
+ To install Chat Button, please go to <strong><a href="{$safeSiteURL}" target="_blank">www.whatshelp.io/widget</a></strong> and get the button code.
41
+ </p>
42
+ <h3>Step 2: Paste the code</h3>
43
+ <p style="font-size: 14px;">Copy and paste button code into the form below:</p>
44
+ EOTEXT;
45
+ }
46
+
47
+ echo '<form action="options.php" method="POST">';
48
+ settings_fields('whatshelp');
49
+ do_settings_sections('whatshelp');
50
+ echo '<textarea cols="80" rows="14" name="whatshelp-code">' . esc_attr(get_option('whatshelp-code')) . '</textarea>';
51
+ submit_button();
52
+ echo '</form>';
53
+ }
54
+
55
+ function get_whatshelp_url()
56
+ {
57
+ return 'https://whatshelp.io/widget/?utm_campaign=wordpress_plugin&utm_medium=widget&utm_source=wordpress';
58
+ }
59
+
60
+ function get_whatshelp_logo_url()
61
+ {
62
+ return plugin_dir_url(__FILE__) . 'img/whatshelp_logo.png';
63
+ }
64
+
65
+ function add_whatshelp_code()
66
+ {
67
+ echo get_option('whatshelp-code');
68
+ }
69
+
70
+ // Add settings page and register settings with WordPress
71
+ add_action('admin_menu', 'whatshelp_setup');
72
+ // Add the code to footer
73
+ add_action('wp_footer', 'add_whatshelp_code');