eeee
Showing
8 changed files
with
19 additions
and
9 deletions
| ... | @@ -17029,6 +17029,7 @@ ss3-force-full-width { | ... | @@ -17029,6 +17029,7 @@ ss3-force-full-width { |
| 17029 | } | 17029 | } |
| 17030 | #exampleModalLong .wpcf7-form { | 17030 | #exampleModalLong .wpcf7-form { |
| 17031 | margin-top: -30px; | 17031 | margin-top: -30px; |
| 17032 | max-width: unset !important; | ||
| 17032 | } | 17033 | } |
| 17033 | #exampleModalLong .modal-content { | 17034 | #exampleModalLong .modal-content { |
| 17034 | top: 10px !important; | 17035 | top: 10px !important; |
| ... | @@ -17071,9 +17072,10 @@ ss3-force-full-width { | ... | @@ -17071,9 +17072,10 @@ ss3-force-full-width { |
| 17071 | z-index: 99999; | 17072 | z-index: 99999; |
| 17072 | } | 17073 | } |
| 17073 | #exampleModalLong .modal-dialog { | 17074 | #exampleModalLong .modal-dialog { |
| 17074 | width: 400px; | 17075 | width: 800px; |
| 17075 | margin-top: 5%; | 17076 | margin-top: 1%; |
| 17076 | font-size: 1rem !important; | 17077 | font-size: 1rem !important; |
| 17078 | max-width: unset !important; | ||
| 17077 | } | 17079 | } |
| 17078 | @media (max-width: 786px) { | 17080 | @media (max-width: 786px) { |
| 17079 | #exampleModalLong .modal-dialog { | 17081 | #exampleModalLong .modal-dialog { | ... | ... |
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.
| ... | @@ -5,6 +5,9 @@ function send_planner_email($data) | ... | @@ -5,6 +5,9 @@ function send_planner_email($data) |
| 5 | $name = $data['name']; | 5 | $name = $data['name']; |
| 6 | $email = $data['email']; | 6 | $email = $data['email']; |
| 7 | $phone = $data['phone']; | 7 | $phone = $data['phone']; |
| 8 | $age = $data['age']; | ||
| 9 | $about = $data['about']; | ||
| 10 | $contact = $data['contact']; | ||
| 8 | $panner_id = $data['planner_id']; | 11 | $panner_id = $data['planner_id']; |
| 9 | 12 | ||
| 10 | if($email =="" || $name =="" || $phone =="" ){ | 13 | if($email =="" || $name =="" || $phone =="" ){ |
| ... | @@ -16,8 +19,7 @@ function send_planner_email($data) | ... | @@ -16,8 +19,7 @@ function send_planner_email($data) |
| 16 | } else { | 19 | } else { |
| 17 | $to = get_post_meta($panner_id, 'wpsl_email', true); | 20 | $to = get_post_meta($panner_id, 'wpsl_email', true); |
| 18 | } | 21 | } |
| 19 | error_log( $panner_id); | 22 | |
| 20 | error_log( $to); | ||
| 21 | $subject = 'You\'ve got a new client prospect!'; | 23 | $subject = 'You\'ve got a new client prospect!'; |
| 22 | $headers = array('Content-Type: text/html; charset=UTF-8'); | 24 | $headers = array('Content-Type: text/html; charset=UTF-8'); |
| 23 | 25 | ||
| ... | @@ -93,7 +95,7 @@ function send_planner_email($data) | ... | @@ -93,7 +95,7 @@ function send_planner_email($data) |
| 93 | </tr> | 95 | </tr> |
| 94 | <tr> | 96 | <tr> |
| 95 | <td colspan="3" style="padding:0 0 36px 0;color:#153643;"> | 97 | <td colspan="3" style="padding:0 0 36px 0;color:#153643;"> |
| 96 | <?php echo "<table class='f-16'><tr><td>NAME:</td><td>" . $name . "</td></tr><tr><td>EMAIL:</td><td>" .$email . "</td></tr><tr><td>PHONE:</td><td>" . $phone . "</td></tr></table>"; ?> | 98 | <?php echo "<table class='f-16'><tr><td>NAME:</td><td>" . $name . "</td></tr><tr><td>EMAIL:</td><td>" .$email . "</td></tr><tr><td>PHONE:</td><td>" . $phone . "</td></tr><tr><td>AGE:</td><td>" .$age . "</td></tr><tr><td>TALK ABOUT:</td><td>" .$about . "</td></tr><tr><td>CONTACT BY:</td><td>" . $contact . "</td></tr></table>"; ?> |
| 97 | </td> | 99 | </td> |
| 98 | </tr> | 100 | </tr> |
| 99 | <tr style="background:#ffffff;"> | 101 | <tr style="background:#ffffff;"> | ... | ... |
| ... | @@ -240,7 +240,7 @@ $(window).on('load resize scroll', function() { | ... | @@ -240,7 +240,7 @@ $(window).on('load resize scroll', function() { |
| 240 | service_choices += ", " + $(this).val(); | 240 | service_choices += ", " + $(this).val(); |
| 241 | } | 241 | } |
| 242 | }); | 242 | }); |
| 243 | var html= '<h5 class="modal-title" style="text-align:center;" id="exampleModalLongTitle">THANK YOU!</h5><p><center>An eos dolore accusamus vituperatoribus. Ei pertinax appellantur mei, verear atomorum cu pro.</center></p>' | 243 | var html= '<h5 class="modal-title" style="text-align:center;" id="exampleModalLongTitle">THANK YOU FOR REQUESTING A CONVERSATION.</h5><p><center>Your choice of professional financial planner will reply within one business day.</center></p>'; |
| 244 | jQuery.ajax({ | 244 | jQuery.ajax({ |
| 245 | url: '/wp-admin/admin-ajax.php', | 245 | url: '/wp-admin/admin-ajax.php', |
| 246 | method: "POST", | 246 | method: "POST", |
| ... | @@ -250,6 +250,9 @@ $(window).on('load resize scroll', function() { | ... | @@ -250,6 +250,9 @@ $(window).on('load resize scroll', function() { |
| 250 | email: $("[name='your-email']").val(), | 250 | email: $("[name='your-email']").val(), |
| 251 | phone: $("[name='your-phone']").val(), | 251 | phone: $("[name='your-phone']").val(), |
| 252 | planner_id: $("[name='planner_id']").val(), | 252 | planner_id: $("[name='planner_id']").val(), |
| 253 | age: $("[name='your-age']").val(), | ||
| 254 | about: $("[name='talk-about']").val(), | ||
| 255 | contact: $("[name='contact-by']").val(), | ||
| 253 | choices:service_choices | 256 | choices:service_choices |
| 254 | }, | 257 | }, |
| 255 | beforeSend: function(xhr) { | 258 | beforeSend: function(xhr) { | ... | ... |
| ... | @@ -498,6 +498,8 @@ span.number-med.last{ | ... | @@ -498,6 +498,8 @@ span.number-med.last{ |
| 498 | padding-right: 0px !important; | 498 | padding-right: 0px !important; |
| 499 | .wpcf7-form{ | 499 | .wpcf7-form{ |
| 500 | margin-top: -30px; | 500 | margin-top: -30px; |
| 501 | max-width: unset !important; | ||
| 502 | |||
| 501 | } | 503 | } |
| 502 | 504 | ||
| 503 | .modal-content { | 505 | .modal-content { |
| ... | @@ -547,9 +549,10 @@ span.number-med.last{ | ... | @@ -547,9 +549,10 @@ span.number-med.last{ |
| 547 | z-index: 99999; | 549 | z-index: 99999; |
| 548 | } | 550 | } |
| 549 | .modal-dialog { | 551 | .modal-dialog { |
| 550 | width: 400px; | 552 | width: 800px; |
| 551 | margin-top: 5%; | 553 | margin-top: 1%; |
| 552 | font-size:16px !important; | 554 | font-size:16px !important; |
| 555 | max-width: unset !important; | ||
| 553 | @media (max-width: 786px) { | 556 | @media (max-width: 786px) { |
| 554 | width: 100%; | 557 | width: 100%; |
| 555 | margin-left: 0px; | 558 | margin-left: 0px; | ... | ... |
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | Author: the Understrap Contributors | 5 | Author: the Understrap Contributors |
| 6 | Author URI: https://github.com/understrap/understrap-child/graphs/contributors | 6 | Author URI: https://github.com/understrap/understrap-child/graphs/contributors |
| 7 | Template: understrap | 7 | Template: understrap |
| 8 | Version: 1.1.30353 | 8 | Version: 1.1.30354 |
| 9 | License: GNU General Public License v2 or later | 9 | License: GNU General Public License v2 or later |
| 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html | 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 11 | Text Domain: understrap-child | 11 | Text Domain: understrap-child | ... | ... |
-
Please register or sign in to post a comment