a3f10f08 by Jeff Balicki

email

1 parent ab42f182
......@@ -16794,7 +16794,7 @@ ss3-force-full-width {
@media (max-width: 1300px) {
.yellow span.number-big {
line-height: 7.5rem;
font-size: 8.5rem;
font-size: 8.125rem;
display: inline-block;
padding-right: 10px;
}
......@@ -17409,6 +17409,7 @@ ss3-force-full-width {
.footer-left {
width: 90%;
padding-left: 5%;
margin-bottom: 10px;
}
}
.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';
// Array of files to include.
$understrap_includes = array(
'/emails.php',
'/wpsl.php'
'/wpsl.php',
'/request-conversation.php'
);
......
......@@ -84,41 +84,3 @@ add_filter( 'cf7_2_post_status_wpsl_stores', 'publish_new_wpsl_stores',10,3);
}
}
function send_planner_email($data)
{
$name = $data['name'];
$email = $data['email'];
$phone = $data['phone'];
$panner_id = $data['broker_id'];
if($email =="" || $name =="" || $phone =="" ){
exit;
}
if(strpos($email, 'tenzing') !== false || $_SERVER['HTTP_HOST'] !="yournumbers.ca") {
$to = 'support@gotenzing.com';
} else {
$to = get_post_meta($panner_id, 'wpsl_email', true);
}
$subject = 'Request for Customer Contact from The Commonwell';
$headers = array('Content-Type: text/html; charset=UTF-8');
$body = "<h1 class='clear-both is-h1'>You're in demand! ".get_the_title($panner_id)."</h1>
<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>
<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/>";
wp_mail($to, $subject, $body, $headers);
$to_customer = $data['email'];
$subject_customer = 'Contact Request Confirmationl';
$headers_customer = array('Content-Type: text/html; charset=UTF-8');
$body_customer = "<h1 class='clear-both is-h1'>Thanks for your information request.</h1>
<div class=' f-16'>We received your request for more information about. </div>";
wp_mail($to_customer, $subject_customer, $body_customer, $headers_customer);
}
......
......@@ -43,6 +43,7 @@
@media screen and (max-width: 768px) {
width: 90%;
padding-left: 5%;
margin-bottom: 10px;
}
p {
line-height: 17px;
......
......@@ -278,7 +278,7 @@ span.number-big{
line-height: 180px;
@media (max-width: 1300px) {
line-height: 120px;
font-size: 136px;
font-size: 130px;
display:inline-block;
padding-right: 10px;
}
......
......@@ -299,7 +299,7 @@ td, th {
}
@media (max-width: 600px){
#wpsl-search-input {
width: 90% !important;
width: 100% !important;
}
#wpsl-search-input {
font-size: 30px;
......