a3f10f08 by Jeff Balicki

email

1 parent ab42f182
...@@ -16794,7 +16794,7 @@ ss3-force-full-width { ...@@ -16794,7 +16794,7 @@ ss3-force-full-width {
16794 @media (max-width: 1300px) { 16794 @media (max-width: 1300px) {
16795 .yellow span.number-big { 16795 .yellow span.number-big {
16796 line-height: 7.5rem; 16796 line-height: 7.5rem;
16797 font-size: 8.5rem; 16797 font-size: 8.125rem;
16798 display: inline-block; 16798 display: inline-block;
16799 padding-right: 10px; 16799 padding-right: 10px;
16800 } 16800 }
...@@ -17409,6 +17409,7 @@ ss3-force-full-width { ...@@ -17409,6 +17409,7 @@ ss3-force-full-width {
17409 .footer-left { 17409 .footer-left {
17410 width: 90%; 17410 width: 90%;
17411 padding-left: 5%; 17411 padding-left: 5%;
17412 margin-bottom: 10px;
17412 } 17413 }
17413 } 17414 }
17414 .footer-left p { 17415 .footer-left p {
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -134,7 +134,8 @@ $understrap_inc_dir = 'inc'; ...@@ -134,7 +134,8 @@ $understrap_inc_dir = 'inc';
134 // Array of files to include. 134 // Array of files to include.
135 $understrap_includes = array( 135 $understrap_includes = array(
136 '/emails.php', 136 '/emails.php',
137 '/wpsl.php' 137 '/wpsl.php',
138 '/request-conversation.php'
138 ); 139 );
139 140
140 141
......
...@@ -84,41 +84,3 @@ add_filter( 'cf7_2_post_status_wpsl_stores', 'publish_new_wpsl_stores',10,3); ...@@ -84,41 +84,3 @@ add_filter( 'cf7_2_post_status_wpsl_stores', 'publish_new_wpsl_stores',10,3);
84 } 84 }
85 } 85 }
86 86
87
88
89 function send_planner_email($data)
90 {
91 $name = $data['name'];
92 $email = $data['email'];
93 $phone = $data['phone'];
94 $panner_id = $data['broker_id'];
95
96 if($email =="" || $name =="" || $phone =="" ){
97 exit;
98 }
99
100 if(strpos($email, 'tenzing') !== false || $_SERVER['HTTP_HOST'] !="yournumbers.ca") {
101 $to = 'support@gotenzing.com';
102 } else {
103 $to = get_post_meta($panner_id, 'wpsl_email', true);
104 }
105
106 $subject = 'Request for Customer Contact from The Commonwell';
107 $headers = array('Content-Type: text/html; charset=UTF-8');
108 $body = "<h1 class='clear-both is-h1'>You're in demand! ".get_the_title($panner_id)."</h1>
109 <div class=' f-16'>A visitor to The yournumber.ca has requested information from you and to start the quote process. That's awesome and good luck! Please reach out to the person listed below within 48 hours. </div>
110 <table class=' f-16'><col width='200'></tr><tr><td>NAME:</td><td>" . $name . "</td></tr><tr><td>EMAIL:</td><td>" .$email . "</td></tr><tr><td>PHONE NUMBER:</td><td>" . $phone . "</td></tr></table><br/><br/>";
111
112 wp_mail($to, $subject, $body, $headers);
113
114
115 $to_customer = $data['email'];
116 $subject_customer = 'Contact Request Confirmationl';
117 $headers_customer = array('Content-Type: text/html; charset=UTF-8');
118 $body_customer = "<h1 class='clear-both is-h1'>Thanks for your information request.</h1>
119 <div class=' f-16'>We received your request for more information about. </div>";
120
121 wp_mail($to_customer, $subject_customer, $body_customer, $headers_customer);
122
123
124 }
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
43 @media screen and (max-width: 768px) { 43 @media screen and (max-width: 768px) {
44 width: 90%; 44 width: 90%;
45 padding-left: 5%; 45 padding-left: 5%;
46 margin-bottom: 10px;
46 } 47 }
47 p { 48 p {
48 line-height: 17px; 49 line-height: 17px;
......
...@@ -278,7 +278,7 @@ span.number-big{ ...@@ -278,7 +278,7 @@ span.number-big{
278 line-height: 180px; 278 line-height: 180px;
279 @media (max-width: 1300px) { 279 @media (max-width: 1300px) {
280 line-height: 120px; 280 line-height: 120px;
281 font-size: 136px; 281 font-size: 130px;
282 display:inline-block; 282 display:inline-block;
283 padding-right: 10px; 283 padding-right: 10px;
284 } 284 }
......
...@@ -299,7 +299,7 @@ td, th { ...@@ -299,7 +299,7 @@ td, th {
299 } 299 }
300 @media (max-width: 600px){ 300 @media (max-width: 600px){
301 #wpsl-search-input { 301 #wpsl-search-input {
302 width: 90% !important; 302 width: 100% !important;
303 } 303 }
304 #wpsl-search-input { 304 #wpsl-search-input {
305 font-size: 30px; 305 font-size: 30px;
......