WhatsApp Chat WP - Version 3.2

Version Description

Much more style option. Translation bug fixed. New beautiful and easy panel. Click Tracking using Google Analytics and Facebook Pixel WPML supported amp supported Woocommerce product page supported Hide to specific post type

Download this release

Release Info

Developer quadlayers
Plugin Icon 128x128 WhatsApp Chat WP
Version 3.2
Comparing to
See all releases

Version 3.2

css/admin-style.css ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @font-face {font-family: 'IcoMoon-free'; src: url('fonts/IcoMoon-free.ttf');}
2
+ .doar-link a {position:absolute;top:14px;right:14px;background:rgba(255,255,255,.1);padding:10px 40px 10px 10px;border-radius:0px;border:2px solid transparent; font-weight: 500;}
3
+ .doar-link a:hover {border:2px solid rgba(255,255,255,.1)}
4
+ .doar-link a:after {font-family:IcoMoon-free;content:"\e93b";position:absolute;right:12px;bottom:9px;font-size:18px}
5
+ .doar-link a {text-decoration:none;color:#fff}
6
+ .whats-title h1 {font-size:26px;padding:26px 12px 26px 64px;color:#fff;background:#075E54;font-weight:400;border-radius:3px 3px 0 0}
7
+ .whats-title h1:before{display:block;content:"";position:absolute}
8
+ .whats-title h1:before{font-family:IcoMoon-free;content:"\ea93"; color:#fff;left:28px;}
9
+ .whats-page h2.nav-tab-wrapper{background:#128C7E; margin-top:-18px; padding: 20px 12px 20px 30px; color: #fff;}
10
+ .nav-tab {margin-left: 0; margin-right: 20px; color: #fff; background: transparent; border: 0;}
11
+ .whats-page{position:relative;display:block;background:#fff;width:100%;max-width:none;margin-top:0;margin-left:-10px; min-width:300px;}
12
+ @media (max-width:782px){.whats-page{margin-left:0; max-width:calc(100% - 10px);}}
13
+ .page-container{padding:12px; background: #fff;}
14
+ .div-whats {border: 1px solid #dedede; display: block; min-height: 104px; position: relative; padding: 30px 18px 18px; background: #fff; margin-bottom: 12px;}
15
+ .div-whats h3 {font-size: 20px; margin-top: 12px;}
16
+ .div-whats p {font-size: 13px; line-height: 1.5; margin: 1em 0;}
17
+ .image-container-whats {border: 0px; height: 90px; position: absolute; width: 120px;}
18
+ .image-container-whats img{height:100%;object-fit:cover;width:100%}
19
+ .title-area-whats {margin-left: 140px; margin-right: 130px;}
20
+ .title-area-whats .codewa {background: #20B038; color: #fff; padding: 2px 4px; border-radius: 3px;}
21
+ .codewa a {color:#fff;}
22
+ @media (max-width:480px){.title-area-whats{margin-left:0!important;margin-right:0!important;margin-top:120px}}
23
+ .onoffswitch-whats {position: absolute; right: 30px; top: 40px;}
24
+ .onoffswitch-whats input[type=checkbox] {background: #dedede; box-shadow: none; border: none; width: 70px!important; height: 40px; border-radius: 3px; position: relative; transition:.4s ease left!important; margin: -4px 4px 0 0; width: 16px; min-width: 16px; -webkit-appearance: none;}
25
+ .onoffswitch-whats input[type=checkbox]:before {position: absolute; display: block; left: 4px; top: 4px; content: ''; margin: 0; width: 32px; height: 32px; background: #fff; border-radius: 2px; transition: .4s ease left;}
26
+ .onoffswitch-whats input[type=checkbox]:checked{background:#25D366}
27
+ .onoffswitch-whats input[type=checkbox]:checked:before{left:34px}
28
+ .button.submit-whats {background: #25D366; padding:15px 20px 40px 20px;border-radius:0px;border:2px solid #25D366; font-weight: 500; color: #fff; text-decoration: none; text-shadow: none; box-shadow: none; font-size: 14px; text-transform: uppercase;}
29
+ .button.submit-whats:hover {background: #128C7E; border-color: #128C7E ; letter-spacing: 2px;}
css/fonts/IcoMoon-free.ttf ADDED
Binary file
css/style.css ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @font-face {font-family: 'IcoMoon-free'; src: url('fonts/IcoMoon-free.ttf');}
2
+ #wacht a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
3
+ #wacht-leftside a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
4
+ #wacht-baixo a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
5
+ #wacht-leftside-baixo a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
6
+ #wacht-dark a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
7
+ #wacht-leftside-dark a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
8
+ #wacht-baixo-dark a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
9
+ #wacht-leftside-baixo-dark a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
10
+ #wacht-white a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
11
+ #wacht-leftside-white a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
12
+ #wacht-baixo-white a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
13
+ #wacht-leftside-baixo-white a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
14
+ #wacht-round a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
15
+ #wacht-leftside-round a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
16
+ #wacht-baixo-round a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
17
+ #wacht-leftside-baixo-round a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
18
+ #wacht-dark-round a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
19
+ #wacht-leftside-dark-round a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
20
+ #wacht-baixo-dark-round a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
21
+ #wacht-leftside-baixo-dark-round a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
22
+ #wacht-white-round a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
23
+ #wacht-leftside-white-round a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
24
+ #wacht-baixo-white-round a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
25
+ #wacht-leftside-baixo-white-round a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
26
+ #wacht a:hover {width: 200px; letter-spacing: 2px;}
27
+ #wacht-leftside a:hover {width: 200px; letter-spacing: 2px;}
28
+ #wacht-baixo a:hover {width: 200px; letter-spacing: 2px;}
29
+ #wacht-leftside-baixo a:hover {width: 200px; letter-spacing: 2px;}
30
+ #wacht-dark a:hover {width: 200px; letter-spacing: 2px;}
31
+ #wacht-leftside-dark a:hover {width: 200px; letter-spacing: 2px;}
32
+ #wacht-baixo-dark a:hover {width: 200px; letter-spacing: 2px;}
33
+ #wacht-leftside-baixo-dark a:hover {width: 200px; letter-spacing: 2px;}
34
+ #wacht-white a:hover {width: 200px; letter-spacing: 2px;}
35
+ #wacht-leftside-white a:hover {width: 200px; letter-spacing: 2px;}
36
+ #wacht-baixo-white a:hover {width: 200px; letter-spacing: 2px;}
37
+ #wacht-leftside-baixo-white a:hover {width: 200px; letter-spacing: 2px;}
38
+ #wacht a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
39
+ #wacht-leftside a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
40
+ #wacht-baixo a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
41
+ #wacht-leftside-baixo a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
42
+ #wacht-dark a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
43
+ #wacht-leftside-dark a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
44
+ #wacht-baixo-dark a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
45
+ #wacht-leftside-baixo-dark a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
46
+ #wacht-white a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
47
+ #wacht-leftside-white a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
48
+ #wacht-baixo-white a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
49
+ #wacht-leftside-baixo-white a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
50
+ #wacht-round a:hover {width: 200px; letter-spacing: 2px;}
51
+ #wacht-leftside-round a:hover {width: 200px; letter-spacing: 2px;}
52
+ #wacht-baixo-round a:hover {width: 200px; letter-spacing: 2px;}
53
+ #wacht-leftside-baixo-round a:hover {width: 200px; letter-spacing: 2px;}
54
+ #wacht-dark-round a:hover {width: 200px; letter-spacing: 2px;}
55
+ #wacht-leftside-dark-round a:hover {width: 200px; letter-spacing: 2px;}
56
+ #wacht-baixo-dark-round a:hover {width: 200px; letter-spacing: 2px;}
57
+ #wacht-leftside-baixo-dark-round a:hover {width: 200px; letter-spacing: 2px;}
58
+ #wacht-white-round a:hover {width: 200px; letter-spacing: 2px;}
59
+ #wacht-leftside-white-round a:hover {width: 200px; letter-spacing: 2px;}
60
+ #wacht-baixo-white-round a:hover {width: 200px; letter-spacing: 2px;}
61
+ #wacht-leftside-baixo-white-round a:hover {width: 200px; letter-spacing: 2px;}
62
+ #wacht-round a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
63
+ #wacht-leftside-round a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
64
+ #wacht-baixo-round a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
65
+ #wacht-leftside-baixo-round a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
66
+ #wacht-dark-round a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
67
+ #wacht-leftside-dark-round a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
68
+ #wacht-baixo-dark-round a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
69
+ #wacht-leftside-baixo-dark-round a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
70
+ #wacht-white-round a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
71
+ #wacht-leftside-white-round a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
72
+ #wacht-baixo-white-round a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
73
+ #wacht-leftside-baixo-white-round a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
74
+ a.agencia::before {display: none;}
75
+ a.agencia {background-color: rgba(0,0,0,0)!important; color: #2c2b2a!important; font-size: xx-small; top: 95%!important; max-width: 500px!important;}
76
+ a.agencia:hover {width: 100%!important; letter-spacing: 0px!important; margin-right: 0px!important;}
77
+ a.whatsapp:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
78
+ a.whatsapp {min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
79
+ a.whatsapp:hover {width: 200px;}
80
+ #wacht-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
81
+ #wacht-leftside-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
82
+ #wacht-baixo-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
83
+ #wacht-leftside-baixo-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
84
+ #wacht-dark-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
85
+ #wacht-leftside-dark-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
86
+ #wacht-baixo-dark-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
87
+ #wacht-leftside-baixo-dark-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
88
+ #wacht-white-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
89
+ #wacht-leftside-white-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
90
+ #wacht-baixo-white-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
91
+ #wacht-leftside-baixo-white-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
92
+ #wacht-round-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
93
+ #wacht-leftside-round-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
94
+ #wacht-baixo-round-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
95
+ #wacht-leftside-baixo-round-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
96
+ #wacht-dark-round-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
97
+ #wacht-leftside-dark-round-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
98
+ #wacht-baixo-dark-round-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
99
+ #wacht-leftside-baixo-dark-round-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
100
+ #wacht-white-round-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
101
+ #wacht-leftside-white-round-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
102
+ #wacht-baixo-white-round-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
103
+ #wacht-leftside-baixo-white-round-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
104
+ #wacht-mobile a:hover {width: 200px; letter-spacing: 2px;}
105
+ #wacht-leftside-mobile a:hover {width: 200px; letter-spacing: 2px;}
106
+ #wacht-baixo-mobile a:hover {width: 200px; letter-spacing: 2px;}
107
+ #wacht-leftside-baixo-mobile a:hover {width: 200px; letter-spacing: 2px;}
108
+ #wacht-dark-mobile a:hover {width: 200px; letter-spacing: 2px;}
109
+ #wacht-leftside-dark-mobile a:hover {width: 200px; letter-spacing: 2px;}
110
+ #wacht-baixo-dark-mobile a:hover {width: 200px; letter-spacing: 2px;}
111
+ #wacht-leftside-baixo-dark-mobile a:hover {width: 200px; letter-spacing: 2px;}
112
+ #wacht-white-mobile a:hover {width: 200px; letter-spacing: 2px;}
113
+ #wacht-leftside-white-mobile a:hover {width: 200px; letter-spacing: 2px;}
114
+ #wacht-baixo-white-mobile a:hover {width: 200px; letter-spacing: 2px;}
115
+ #wacht-leftside-baixo-white-mobile a:hover {width: 200px; letter-spacing: 2px;}
116
+ #wacht-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
117
+ #wacht-leftside-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
118
+ #wacht-baixo-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
119
+ #wacht-leftside-baixo-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
120
+ #wacht-dark-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
121
+ #wacht-leftside-dark-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
122
+ #wacht-baixo-dark-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
123
+ #wacht-leftside-baixo-dark-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
124
+ #wacht-white-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
125
+ #wacht-leftside-white-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
126
+ #wacht-baixo-white-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
127
+ #wacht-leftside-baixo-white-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
128
+ #wacht-round-mobile a:hover {width: 200px; letter-spacing: 2px;}
129
+ #wacht-leftside-round-mobile a:hover {width: 200px; letter-spacing: 2px;}
130
+ #wacht-baixo-round-mobile a:hover {width: 200px; letter-spacing: 2px;}
131
+ #wacht-leftside-baixo-round-mobile a:hover {width: 200px; letter-spacing: 2px;}
132
+ #wacht-dark-round-mobile a:hover {width: 200px; letter-spacing: 2px;}
133
+ #wacht-leftside-dark-round-mobile a:hover {width: 200px; letter-spacing: 2px;}
134
+ #wacht-baixo-dark-round-mobile a:hover {width: 200px; letter-spacing: 2px;}
135
+ #wacht-leftside-baixo-dark-round-mobile a:hover {width: 200px; letter-spacing: 2px;}
136
+ #wacht-white-round-mobile a:hover {width: 200px; letter-spacing: 2px;}
137
+ #wacht-leftside-white-round-mobile a:hover {width: 200px; letter-spacing: 2px;}
138
+ #wacht-baixo-white-round-mobile a:hover {width: 200px; letter-spacing: 2px;}
139
+ #wacht-leftside-baixo-white-round-mobile a:hover {width: 200px; letter-spacing: 2px;}
140
+ #wacht-round-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
141
+ #wacht-leftside-round-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
142
+ #wacht-baixo-round-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
143
+ #wacht-leftside-baixo-round-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
144
+ #wacht-dark-round-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
145
+ #wacht-leftside-dark-round-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
146
+ #wacht-baixo-dark-round-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
147
+ #wacht-leftside-baixo-dark-round-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
148
+ #wacht-white-round-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
149
+ #wacht-leftside-white-round-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
150
+ #wacht-baixo-white-round-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
151
+ #wacht-leftside-baixo-white-round-mobile a:before {font-family: "IcoMoon-free" !important; content: '\ea93' !important; margin-left: 5px; margin-right: 5px}
152
+ @media only screen and (min-width: 980px) {#wacht-mobile, #wacht-leftside-mobile, #wacht-baixo-mobile, #wacht-leftside-baixo-mobile, #wacht-dark-mobile, #wacht-leftside-dark-mobile, #wacht-baixo-dark-mobile, #wacht-leftside-baixo-dark-mobile, #wacht-white-mobile, #wacht-leftside-white-mobile, #wacht-baixo-white-mobile, #wacht-leftside-baixo-white-mobile, #wacht-leftside-baixo-white-round-mobile, #wacht-baixo-white-round-mobile, #wacht-leftside-white-round-mobile, #wacht-white-round-mobile, #wacht-leftside-baixo-dark-round-mobile, #wacht-baixo-dark-round-mobile, #wacht-leftside-dark-round-mobile, #wacht-dark-round-mobile, #wacht-leftside-baixo-round-mobile, #wacht-baixo-round-mobile, #wacht-leftside-round-mobile, #wacht-round-mobile a {display: none;}}
images/agencia.png ADDED
Binary file
images/ativo1.png ADDED
Binary file
images/ativo10.png ADDED
Binary file
images/ativo11.png ADDED
Binary file
images/ativo12.png ADDED
Binary file
images/ativo13.png ADDED
Binary file
images/ativo14.png ADDED
Binary file
images/ativo15.png ADDED
Binary file
images/ativo16.png ADDED
Binary file
images/ativo2.png ADDED
Binary file
images/ativo3.png ADDED
Binary file
images/ativo4.png ADDED
Binary file
images/ativo5.png ADDED
Binary file
images/ativo6.png ADDED
Binary file
images/ativo7.png ADDED
Binary file
images/ativo8.png ADDED
Binary file
images/ativo9.png ADDED
Binary file
images/mail.png ADDED
Binary file
images/photothumb.db ADDED
Binary file
images/whatsappicon.png ADDED
Binary file
index.php ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <?php
2
+ // Silence is golden.
3
+ ?>
languages/wac-pt_BR.mo ADDED
Binary file
languages/wac-pt_BR.po ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Whatsapp chat wp\n"
4
+ "POT-Creation-Date: 2018-06-24 14:11-0300\n"
5
+ "PO-Revision-Date: 2018-06-24 15:21-0300\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: Caporal Mkt Digital <agencia@caporalmktdigital.com.br>\n"
8
+ "Language: pt_BR\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.9\n"
13
+ "X-Poedit-Basepath: ../..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
15
+ "X-Poedit-KeywordsList: _e;__\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: trunk/whatsapp-chat.php:35
20
+ msgid "Like it? Consider a Donation!"
21
+ msgstr "Gostou? Considere ajudar!"
22
+
23
+ #: trunk/whatsapp-chat.php:38
24
+ msgid "Customize your button"
25
+ msgstr "Personalize seu botão"
26
+
27
+ #: trunk/whatsapp-chat.php:39
28
+ msgid "Support"
29
+ msgstr "Suporte"
30
+
31
+ #: trunk/whatsapp-chat.php:40
32
+ msgid "Review"
33
+ msgstr "Avaliação"
34
+
35
+ #: trunk/whatsapp-chat.php:41 trunk/whatsapp-chat.php:296
36
+ msgid "Shortcode"
37
+ msgstr "Shortcode"
38
+
39
+ #: trunk/whatsapp-chat.php:42
40
+ msgid "Developer"
41
+ msgstr "Desenvolvedor"
42
+
43
+ #: trunk/whatsapp-chat.php:55
44
+ msgid "WhatsApp Phone Number"
45
+ msgstr "Número WhatsApp"
46
+
47
+ #: trunk/whatsapp-chat.php:56
48
+ msgid "Full phone number in international format. Example:"
49
+ msgstr "Entre com seu número completo no formato internacional. Exemplo:"
50
+
51
+ #: trunk/whatsapp-chat.php:56
52
+ msgid "+155523456789"
53
+ msgstr "+551233333333"
54
+
55
+ #: trunk/whatsapp-chat.php:67
56
+ msgid "Message to start chat"
57
+ msgstr "Mensagem para começar chat"
58
+
59
+ #: trunk/whatsapp-chat.php:68
60
+ msgid ""
61
+ "Pre-filled message that will automatically appear in the text field of a "
62
+ "chat. Example:"
63
+ msgstr ""
64
+ "A mensagem será preenchida automaticamente para iniciar o chat. Exemplo:"
65
+
66
+ #: trunk/whatsapp-chat.php:69
67
+ msgid "Hello! I am interested in your service"
68
+ msgstr "Olá, estou interessado em seu serviço"
69
+
70
+ #: trunk/whatsapp-chat.php:80
71
+ msgid "Edit button"
72
+ msgstr "Editar botão"
73
+
74
+ #: trunk/whatsapp-chat.php:81
75
+ msgid "Customize your whatsapp chat message. Example:"
76
+ msgstr "Personalize sua mensagem do WhatsApp chat. Exemplo:"
77
+
78
+ #: trunk/whatsapp-chat.php:81
79
+ msgid "Chat with me"
80
+ msgstr "Converse comigo"
81
+
82
+ #: trunk/whatsapp-chat.php:92
83
+ msgid "Hide button"
84
+ msgstr "Esconder botão"
85
+
86
+ #: trunk/whatsapp-chat.php:93
87
+ msgid "Turn on to"
88
+ msgstr "Acione para"
89
+
90
+ #: trunk/whatsapp-chat.php:93
91
+ msgid "hide whatsapp chat"
92
+ msgstr "esconder o WhatsApp chat"
93
+
94
+ #: trunk/whatsapp-chat.php:93
95
+ msgid "for all website."
96
+ msgstr "em todo o site."
97
+
98
+ #: trunk/whatsapp-chat.php:108
99
+ msgid "Left Side"
100
+ msgstr "Lado esquerdo"
101
+
102
+ #: trunk/whatsapp-chat.php:109 trunk/whatsapp-chat.php:126
103
+ msgid "Turn on the switch to move whatsapp chat to the"
104
+ msgstr "Acione para mover o WhatsApp Chat para o"
105
+
106
+ #: trunk/whatsapp-chat.php:109
107
+ msgid "left side of the screen"
108
+ msgstr "lado esquerdo da tela"
109
+
110
+ #: trunk/whatsapp-chat.php:125
111
+ msgid "Bottom"
112
+ msgstr "Canto Inferior"
113
+
114
+ #: trunk/whatsapp-chat.php:126
115
+ msgid "bottom of the screen"
116
+ msgstr "canto inferior da tela"
117
+
118
+ #: trunk/whatsapp-chat.php:127
119
+ msgid "If left side is ON than whatsapp chat will be"
120
+ msgstr "Se lado esquerdo estiver acionado o WhatsApp chat ficará"
121
+
122
+ #: trunk/whatsapp-chat.php:127
123
+ msgid "on the bottom left."
124
+ msgstr "no canto inferior esquerdo"
125
+
126
+ #: trunk/whatsapp-chat.php:143
127
+ msgid "Hide on Desktop"
128
+ msgstr "Esconder no Desktop"
129
+
130
+ #: trunk/whatsapp-chat.php:144
131
+ msgid "Turn on to keep visible for"
132
+ msgstr "Acione para ficar visível"
133
+
134
+ #: trunk/whatsapp-chat.php:144
135
+ msgid "mobile only."
136
+ msgstr "apenas no mobile."
137
+
138
+ #: trunk/whatsapp-chat.php:160
139
+ msgid "Teal Green."
140
+ msgstr "Teal Green"
141
+
142
+ #: trunk/whatsapp-chat.php:161
143
+ msgid "Make whatsapp chat dark with color"
144
+ msgstr "Deixe o WhatsApp chat em tom escuro "
145
+
146
+ #: trunk/whatsapp-chat.php:161
147
+ msgid "Teal Green"
148
+ msgstr "Verde Azulado"
149
+
150
+ #: trunk/whatsapp-chat.php:177
151
+ msgid "White"
152
+ msgstr "Branco"
153
+
154
+ #: trunk/whatsapp-chat.php:178
155
+ msgid "Make whatsapp chat light with color"
156
+ msgstr "Deixe o WhatsApp chat em tom claro"
157
+
158
+ #: trunk/whatsapp-chat.php:178
159
+ msgid "white."
160
+ msgstr "branco."
161
+
162
+ #: trunk/whatsapp-chat.php:194
163
+ msgid "Rounded border"
164
+ msgstr "Borda arredondada"
165
+
166
+ #: trunk/whatsapp-chat.php:195
167
+ msgid "Add rounnded border"
168
+ msgstr "Adicione bordas arredondadas"
169
+
170
+ #: trunk/whatsapp-chat.php:195
171
+ msgid "in whatsapp chat."
172
+ msgstr "no WhatsApp chat"
173
+
174
+ #: trunk/whatsapp-chat.php:211
175
+ msgid "Hide in pages"
176
+ msgstr "Esconder em páginas"
177
+
178
+ #: trunk/whatsapp-chat.php:212 trunk/whatsapp-chat.php:229
179
+ #: trunk/whatsapp-chat.php:246 trunk/whatsapp-chat.php:263
180
+ msgid "Hide WhatsApp Chat in every"
181
+ msgstr "Esconder WhatsApp Chat em todas as"
182
+
183
+ #: trunk/whatsapp-chat.php:212
184
+ msgid "page"
185
+ msgstr "página"
186
+
187
+ #: trunk/whatsapp-chat.php:228
188
+ msgid "Hide in post"
189
+ msgstr "Esconder em posts"
190
+
191
+ #: trunk/whatsapp-chat.php:229
192
+ msgid "post page"
193
+ msgstr "páginas de postagem"
194
+
195
+ #: trunk/whatsapp-chat.php:245
196
+ msgid "Hide in project"
197
+ msgstr "Esconder em projeto"
198
+
199
+ #: trunk/whatsapp-chat.php:246
200
+ msgid "project page"
201
+ msgstr "páginas de projeto"
202
+
203
+ #: trunk/whatsapp-chat.php:262
204
+ msgid "Hide in product"
205
+ msgstr "Esconder em produto"
206
+
207
+ #: trunk/whatsapp-chat.php:263
208
+ msgid "product page"
209
+ msgstr "páginas de produto"
210
+
211
+ #: trunk/whatsapp-chat.php:279
212
+ msgid "Discreet link"
213
+ msgstr "Link discreto"
214
+
215
+ #: trunk/whatsapp-chat.php:280
216
+ msgid "Leave a discreet link to developer to"
217
+ msgstr "Deixe um link discreto para o desenvolvedor para"
218
+
219
+ #: trunk/whatsapp-chat.php:280
220
+ msgid "help and keep new updates and support"
221
+ msgstr "ajudar a manter novas atualizações e suporte"
222
+
223
+ #: trunk/whatsapp-chat.php:297
224
+ msgid "You can use shortcode to create WhatsApp Chat buttons wherever you want"
225
+ msgstr ""
226
+ "Você pode usar o shortcode para criar um botão WhatsApp chat onde quiser"
227
+
228
+ #: trunk/whatsapp-chat.php:298
229
+ msgid ""
230
+ "Just copy the shortcode bellow replacing with your phone number and text."
231
+ msgstr "Basta copiar o shortcode abaixo e substituir com seu número e texto."
232
+
233
+ #: trunk/whatsapp-chat.php:299
234
+ msgid "Chat on WhatsApp"
235
+ msgstr "Converse no WhatsApp"
236
+
237
+ #: trunk/whatsapp-chat.php:315
238
+ msgid "Save & Chat"
239
+ msgstr "Salvar & Conversar"
languages/wac.mo ADDED
Binary file
languages/wac.pot ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #, fuzzy
2
+ msgid ""
3
+ msgstr ""
4
+ "Project-Id-Version: Whatsapp chat wp\n"
5
+ "POT-Creation-Date: 2018-06-24 14:11-0300\n"
6
+ "PO-Revision-Date: 2018-06-23 19:32-0300\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Caporal Mkt Digital <agencia@caporalmktdigital.com.br>\n"
9
+ "Language: en\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.8.9\n"
14
+ "X-Poedit-Basepath: ../..\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-KeywordsList: _e;__\n"
17
+ "X-Poedit-SourceCharset: UTF-8\n"
18
+ "X-Poedit-SearchPath-0: .\n"
19
+
20
+ #: trunk/whatsapp-chat.php:35
21
+ msgid "Like it? Consider a Donation!"
22
+ msgstr ""
23
+
24
+ #: trunk/whatsapp-chat.php:38
25
+ msgid "Customize your button"
26
+ msgstr ""
27
+
28
+ #: trunk/whatsapp-chat.php:39
29
+ msgid "Support"
30
+ msgstr ""
31
+
32
+ #: trunk/whatsapp-chat.php:40
33
+ msgid "Review"
34
+ msgstr ""
35
+
36
+ #: trunk/whatsapp-chat.php:41 trunk/whatsapp-chat.php:296
37
+ msgid "Shortcode"
38
+ msgstr ""
39
+
40
+ #: trunk/whatsapp-chat.php:42
41
+ msgid "Developer"
42
+ msgstr ""
43
+
44
+ #: trunk/whatsapp-chat.php:55
45
+ msgid "WhatsApp Phone Number"
46
+ msgstr ""
47
+
48
+ #: trunk/whatsapp-chat.php:56
49
+ msgid "Full phone number in international format. Example:"
50
+ msgstr ""
51
+
52
+ #: trunk/whatsapp-chat.php:56
53
+ msgid "+155523456789"
54
+ msgstr ""
55
+
56
+ #: trunk/whatsapp-chat.php:67
57
+ msgid "Message to start chat"
58
+ msgstr ""
59
+
60
+ #: trunk/whatsapp-chat.php:68
61
+ msgid ""
62
+ "Pre-filled message that will automatically appear in the text field of a "
63
+ "chat. Example:"
64
+ msgstr ""
65
+
66
+ #: trunk/whatsapp-chat.php:69
67
+ msgid "Hello! I am interested in your service"
68
+ msgstr ""
69
+
70
+ #: trunk/whatsapp-chat.php:80
71
+ msgid "Edit button"
72
+ msgstr ""
73
+
74
+ #: trunk/whatsapp-chat.php:81
75
+ msgid "Customize your whatsapp chat message. Example:"
76
+ msgstr ""
77
+
78
+ #: trunk/whatsapp-chat.php:81
79
+ msgid "Chat with me"
80
+ msgstr ""
81
+
82
+ #: trunk/whatsapp-chat.php:92
83
+ msgid "Hide button"
84
+ msgstr ""
85
+
86
+ #: trunk/whatsapp-chat.php:93
87
+ msgid "Turn on to"
88
+ msgstr ""
89
+
90
+ #: trunk/whatsapp-chat.php:93
91
+ msgid "hide whatsapp chat"
92
+ msgstr ""
93
+
94
+ #: trunk/whatsapp-chat.php:93
95
+ msgid "for all website."
96
+ msgstr ""
97
+
98
+ #: trunk/whatsapp-chat.php:108
99
+ msgid "Left Side"
100
+ msgstr ""
101
+
102
+ #: trunk/whatsapp-chat.php:109 trunk/whatsapp-chat.php:126
103
+ msgid "Turn on the switch to move whatsapp chat to the"
104
+ msgstr ""
105
+
106
+ #: trunk/whatsapp-chat.php:109
107
+ msgid "left side of the screen"
108
+ msgstr ""
109
+
110
+ #: trunk/whatsapp-chat.php:125
111
+ msgid "Bottom"
112
+ msgstr ""
113
+
114
+ #: trunk/whatsapp-chat.php:126
115
+ msgid "bottom of the screen"
116
+ msgstr ""
117
+
118
+ #: trunk/whatsapp-chat.php:127
119
+ msgid "If left side is ON than whatsapp chat will be"
120
+ msgstr ""
121
+
122
+ #: trunk/whatsapp-chat.php:127
123
+ msgid "on the bottom left."
124
+ msgstr ""
125
+
126
+ #: trunk/whatsapp-chat.php:143
127
+ msgid "Hide on Desktop"
128
+ msgstr ""
129
+
130
+ #: trunk/whatsapp-chat.php:144
131
+ msgid "Turn on to keep visible for"
132
+ msgstr ""
133
+
134
+ #: trunk/whatsapp-chat.php:144
135
+ msgid "mobile only."
136
+ msgstr ""
137
+
138
+ #: trunk/whatsapp-chat.php:160
139
+ msgid "Teal Green."
140
+ msgstr ""
141
+
142
+ #: trunk/whatsapp-chat.php:161
143
+ msgid "Make whatsapp chat dark with color"
144
+ msgstr ""
145
+
146
+ #: trunk/whatsapp-chat.php:161
147
+ msgid "Teal Green"
148
+ msgstr ""
149
+
150
+ #: trunk/whatsapp-chat.php:177
151
+ msgid "White"
152
+ msgstr ""
153
+
154
+ #: trunk/whatsapp-chat.php:178
155
+ msgid "Make whatsapp chat light with color"
156
+ msgstr ""
157
+
158
+ #: trunk/whatsapp-chat.php:178
159
+ msgid "white."
160
+ msgstr ""
161
+
162
+ #: trunk/whatsapp-chat.php:194
163
+ msgid "Rounded border"
164
+ msgstr ""
165
+
166
+ #: trunk/whatsapp-chat.php:195
167
+ msgid "Add rounnded border"
168
+ msgstr ""
169
+
170
+ #: trunk/whatsapp-chat.php:195
171
+ msgid "in whatsapp chat."
172
+ msgstr ""
173
+
174
+ #: trunk/whatsapp-chat.php:211
175
+ msgid "Hide in pages"
176
+ msgstr ""
177
+
178
+ #: trunk/whatsapp-chat.php:212 trunk/whatsapp-chat.php:229
179
+ #: trunk/whatsapp-chat.php:246 trunk/whatsapp-chat.php:263
180
+ msgid "Hide WhatsApp Chat in every"
181
+ msgstr ""
182
+
183
+ #: trunk/whatsapp-chat.php:212
184
+ msgid "page"
185
+ msgstr ""
186
+
187
+ #: trunk/whatsapp-chat.php:228
188
+ msgid "Hide in post"
189
+ msgstr ""
190
+
191
+ #: trunk/whatsapp-chat.php:229
192
+ msgid "post page"
193
+ msgstr ""
194
+
195
+ #: trunk/whatsapp-chat.php:245
196
+ msgid "Hide in project"
197
+ msgstr ""
198
+
199
+ #: trunk/whatsapp-chat.php:246
200
+ msgid "project page"
201
+ msgstr ""
202
+
203
+ #: trunk/whatsapp-chat.php:262
204
+ msgid "Hide in product"
205
+ msgstr ""
206
+
207
+ #: trunk/whatsapp-chat.php:263
208
+ msgid "product page"
209
+ msgstr ""
210
+
211
+ #: trunk/whatsapp-chat.php:279
212
+ msgid "Discreet link"
213
+ msgstr ""
214
+
215
+ #: trunk/whatsapp-chat.php:280
216
+ msgid "Leave a discreet link to developer to"
217
+ msgstr ""
218
+
219
+ #: trunk/whatsapp-chat.php:280
220
+ msgid "help and keep new updates and support"
221
+ msgstr ""
222
+
223
+ #: trunk/whatsapp-chat.php:297
224
+ msgid "You can use shortcode to create WhatsApp Chat buttons wherever you want"
225
+ msgstr ""
226
+
227
+ #: trunk/whatsapp-chat.php:298
228
+ msgid ""
229
+ "Just copy the shortcode bellow replacing with your phone number and text."
230
+ msgstr ""
231
+
232
+ #: trunk/whatsapp-chat.php:299
233
+ msgid "Chat on WhatsApp"
234
+ msgstr ""
235
+
236
+ #: trunk/whatsapp-chat.php:315
237
+ msgid "Save & Chat"
238
+ msgstr ""
photothumb.db ADDED
Binary file
readme.txt ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === WhatsApp Chat WP ===
2
+ Contributors: quadlayers
3
+ Tags: whatsapp, whatsapp chat, directly message whatsapp, whatsapp for business, floating whatsapp, plugin whatsapp, whatsapp button, click to chat, help desk
4
+ Donate link: https://quadlayers.com/portfolio/whatsapp-chat/?utm_source=wac_admin
5
+ Requires at least: 3.8
6
+ Tested up to: 4.9.6
7
+ Requires PHP: 5.6
8
+ Stable tag: 3.1
9
+ License: GPLv2
10
+ License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
+
12
+ Let your customers contact you with WhatsApp Chat directly from your website. Easy, fast and effective!
13
+
14
+ == Description ==
15
+ COMMUNICATION WITH YOUR CUSTOMERS CAN BE VERY EASY AND FAST
16
+ WhatsApp Chat WP allows your customer to start a WhatsApp chat directly from your website.
17
+ Just click the button to open WhatsApp chat app with exactly contact and pre-filled message.
18
+ Fast and close answer can turn over your business and grow your results!
19
+ For detail information about WhatsApp Chat WP with video:
20
+ [Official page of WhatsApp Chat WP plugin](https://quadlayers.com/portfolio/whatsapp-chat/?utm_source=wac_admin) (portuguese)
21
+
22
+ ==QuadLayers==
23
+
24
+ Hello we're [QuadLayers](https://quadlayers.com/)! We've recently acquired this plugin and we will prepare a huge update to bring you some new features.
25
+ ==Why WhatsApp Chat WP==
26
+ * 100% free - We\'ll not try to sell you anything or restrict this plugin
27
+ * Able to detect mobile and show different url so it will open your whatsapp on Android and IOS system and open WhatsApp Web if you are using desktop.
28
+ * If you have Google Analytics installed, an event is triggered when the user clicks on WhatsApp Chat so you can track
29
+ * If you have Facebook Pixel installed, an event is triggered when the user clicks on WhatsApp Chat
30
+ * AMP supported. If you have amp activated, we still work fine (This is super important)
31
+ * Shortcode included
32
+ * Instant message. There is no need your customers to sign in or fill a form
33
+ * Choose WhatsApp Chat position and style
34
+ * Custom your message to start WhatsApp Chat
35
+ * Custom your button call-to-action
36
+ * New beautiful and easy panel
37
+ * WPML supported
38
+ * Woocommerce product page supported
39
+ * Post type targeting. You can show the WhatsApp Chat on the whole site or specific post types
40
+
41
+ == Installation ==
42
+ Search and Install WhatsApp Chat WP directly from Wordpress repository
43
+ Alternatively you can download zip file and extract in wp-content/plugins
44
+ Active plugin
45
+ Fill the form and turn on the switches with your preferences
46
+ Save & Chat!
47
+ Remember to clear your cache and you\'re ready to see the WhatsApp Chat
48
+
49
+ == Frequently Asked Questions ==
50
+ Do i have some support?
51
+ Yes, you just need to post your issue in Support forum, directly in wordpress.
52
+ [Support Forum](https://wordpress.org/support/plugin/wp-whatsapp-chat/)
53
+
54
+ Why we don't have more customize options?
55
+ We are just follow WhatsApp Brand Guidelines.
56
+ But if you really want, you can include some aditional css in your child theme.
57
+
58
+ I want to check how many clicks i had. Is that possible?
59
+ Yes, now you can.
60
+ You just need to install gtag.js in your website.
61
+ If you already have this, you can check in your Analytics Dashboard.
62
+ Go to 'Content' >> 'Event'
63
+ You will notice that every click fire a new WhatsApp chat event.
64
+ There is no need to active or configure nothing.
65
+
66
+ How can i use more than one WhatsApp number?
67
+ You can use how many contact numbers you want with shortcode function.
68
+
69
+ How to create a shortcode?
70
+ [whatsapp phone=\"international-phone-number-here\"]Button content[/whatsapp]
71
+ If you want to open in a new windown:
72
+ [whatsapp phone=\"international-phone-number-here\" blank=\"true\"]Button content[/whatsapp]
73
+
74
+ What about GDPR?
75
+ WhatsApp Chat WP don�t save any personal data and don�t use cookies.
76
+
77
+ Will my WhatsApp number be visible to all users?
78
+ Yes, every user of your website will be able to see the number of WhatsApp you are using (for the way WhatsApp works). For this reason we advise you to not use a WhatsApp number that you want to keep private.
79
+
80
+ What is a full phone number in international format?
81
+ Omit any zeroes, brackets or dashes when adding the phone number in international format, including your country code, area and regular phone number.
82
+ Use: 15551234567
83
+ Don't use: +001-(555)1234567
84
+
85
+ For some reason my message is not working right, how can i fix this?
86
+ Keep in mind that all messages are automatically encoded to create a url.
87
+ Maybe your using a unsual element and it's not encoding the right way.
88
+ Please, try to write your message with URL-encodedtext. [Read this for more information about URL-encodedtext](http://www.codex.wiki.br/Html/URLEncodeRefer%C3%AAncia).
89
+
90
+ == Screenshots ==
91
+ 1. Dashboard
92
+ 2. Dashboard Switch
93
+ 3. WhatsApp Chat Style 1
94
+ 4. WhatsApp Chat Style 2
95
+ 5. WhatsApp Chat Style 3
96
+ 6. Star chat with pre-filled message
97
+ 7. Shortcode Example
98
+
99
+ == Changelog ==
100
+ 3.1 Fix IcoMoon Font call for amp
101
+
102
+ 3.0 Facebook Pixel support included
103
+ amp support included
104
+ New WhatsApp chat styles
105
+ Translation bug fixed
106
+ Hide to specific post type
107
+
108
+ 2.0 Shortcode included
109
+ New position for floating button
110
+ Remove image upload
111
+ New button style
112
+ Integration with Google Analytics
113
+ Internacionalization
114
+
115
+ 1.5 Bug fix in line 143
116
+
117
+ == Upgrade Notice ==
118
+ Much more style option.
119
+ Translation bug fixed.
120
+ New beautiful and easy panel.
121
+ Click Tracking using Google Analytics and Facebook Pixel
122
+ WPML supported
123
+ amp supported
124
+ Woocommerce product page supported
125
+ Hide to specific post type
126
+
127
+ == Developed by ==
128
+ [QuadLayers](https://quadlayers.com)
screenshot-1.jpg ADDED
Binary file
screenshot-2.jpg ADDED
Binary file
screenshot-3.jpg ADDED
Binary file
screenshot-4.jpg ADDED
Binary file
screenshot-5.jpg ADDED
Binary file
screenshot-6.jpg ADDED
Binary file
screenshot-7.jpg ADDED
Binary file
whatsapp-chat.php ADDED
@@ -0,0 +1,566 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: WhatsApp Chat WP
4
+ Plugin URI: https://quadlayers.com/portfolio/whatsapp-chat/
5
+ Description: Let your customers contact you with WhatsApp Chat directly from your website. Easy, fast and effective!
6
+ Author: QuadLayers
7
+ Author URI: https://quadlayers.com/
8
+ Version: 3.2
9
+ License: GPLv2
10
+ */
11
+
12
+ if (!defined('ABSPATH'))
13
+ exit;
14
+
15
+ function quadlayers_admin_notice() {
16
+
17
+ $current = get_current_screen();
18
+
19
+ if ($current->id == 'toplevel_page_whatsapp-chat-settings') {
20
+ ?>
21
+ <div class="notice notice-success is-dismissible">
22
+ <p>Hello we're <a target="_blank" href="https://quadlayers.com/portfolio/whatsapp-chat/?utm_source=wac_admin">QuadLayers</a>! We've recently acquired the WhatsApp Chat plugin for WordPress and we will prepare a huge update to bring you some new features.</p>
23
+ <button type="button" class="notice-dismiss">
24
+ <span class="screen-reader-text">Dismiss this notice.</span>
25
+ </button>
26
+ </div>
27
+ <?php
28
+ }
29
+ }
30
+
31
+ add_action('admin_notices', 'quadlayers_admin_notice');
32
+
33
+ add_action('plugins_loaded', 'whatsapp_load_textdomain');
34
+
35
+ function whatsapp_load_textdomain() {
36
+ load_plugin_textdomain('wac', false, basename(dirname(__FILE__)) . '/languages/');
37
+ }
38
+
39
+ function whatsapp_chat_menu() {
40
+ add_menu_page('WhatsApp Chat Settings', 'WhatsApp Chat', 'administrator', 'whatsapp-chat-settings', 'whatsapp_chat_settings_page', plugins_url('images/whatsappicon.png', __FILE__));
41
+ }
42
+
43
+ add_action('admin_menu', 'whatsapp_chat_menu');
44
+
45
+ add_action('admin_enqueue_scripts', 'load_admin_style_wac');
46
+
47
+ function load_admin_style_wac() {
48
+ wp_register_style('admin_css', plugins_url('css/admin-style.css', __FILE__));
49
+ wp_enqueue_style('admin_css', plugins_url('css/admin-style.css', __FILE__));
50
+ }
51
+
52
+ function whatsapp_chat_settings_page() {
53
+ ?>
54
+ <div class="whats-page">
55
+ <div class="whats-title">
56
+ <h1>WhatsApp Chat WP</h1>
57
+ <span class="doar-link"><a target="_blank" href="https://quadlayers.com/portfolio/whatsapp-chat/?utm_source=wac_admin"><?php _e('Like it? Consider a Donation!', 'wac'); ?></a></span>
58
+ </div>
59
+ <h2 class="nav-tab-wrapper">
60
+ <a href="#whats-box-1" class="nav-tab"><?php _e('Customize your button', 'wac'); ?></a>
61
+ <a href="https://wordpress.org/support/plugin/wp-whatsapp-chat/" class="nav-tab" target="_blank"><?php _e('Support', 'wac'); ?></a>
62
+ <a href="https://wordpress.org/support/plugin/wp-whatsapp-chat/reviews/?rate=5#new-post" class="nav-tab" target="_blank"><?php _e('Review', 'wac'); ?></a>
63
+ <a href="#whats-box-16" class="nav-tab"><?php _e('Shortcode', 'wac'); ?></a>
64
+ <a href="#whats-box-17" class="nav-tab"><?php _e('Developer', 'wac'); ?></a>
65
+ </h2>
66
+ <div class="page-container">
67
+ <form method="post" action="options.php">
68
+ <?php
69
+ settings_fields('whatsapp-chat-settings');
70
+ do_settings_sections('whatsapp-chat-settings');
71
+ ?>
72
+ <div class="div-whats" id="whats-box-1">
73
+ <div class="image-container-whats">
74
+ <img src="<?php echo plugins_url('images/ativo1.png', __FILE__) ?>" >
75
+ </div>
76
+ <div class="title-area-whats">
77
+ <h3><?php _e('WhatsApp Phone Number', 'wac'); ?></h3>
78
+ <p><?php _e('Full phone number in international format. Example:', 'wac'); ?><span class="codewa"><?php _e('+155523456789', 'wac'); ?></span></p>
79
+ </div>
80
+ <div class="onoffswitch-whats">
81
+ <input type="text" size="60" name="whatsapp_chat_page" placeholder="+5512999999999" value="<?php echo esc_attr(get_option('whatsapp_chat_page')); ?>" />
82
+ </div>
83
+ </div>
84
+ <div class="div-whats" id="whats-box-2">
85
+ <div class="image-container-whats">
86
+ <img src="<?php echo plugins_url('images/ativo6.png', __FILE__) ?>" >
87
+ </div>
88
+ <div class="title-area-whats">
89
+ <h3><?php _e('Message to start chat', 'wac'); ?></h3>
90
+ <p><?php _e('Pre-filled message that will automatically appear in the text field of a chat. Example:', 'wac'); ?>
91
+ <p><span class="codewa"><?php _e('Hello! I am interested in your service', 'wac'); ?></span></p>
92
+ </div>
93
+ <div class="onoffswitch-whats">
94
+ <input type="text" size="60" name="whatsapp_chat_msg" placeholder="Olá, gostaria de saber mais sobre seu serviço/produto" value="<?php echo esc_attr(get_option('whatsapp_chat_msg')); ?>" />
95
+ </div>
96
+ </div>
97
+ <div class="div-whats" id="whats-box-3">
98
+ <div class="image-container-whats">
99
+ <img src="<?php echo plugins_url('images/ativo7.png', __FILE__) ?>" >
100
+ </div>
101
+ <div class="title-area-whats">
102
+ <h3><?php _e('Edit button', 'wac'); ?></h3>
103
+ <p><?php _e('Customize your whatsapp chat message. Example:', 'wac'); ?> <span class="codewa"><?php _e('Chat with me', 'wac'); ?></span></p>
104
+ </div>
105
+ <div class="onoffswitch-whats">
106
+ <input type="text" size="60" name="whatsapp_chat_button" placeholder="WhatsApp" value="<?php echo esc_attr(get_option('whatsapp_chat_button')); ?>" />
107
+ </div>
108
+ </div>
109
+ <div class="div-whats" id="whats-box-4">
110
+ <div class="image-container-whats">
111
+ <img src="<?php echo plugins_url('images/ativo4.png', __FILE__) ?>" >
112
+ </div>
113
+ <div class="title-area-whats">
114
+ <h3><?php _e('Hide button', 'wac'); ?></h3>
115
+ <p><?php _e('Turn on to', 'wac'); ?> <span class="codewa"><?php _e('hide whatsapp chat', 'wac'); ?></span><?php _e('for all website.', 'wac'); ?></p>
116
+ </div>
117
+ <div class="onoffswitch-whats">
118
+ <input type="checkbox" name="whatsapp_chat_hide_button" class="onoffswitch-whats-checkbox" id="whatsonoffswitch-4" value="true" <?php echo ( get_option('whatsapp_chat_hide_button') == true ) ? ' checked="checked" />' : ' />'; ?>
119
+ <label class="whatsonoffswitch-label" for="whatsonoffswitch-4">
120
+ <span class="whatsonoffswitch-inner"></span>
121
+ <span class="whatsonoffswitch-switch"></span>
122
+ </label>
123
+ </div>
124
+ </div>
125
+ <div class="div-whats" id="whats-box-5">
126
+ <div class="image-container-whats">
127
+ <img src="<?php echo plugins_url('images/ativo2.png', __FILE__) ?>" >
128
+ </div>
129
+ <div class="title-area-whats">
130
+ <h3><?php _e('Left Side', 'wac'); ?></h3>
131
+ <p><?php _e('Turn on the switch to move whatsapp chat to the', 'wac'); ?> <span class="codewa"><?php _e('left side of the screen', 'wac'); ?></span></p>
132
+ </div>
133
+ <div class="onoffswitch-whats">
134
+ <input type="checkbox" name="whatsapp_chat_left_side" class="onoffswitch-whats-checkbox" id="whatsonoffswitch-5" value="true" <?php echo ( get_option('whatsapp_chat_left_side') == true ) ? ' checked="checked" />' : ' />'; ?>
135
+
136
+ <label class="whatsonoffswitch-label" for="whatsonoffswitch-5">
137
+ <span class="whatsonoffswitch-inner"></span>
138
+ <span class="whatsonoffswitch-switch"></span>
139
+ </label>
140
+ </div>
141
+ </div>
142
+ <div class="div-whats" id="whats-box-6">
143
+ <div class="image-container-whats">
144
+ <img src="<?php echo plugins_url('images/ativo3.png', __FILE__) ?>" >
145
+ </div>
146
+ <div class="title-area-whats">
147
+ <h3><?php _e('Bottom', 'wac'); ?></h3>
148
+ <p><?php _e('Turn on the switch to move whatsapp chat to the', 'wac'); ?> <span class="codewa"><?php _e('bottom of the screen', 'wac'); ?></span></p>
149
+ <p><?php _e('If left side is ON than whatsapp chat will be', 'wac'); ?> <span class="codewa"><?php _e('on the bottom left.', 'wac'); ?></span></p>
150
+ </div>
151
+ <div class="onoffswitch-whats">
152
+ <input type="checkbox" name="whatsapp_chat_down" class="onoffswitch-whats-checkbox" id="whatsonoffswitch-6" value="true" <?php echo ( get_option('whatsapp_chat_down') == true ) ? ' checked="checked" />' : ' />'; ?>
153
+
154
+ <label class="whatsonoffswitch-label" for="whatsonoffswitch-6">
155
+ <span class="whatsonoffswitch-inner"></span>
156
+ <span class="whatsonoffswitch-switch"></span>
157
+ </label>
158
+ </div>
159
+ </div>
160
+ <div class="div-whats" id="whats-box-7">
161
+ <div class="image-container-whats">
162
+ <img src="<?php echo plugins_url('images/ativo5.png', __FILE__) ?>" >
163
+ </div>
164
+ <div class="title-area-whats">
165
+ <h3><?php _e('Hide on Desktop', 'wac'); ?></h3>
166
+ <p><?php _e('Turn on to keep visible for', 'wac'); ?> <span class="codewa"><?php _e('mobile only.', 'wac'); ?></span></p>
167
+ </div>
168
+ <div class="onoffswitch-whats">
169
+ <input type="checkbox" name="whatsapp_chat_mobile" class="onoffswitch-whats-checkbox" id="whatsonoffswitch-7" value="true" <?php echo ( get_option('whatsapp_chat_mobile') == true ) ? ' checked="checked" />' : ' />'; ?>
170
+
171
+ <label class="whatsonoffswitch-label" for="whatsonoffswitch-7">
172
+ <span class="whatsonoffswitch-inner"></span>
173
+ <span class="whatsonoffswitch-switch"></span>
174
+ </label>
175
+ </div>
176
+ </div>
177
+ <div class="div-whats" id="whats-box-8">
178
+ <div class="image-container-whats">
179
+ <img src="<?php echo plugins_url('images/ativo11.png', __FILE__) ?>" >
180
+ </div>
181
+ <div class="title-area-whats">
182
+ <h3><?php _e('Teal Green.', 'wac'); ?></h3>
183
+ <p><?php _e('Make whatsapp chat dark with color', 'wac'); ?> <span class="codewa"><?php _e('Teal Green', 'wac'); ?></span></p>
184
+ </div>
185
+ <div class="onoffswitch-whats">
186
+ <input type="checkbox" name="whatsapp_chat_dark" class="onoffswitch-whats-checkbox" id="whatsonoffswitch-8" value="true" <?php echo ( get_option('whatsapp_chat_dark') == true ) ? ' checked="checked" />' : ' />'; ?>
187
+
188
+ <label class="whatsonoffswitch-label" for="whatsonoffswitch-8">
189
+ <span class="whatsonoffswitch-inner"></span>
190
+ <span class="whatsonoffswitch-switch"></span>
191
+ </label>
192
+ </div>
193
+ </div>
194
+ <div class="div-whats" id="whats-box-9">
195
+ <div class="image-container-whats">
196
+ <img src="<?php echo plugins_url('images/ativo10.png', __FILE__) ?>" >
197
+ </div>
198
+ <div class="title-area-whats">
199
+ <h3><?php _e('White', 'wac'); ?></h3>
200
+ <p><?php _e('Make whatsapp chat light with color', 'wac'); ?> <span class="codewa"><?php _e('white.', 'wac'); ?></span>.</p>
201
+ </div>
202
+ <div class="onoffswitch-whats">
203
+ <input type="checkbox" name="whatsapp_chat_white" class="onoffswitch-whats-checkbox" id="whatsonoffswitch-9" value="true" <?php echo ( get_option('whatsapp_chat_white') == true ) ? ' checked="checked" />' : ' />'; ?>
204
+
205
+ <label class="whatsonoffswitch-label" for="whatsonoffswitch-9">
206
+ <span class="whatsonoffswitch-inner"></span>
207
+ <span class="whatsonoffswitch-switch"></span>
208
+ </label>
209
+ </div>
210
+ </div>
211
+ <div class="div-whats" id="whats-box-10">
212
+ <div class="image-container-whats">
213
+ <img src="<?php echo plugins_url('images/ativo12.png', __FILE__) ?>" >
214
+ </div>
215
+ <div class="title-area-whats">
216
+ <h3><?php _e('Rounded border', 'wac'); ?></h3>
217
+ <p><span class="codewa"><?php _e('Add rounnded border', 'wac'); ?></span> <?php _e('in whatsapp chat.', 'wac'); ?></p>
218
+ </div>
219
+ <div class="onoffswitch-whats">
220
+ <input type="checkbox" name="whatsapp_chat_round" class="onoffswitch-whats-checkbox" id="whatsonoffswitch-10" value="true" <?php echo ( get_option('whatsapp_chat_round') == true ) ? ' checked="checked" />' : ' />'; ?>
221
+
222
+ <label class="whatsonoffswitch-label" for="whatsonoffswitch-10">
223
+ <span class="whatsonoffswitch-inner"></span>
224
+ <span class="whatsonoffswitch-switch"></span>
225
+ </label>
226
+ </div>
227
+ </div>
228
+ <div class="div-whats" id="whats-box-11">
229
+ <div class="image-container-whats">
230
+ <img src="<?php echo plugins_url('images/ativo15.png', __FILE__) ?>" >
231
+ </div>
232
+ <div class="title-area-whats">
233
+ <h3><?php _e('Hide in pages', 'wac'); ?></h3>
234
+ <p><?php _e('Hide WhatsApp Chat in every', 'wac'); ?> <span class="codewa"><?php _e('page', 'wac'); ?></span></p>
235
+ </div>
236
+ <div class="onoffswitch-whats">
237
+ <input type="checkbox" name="whatsapp_chat_hide_page" class="onoffswitch-whats-checkbox" id="whatsonoffswitch-11" value="true" <?php echo ( get_option('whatsapp_chat_hide_page') == true ) ? ' checked="checked" />' : ' />'; ?>
238
+
239
+ <label class="whatsonoffswitch-label" for="whatsonoffswitch-11">
240
+ <span class="whatsonoffswitch-inner"></span>
241
+ <span class="whatsonoffswitch-switch"></span>
242
+ </label>
243
+ </div>
244
+ </div>
245
+ <div class="div-whats" id="whats-box-12">
246
+ <div class="image-container-whats">
247
+ <img src="<?php echo plugins_url('images/ativo14.png', __FILE__) ?>" >
248
+ </div>
249
+ <div class="title-area-whats">
250
+ <h3><?php _e('Hide in post', 'wac'); ?></h3>
251
+ <p><?php _e('Hide WhatsApp Chat in every', 'wac'); ?> <span class="codewa"><?php _e('post page', 'wac'); ?></span></p>
252
+ </div>
253
+ <div class="onoffswitch-whats">
254
+ <input type="checkbox" name="whatsapp_chat_hide_post" class="onoffswitch-whats-checkbox" id="whatsonoffswitch-12" value="true" <?php echo ( get_option('whatsapp_chat_hide_post') == true ) ? ' checked="checked" />' : ' />'; ?>
255
+
256
+ <label class="whatsonoffswitch-label" for="whatsonoffswitch-12">
257
+ <span class="whatsonoffswitch-inner"></span>
258
+ <span class="whatsonoffswitch-switch"></span>
259
+ </label>
260
+ </div>
261
+ </div>
262
+ <div class="div-whats" id="whats-box-13">
263
+ <div class="image-container-whats">
264
+ <img src="<?php echo plugins_url('images/ativo16.png', __FILE__) ?>" >
265
+ </div>
266
+ <div class="title-area-whats">
267
+ <h3><?php _e('Hide in project', 'wac'); ?></h3>
268
+ <p><?php _e('Hide WhatsApp Chat in every', 'wac'); ?> <span class="codewa"><?php _e('project page', 'wac'); ?></span></p>
269
+ </div>
270
+ <div class="onoffswitch-whats">
271
+ <input type="checkbox" name="whatsapp_chat_hide_project" class="onoffswitch-whats-checkbox" id="whatsonoffswitch-13" value="true" <?php echo ( get_option('whatsapp_chat_hide_project') == true ) ? ' checked="checked" />' : ' />'; ?>
272
+
273
+ <label class="whatsonoffswitch-label" for="whatsonoffswitch-13">
274
+ <span class="whatsonoffswitch-inner"></span>
275
+ <span class="whatsonoffswitch-switch"></span>
276
+ </label>
277
+ </div>
278
+ </div>
279
+ <div class="div-whats" id="whats-box-14">
280
+ <div class="image-container-whats">
281
+ <img src="<?php echo plugins_url('images/ativo13.png', __FILE__) ?>" >
282
+ </div>
283
+ <div class="title-area-whats">
284
+ <h3><?php _e('Hide in product', 'wac'); ?></h3>
285
+ <p><?php _e('Hide WhatsApp Chat in every', 'wac'); ?> <span class="codewa"><?php _e('product page', 'wac'); ?></span></p>
286
+ </div>
287
+ <div class="onoffswitch-whats">
288
+ <input type="checkbox" name="whatsapp_chat_hide_product" class="onoffswitch-whats-checkbox" id="whatsonoffswitch-14" value="true" <?php echo ( get_option('whatsapp_chat_hide_product') == true ) ? ' checked="checked" />' : ' />'; ?>
289
+
290
+ <label class="whatsonoffswitch-label" for="whatsonoffswitch-14">
291
+ <span class="whatsonoffswitch-inner"></span>
292
+ <span class="whatsonoffswitch-switch"></span>
293
+ </label>
294
+ </div>
295
+ </div>
296
+ <div class="div-whats" id="whats-box-15">
297
+ <div class="image-container-whats">
298
+ <img src="<?php echo plugins_url('images/ativo8.png', __FILE__) ?>" >
299
+ </div>
300
+ <div class="title-area-whats">
301
+ <h3><?php _e('Discreet link', 'wac'); ?></h3>
302
+ <p><?php _e('Leave a discreet link to developer to', 'wac'); ?> <span class="codewa"><?php _e('help and keep new updates and support', 'wac'); ?></span></p>
303
+ </div>
304
+ <div class="onoffswitch-whats">
305
+ <input type="checkbox" name="whatsapp_chat_powered_by" class="onoffswitch-whats-checkbox" id="whatsonoffswitch-15" value="true" <?php echo ( get_option('whatsapp_chat_powered_by') == true ) ? ' checked="checked" />' : ' />'; ?>
306
+
307
+ <label class="whatsonoffswitch-label" for="whatsonoffswitch-11">
308
+ <span class="whatsonoffswitch-inner"></span>
309
+ <span class="whatsonoffswitch-switch"></span>
310
+ </label>
311
+ </div>
312
+ </div>
313
+ <div class="div-whats" id="whats-box-16">
314
+ <div class="image-container-whats">
315
+ <img src="<?php echo plugins_url('images/ativo9.png', __FILE__) ?>" >
316
+ </div>
317
+ <div class="title-area-whats">
318
+ <h3><?php _e('Shortcode', 'wac'); ?></h3>
319
+ <p><?php _e('You can use shortcode to create WhatsApp Chat buttons wherever you want', 'wac'); ?></p>
320
+ <p><?php _e('Just copy the shortcode bellow replacing with your phone number and text.', 'wac'); ?></p>
321
+ <p><span class="codewa">[whatsapp phone="0000000000" blank="true"]<?php _e('Chat on WhatsApp', 'wac'); ?>[/whatsapp]</span></p>
322
+ </div>
323
+ </div>
324
+ <div class="div-whats" id="whats-box-17">
325
+ <div class="image-container-whats">
326
+ <img src="<?php echo plugins_url('images/agencia.png', __FILE__) ?>" >
327
+ </div>
328
+ <div class="title-area-whats">
329
+ <h3>Caporal Mkt Digital</h3>
330
+ <p>Especialistas em performance, novas ferramentas e estratégias digitais para PME, empreendedores e profissionais liberais.</p>
331
+ <p><span class="codewa">Está buscando ampliar seus resultados? Entre em contato para uma estratégia sob medida!</span></p>
332
+ </div>
333
+ <div class="onoffswitch-whats">
334
+ <a href="https://quadlayers.com/portfolio/whatsapp-chat/?utm_source=wac_admin"><img src="<?php echo plugins_url('images/mail.png', __FILE__) ?>" ></a>
335
+ </div>
336
+ </div>
337
+ <?php submit_button(__('Save & Chat'), 'submit-whats'); ?>
338
+ </form>
339
+ </div>
340
+ </div>
341
+
342
+ <?php
343
+ }
344
+
345
+ function whatsapp_chat_settings() {
346
+ register_setting('whatsapp-chat-settings', 'whatsapp_chat_page');
347
+ register_setting('whatsapp-chat-settings', 'whatsapp_chat_msg');
348
+ register_setting('whatsapp-chat-settings', 'whatsapp_chat_hide_button');
349
+ register_setting('whatsapp-chat-settings', 'whatsapp_chat_left_side');
350
+ register_setting('whatsapp-chat-settings', 'whatsapp_chat_down');
351
+ register_setting('whatsapp-chat-settings', 'whatsapp_chat_button');
352
+ register_setting('whatsapp-chat-settings', 'whatsapp_chat_mobile');
353
+ register_setting('whatsapp-chat-settings', 'whatsapp_chat_dark');
354
+ register_setting('whatsapp-chat-settings', 'whatsapp_chat_white');
355
+ register_setting('whatsapp-chat-settings', 'whatsapp_chat_round');
356
+ register_setting('whatsapp-chat-settings', 'whatsapp_chat_hide_page');
357
+ register_setting('whatsapp-chat-settings', 'whatsapp_chat_hide_post');
358
+ register_setting('whatsapp-chat-settings', 'whatsapp_chat_hide_project');
359
+ register_setting('whatsapp-chat-settings', 'whatsapp_chat_hide_product');
360
+ register_setting('whatsapp-chat-settings', 'whatsapp_chat_powered_by');
361
+ }
362
+
363
+ add_action('admin_init', 'whatsapp_chat_settings');
364
+
365
+ function whatsapp_chat_deactivation() {
366
+ delete_option('whatsapp_chat_page');
367
+ delete_option('whatsapp_chat_msg');
368
+ delete_option('whatsapp_chat_hide_button');
369
+ delete_option('whatsapp_chat_left_side');
370
+ delete_option('whatsapp_chat_down');
371
+ delete_option('whatsapp_chat_button');
372
+ delete_option('whatsapp_chat_mobile');
373
+ delete_option('whatsapp_chat_dark');
374
+ delete_option('whatsapp_chat_white');
375
+ delete_option('whatsapp_chat_round');
376
+ delete_option('whatsapp_chat_hide_page');
377
+ delete_option('whatsapp_chat_hide_post');
378
+ delete_option('whatsapp_chat_hide_project');
379
+ delete_option('whatsapp_chat_hide_product');
380
+ delete_option('whatsapp_chat_powered_by');
381
+ }
382
+
383
+ register_deactivation_hook(__FILE__, 'whatsapp_chat_deactivation');
384
+
385
+ function whatsapp_chat_dependencies() {
386
+ wp_register_style('whatsapp-chat-style', plugins_url('css/style.css', __FILE__));
387
+ wp_enqueue_style('whatsapp-chat-style', plugins_url('css/style.css', __FILE__));
388
+ }
389
+
390
+ add_action('wp_enqueue_scripts', 'whatsapp_chat_dependencies');
391
+
392
+ function shortcode_whatsapp_chat($atts, $content = null) {
393
+ extract(shortcode_atts(array(
394
+ 'phone' => '#',
395
+ 'blank' => 'false'
396
+ ), $atts));
397
+
398
+ $blank_link = '';
399
+
400
+ if ($blank == 'true')
401
+ $blank_link = "target=\"_blank\"";
402
+
403
+ $out = "<a class=\"whatsapp\" href=\"https://api.whatsapp.com/send?phone=" . $phone . "\"" . $blank_link . "><span>" . do_shortcode($content) . "</span></a>";
404
+
405
+ return $out;
406
+ }
407
+
408
+ add_shortcode('whatsapp', 'shortcode_whatsapp_chat');
409
+
410
+ function whatsapp_chat() {
411
+ ?>
412
+
413
+ <?php if (get_option('whatsapp_chat_hide_button') != true) {
414
+ ?>
415
+ <?php
416
+ if (is_page() && get_option('whatsapp_chat_hide_page')) {
417
+
418
+ } elseif (is_singular('post') && get_option('whatsapp_chat_hide_post')) {
419
+
420
+ } elseif (is_singular('project') && get_option('whatsapp_chat_hide_project')) {
421
+
422
+ } elseif (is_singular('product') && get_option('whatsapp_chat_hide_product')) {
423
+
424
+ } elseif (is_admin()) {
425
+
426
+ } else {
427
+ ?>
428
+ <div id="wacht<?php if (get_option('whatsapp_chat_left_side') == true) { ?>-leftside<?php } ?><?php if (get_option('whatsapp_chat_down') == true) { ?>-baixo<?php } ?><?php if (get_option('whatsapp_chat_dark') == true) { ?>-dark<?php } ?><?php if (get_option('whatsapp_chat_white') == true) { ?>-white<?php } ?><?php if (get_option('whatsapp_chat_round') == true) { ?>-round<?php } ?><?php if (get_option('whatsapp_chat_mobile') == true) { ?>-mobile<?php } ?>">
429
+ <a href="https://<?php
430
+ if (wp_is_mobile()) {
431
+ echo "api";
432
+ } else {
433
+ echo "web";
434
+ }
435
+ ?>.whatsapp.com/send?phone=<?php echo esc_attr(get_option('whatsapp_chat_page')); ?>&text=<?php echo esc_attr(get_option('whatsapp_chat_msg')); ?>" onclick="gtag('event', 'WhatsApp', {'event_action': 'whatsapp_chat', 'event_category': 'Chat', 'event_label': 'Chat_WhatsApp'});" target="_blank"><?php echo esc_attr(get_option('whatsapp_chat_button')); ?></a><?php if (get_option('whatsapp_chat_powered_by') == true) { ?><a href="https://quadlayers.com/?utm_source=wac_admin" title="Caporal Mkt Digital" class="agencia">agência de marketing digital especializada em estratégias e resultados</a><?php } ?>
436
+ </div>
437
+ <?php }//hide_button ?>
438
+ <?php
439
+ }
440
+ }
441
+
442
+ add_action('wp_footer', 'whatsapp_chat', 10);
443
+
444
+ add_action('amp_post_template_css', 'amp_whatsapp_chat_css_styles');
445
+
446
+ function amp_whatsapp_chat_css_styles($amp_template) {
447
+ ?>
448
+ @font-face {font-family: 'IcoMoon-free'; src: url('<?php echo plugins_url('css/fonts/IcoMoon-free.ttf', __FILE__) ?>');}
449
+ #wacht a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
450
+ #wacht-leftside a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
451
+ #wacht-baixo a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
452
+ #wacht-leftside-baixo a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
453
+ #wacht-dark a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
454
+ #wacht-leftside-dark a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
455
+ #wacht-baixo-dark a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
456
+ #wacht-leftside-baixo-dark a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
457
+ #wacht-white a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
458
+ #wacht-leftside-white a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
459
+ #wacht-baixo-white a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
460
+ #wacht-leftside-baixo-white a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
461
+ #wacht-round a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
462
+ #wacht-leftside-round a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
463
+ #wacht-baixo-round a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
464
+ #wacht-leftside-baixo-round a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
465
+ #wacht-dark-round a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
466
+ #wacht-leftside-dark-round a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
467
+ #wacht-baixo-dark-round a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
468
+ #wacht-leftside-baixo-dark-round a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
469
+ #wacht-white-round a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
470
+ #wacht-leftside-white-round a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
471
+ #wacht-baixo-white-round a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
472
+ #wacht-leftside-baixo-white-round a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
473
+ #wacht a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
474
+ #wacht-leftside a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
475
+ #wacht-baixo a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
476
+ #wacht-leftside-baixo a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
477
+ #wacht-dark a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
478
+ #wacht-leftside-dark a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
479
+ #wacht-baixo-dark a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
480
+ #wacht-leftside-baixo-dark a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
481
+ #wacht-white a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
482
+ #wacht-leftside-white a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
483
+ #wacht-baixo-white a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
484
+ #wacht-leftside-baixo-white a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
485
+ #wacht-round a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
486
+ #wacht-leftside-round a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
487
+ #wacht-baixo-round a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
488
+ #wacht-leftside-baixo-round a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
489
+ #wacht-dark-round a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
490
+ #wacht-leftside-dark-round a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
491
+ #wacht-baixo-dark-round a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
492
+ #wacht-leftside-baixo-dark-round a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
493
+ #wacht-white-round a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
494
+ #wacht-leftside-white-round a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
495
+ #wacht-baixo-white-round a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
496
+ #wacht-leftside-baixo-white-round a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
497
+ a.whatsapp:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
498
+ a.whatsapp {min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
499
+ #wacht-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
500
+ #wacht-leftside-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
501
+ #wacht-baixo-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
502
+ #wacht-leftside-baixo-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
503
+ #wacht-dark-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
504
+ #wacht-leftside-dark-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
505
+ #wacht-baixo-dark-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
506
+ #wacht-leftside-baixo-dark-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
507
+ #wacht-white-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
508
+ #wacht-leftside-white-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
509
+ #wacht-baixo-white-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
510
+ #wacht-leftside-baixo-white-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
511
+ #wacht-round-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
512
+ #wacht-leftside-round-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
513
+ #wacht-baixo-round-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
514
+ #wacht-leftside-baixo-round-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#20B038; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
515
+ #wacht-dark-round-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
516
+ #wacht-leftside-dark-round-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
517
+ #wacht-baixo-dark-round-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
518
+ #wacht-leftside-baixo-dark-round-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#fff; text-align:center; padding:10px; margin:0 auto 0 auto; background:#075E54; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
519
+ #wacht-white-round-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
520
+ #wacht-leftside-white-round-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 40%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
521
+ #wacht-baixo-white-round-mobile a {position: fixed; z-index: 9999; right: 0; float:right; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
522
+ #wacht-leftside-baixo-white-round-mobile a {position: fixed; z-index: 9999; left: 0; float:left; top: 90%; margin-top: -25px; cursor: pointer; min-width:50px; max-width:150px; color:#075E54; text-align:center; padding:10px; margin:0 auto 0 auto; background:#fff; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 50px;}
523
+ #wacht-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
524
+ #wacht-leftside-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
525
+ #wacht-baixo-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
526
+ #wacht-leftside-baixo-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
527
+ #wacht-dark-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
528
+ #wacht-leftside-dark-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
529
+ #wacht-baixo-dark-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
530
+ #wacht-leftside-baixo-dark-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
531
+ #wacht-white-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
532
+ #wacht-leftside-white-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
533
+ #wacht-baixo-white-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
534
+ #wacht-leftside-baixo-white-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
535
+ #wacht-round-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
536
+ #wacht-leftside-round-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
537
+ #wacht-baixo-round-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
538
+ #wacht-leftside-baixo-round-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
539
+ #wacht-dark-round-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
540
+ #wacht-leftside-dark-round-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
541
+ #wacht-baixo-dark-round-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
542
+ #wacht-leftside-baixo-dark-round-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
543
+ #wacht-white-round-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
544
+ #wacht-leftside-white-round-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
545
+ #wacht-baixo-white-round-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
546
+ #wacht-leftside-baixo-white-round-mobile a:before {font-family: "IcoMoon-free"; content: '\ea93'; margin-left: 5px; margin-right: 5px}
547
+ @media only screen and (min-width: 980px) {#wacht-mobile, #wacht-leftside-mobile, #wacht-baixo-mobile, #wacht-leftside-baixo-mobile, #wacht-dark-mobile, #wacht-leftside-dark-mobile, #wacht-baixo-dark-mobile, #wacht-leftside-baixo-dark-mobile, #wacht-white-mobile, #wacht-leftside-white-mobile, #wacht-baixo-white-mobile, #wacht-leftside-baixo-white-mobile, #wacht-leftside-baixo-white-round-mobile, #wacht-baixo-white-round-mobile, #wacht-leftside-white-round-mobile, #wacht-white-round-mobile, #wacht-leftside-baixo-dark-round-mobile, #wacht-baixo-dark-round-mobile, #wacht-leftside-dark-round-mobile, #wacht-dark-round-mobile, #wacht-leftside-baixo-round-mobile, #wacht-baixo-round-mobile, #wacht-leftside-round-mobile, #wacht-round-mobile a {display: none;}}
548
+ <?php
549
+ }
550
+
551
+ add_action('amp_post_template_footer', 'amp_whatsapp_chat');
552
+
553
+ function amp_whatsapp_chat($amp_template) {
554
+ ?>
555
+ <div id="wacht<?php if (get_option('whatsapp_chat_left_side') == true) { ?>-leftside<?php } ?><?php if (get_option('whatsapp_chat_down') == true) { ?>-baixo<?php } ?><?php if (get_option('whatsapp_chat_dark') == true) { ?>-dark<?php } ?><?php if (get_option('whatsapp_chat_white') == true) { ?>-white<?php } ?><?php if (get_option('whatsapp_chat_round') == true) { ?>-round<?php } ?><?php if (get_option('whatsapp_chat_mobile') == true) { ?>-mobile<?php } ?>">
556
+ <a href="https://<?php
557
+ if (wp_is_mobile()) {
558
+ echo "api";
559
+ } else {
560
+ echo "web";
561
+ }
562
+ ?>.whatsapp.com/send?phone=<?php echo esc_attr(get_option('whatsapp_chat_page')); ?>&text=<?php echo esc_attr(get_option('whatsapp_chat_msg')); ?>" onclick="gtag('event', 'WhatsApp', {'event_action': 'whatsapp_chat', 'event_category': 'Chat', 'event_label': 'Chat_WhatsApp'}); fbq('track', 'WhatsAppChat');" target="_blank"><?php echo esc_attr(get_option('whatsapp_chat_button')); ?></a>
563
+ </div>
564
+
565
+ <?php
566
+ }