eee
Showing
15 changed files
with
148 additions
and
27 deletions
| ... | @@ -17186,6 +17186,11 @@ ss3-force-full-width { | ... | @@ -17186,6 +17186,11 @@ ss3-force-full-width { |
| 17186 | flex-basis: 33.3333333333%; | 17186 | flex-basis: 33.3333333333%; |
| 17187 | } | 17187 | } |
| 17188 | 17188 | ||
| 17189 | #exampleModalLong.download .modal-dialog { | ||
| 17190 | width: 400px; | ||
| 17191 | margin-top: 5%; | ||
| 17192 | } | ||
| 17193 | |||
| 17189 | .label-search-input { | 17194 | .label-search-input { |
| 17190 | color: #5B6770; | 17195 | color: #5B6770; |
| 17191 | } | 17196 | } |
| ... | @@ -17362,6 +17367,23 @@ ss3-force-full-width { | ... | @@ -17362,6 +17367,23 @@ ss3-force-full-width { |
| 17362 | } | 17367 | } |
| 17363 | } | 17368 | } |
| 17364 | 17369 | ||
| 17370 | a.wp-block-button__link { | ||
| 17371 | background-color: #012169; | ||
| 17372 | text-transform: uppercase; | ||
| 17373 | font-family: "Calibri-bold"; | ||
| 17374 | font-size: 1.125rem; | ||
| 17375 | border-radius: 0px; | ||
| 17376 | padding: 15px 15px; | ||
| 17377 | color: #fff !important; | ||
| 17378 | width: 100%; | ||
| 17379 | } | ||
| 17380 | |||
| 17381 | a.wp-block-button__link:focus, | ||
| 17382 | a.wp-block-button__link:hover { | ||
| 17383 | background-color: #005eb8; | ||
| 17384 | text-decoration: none !important; | ||
| 17385 | } | ||
| 17386 | |||
| 17365 | #wrapper-footer { | 17387 | #wrapper-footer { |
| 17366 | background-color: #012169; | 17388 | background-color: #012169; |
| 17367 | height: auto; | 17389 | height: auto; | ... | ... |
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.
| ... | @@ -135,7 +135,8 @@ $understrap_inc_dir = 'inc'; | ... | @@ -135,7 +135,8 @@ $understrap_inc_dir = 'inc'; |
| 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 | '/request-conversation.php', |
| 139 | '/email-templates-package.php' | ||
| 139 | ); | 140 | ); |
| 140 | 141 | ||
| 141 | 142 | ... | ... |
| ... | @@ -78,7 +78,9 @@ | ... | @@ -78,7 +78,9 @@ |
| 78 | </tr> | 78 | </tr> |
| 79 | <tr style="background:#ffffff;"> | 79 | <tr style="background:#ffffff;"> |
| 80 | <td align="center" colspan="4" style="padding-bottom:10px"> | 80 | <td align="center" colspan="4" style="padding-bottom:10px"> |
| 81 | <a href="https://youtu.be/KFcLr1zngS0"> | ||
| 81 | <img width="533" src="https://yournumbers.ca/wp-content/uploads/2022/02/Group-1060@2x.png"/> | 82 | <img width="533" src="https://yournumbers.ca/wp-content/uploads/2022/02/Group-1060@2x.png"/> |
| 83 | </a> | ||
| 82 | </td> | 84 | </td> |
| 83 | </tr> | 85 | </tr> |
| 84 | 86 | ... | ... |
| ... | @@ -78,7 +78,9 @@ | ... | @@ -78,7 +78,9 @@ |
| 78 | </tr> | 78 | </tr> |
| 79 | <tr style="background:#ffffff;"> | 79 | <tr style="background:#ffffff;"> |
| 80 | <td align="center" colspan="4" style="padding-bottom:10px"> | 80 | <td align="center" colspan="4" style="padding-bottom:10px"> |
| 81 | <a href="https://youtu.be/KFcLr1zngS0"> | ||
| 81 | <img width="533" src="https://yournumbers.ca/wp-content/uploads/2022/02/Group-1060@2x-1.png"/> | 82 | <img width="533" src="https://yournumbers.ca/wp-content/uploads/2022/02/Group-1060@2x-1.png"/> |
| 83 | </a> | ||
| 82 | </td> | 84 | </td> |
| 83 | </tr> | 85 | </tr> |
| 84 | 86 | ... | ... |
| ... | @@ -78,7 +78,9 @@ | ... | @@ -78,7 +78,9 @@ |
| 78 | </tr> | 78 | </tr> |
| 79 | <tr style="background:#ffffff;"> | 79 | <tr style="background:#ffffff;"> |
| 80 | <td align="center" colspan="4" style="padding-bottom:10px"> | 80 | <td align="center" colspan="4" style="padding-bottom:10px"> |
| 81 | <a href="https://youtu.be/PX_cf13eHwE"> | ||
| 81 | <img width="533" src="https://yournumbers.ca/wp-content/uploads/2022/02/Group-1060@2x.png"/> | 82 | <img width="533" src="https://yournumbers.ca/wp-content/uploads/2022/02/Group-1060@2x.png"/> |
| 83 | </a> | ||
| 82 | </td> | 84 | </td> |
| 83 | </tr> | 85 | </tr> |
| 84 | 86 | ... | ... |
| ... | @@ -78,7 +78,9 @@ | ... | @@ -78,7 +78,9 @@ |
| 78 | </tr> | 78 | </tr> |
| 79 | <tr style="background:#ffffff;"> | 79 | <tr style="background:#ffffff;"> |
| 80 | <td align="center" colspan="4" style="padding-bottom:10px"> | 80 | <td align="center" colspan="4" style="padding-bottom:10px"> |
| 81 | <a href="https://youtu.be/PX_cf13eHwE"> | ||
| 81 | <img width="533" src="https://yournumbers.ca/wp-content/uploads/2022/02/Group-1060@2x-1.png"/> | 82 | <img width="533" src="https://yournumbers.ca/wp-content/uploads/2022/02/Group-1060@2x-1.png"/> |
| 83 | </a> | ||
| 82 | </td> | 84 | </td> |
| 83 | </tr> | 85 | </tr> |
| 84 | 86 | ... | ... |
This diff is collapsed.
Click to expand it.
| ... | @@ -169,23 +169,10 @@ function count_stores( ) { | ... | @@ -169,23 +169,10 @@ function count_stores( ) { |
| 169 | add_action("wp_ajax_nopriv_send_planner_notice", "send_planner_notice"); | 169 | add_action("wp_ajax_nopriv_send_planner_notice", "send_planner_notice"); |
| 170 | add_action("wp_ajax_send_planner_notice", "send_planner_notice"); | 170 | add_action("wp_ajax_send_planner_notice", "send_planner_notice"); |
| 171 | 171 | ||
| 172 | function send_planner_notice() | ||
| 173 | { | ||
| 174 | send_planner_email($_REQUEST); | ||
| 175 | $planner_id = $_REQUEST['planner_id']; | ||
| 176 | $url = get_post_meta($planner_id,'wpsl_url', true); | ||
| 177 | $planner_name = get_the_title($planner_id); | ||
| 178 | if($url !=""){ | ||
| 179 | $planner_name = "<a href='".get_post_meta($planner_id,'wpsl_url', true)."'>".get_the_title($planner_id)."</a>"; | ||
| 180 | } | ||
| 181 | //$result['html'] = "<br><hr><center><strong>". $planner_name ."</strong><br>".get_post_meta($planner_id,'wpsl_address', true)."<br>".get_post_meta($planner_id,'wpsl_city', true).", ".get_post_meta($planner_id,'wpsl_state', true)." ".get_post_meta($planner_id,'wpsl_zip', true)."<br>".get_post_meta($planner_id,'wpsl_phone', true).'</center><hr>'; | ||
| 182 | $result['html'] =""; | ||
| 183 | $result['success'] = true; | ||
| 184 | 172 | ||
| 185 | wp_send_json_success($result); | ||
| 186 | |||
| 187 | die; | ||
| 188 | } | ||
| 189 | 173 | ||
| 190 | 174 | ||
| 191 | add_filter( 'wpsl_include_post_content', '__return_true' ); | 175 | add_filter( 'wpsl_include_post_content', '__return_true' ); |
| 176 | |||
| 177 | |||
| 178 | ... | ... |
| ... | @@ -208,6 +208,31 @@ $(window).on('load resize scroll', function() { | ... | @@ -208,6 +208,31 @@ $(window).on('load resize scroll', function() { |
| 208 | 208 | ||
| 209 | }); | 209 | }); |
| 210 | 210 | ||
| 211 | |||
| 212 | $(document).on("click","#download-email-qafp a",function() { | ||
| 213 | if ($(window).width() < 600) { | ||
| 214 | console.log($(window).width() ); | ||
| 215 | $('html, body').css({ | ||
| 216 | overflow: 'hidden', | ||
| 217 | height: '100vh' | ||
| 218 | }); | ||
| 219 | } | ||
| 220 | $('#exampleModalLong').find('form').append('<input type="hidden" name="designation" value="QAFP"/>') | ||
| 221 | $('#exampleModalLong').modal('show'); | ||
| 222 | }); | ||
| 223 | |||
| 224 | $(document).on("click","#download-email-cfp a",function() { | ||
| 225 | if ($(window).width() < 600) { | ||
| 226 | console.log($(window).width() ); | ||
| 227 | $('html, body').css({ | ||
| 228 | overflow: 'hidden', | ||
| 229 | height: '100vh' | ||
| 230 | }); | ||
| 231 | } | ||
| 232 | $('#exampleModalLong').find('form').append('<input type="hidden" name="designation" value="CFP"/>') | ||
| 233 | $('#exampleModalLong').modal('show'); | ||
| 234 | }); | ||
| 235 | |||
| 211 | $(document).on("click",".find-a-planner-close",function() { | 236 | $(document).on("click",".find-a-planner-close",function() { |
| 212 | 237 | ||
| 213 | if ($(window).width() < 600) { | 238 | if ($(window).width() < 600) { |
| ... | @@ -222,6 +247,32 @@ $(window).on('load resize scroll', function() { | ... | @@ -222,6 +247,32 @@ $(window).on('load resize scroll', function() { |
| 222 | $('#exampleModalLong').modal('hide'); | 247 | $('#exampleModalLong').modal('hide'); |
| 223 | }); | 248 | }); |
| 224 | 249 | ||
| 250 | $(document).on("click","#download-email",function() { | ||
| 251 | |||
| 252 | if ($(window).width() < 600) { | ||
| 253 | console.log($(window).width() ); | ||
| 254 | |||
| 255 | $('html, body').css({ | ||
| 256 | overflow: 'scroll', | ||
| 257 | height: 'auto' | ||
| 258 | }); | ||
| 259 | } | ||
| 260 | $('#exampleModalLong').modal('hide'); | ||
| 261 | }); | ||
| 262 | |||
| 263 | $(document).on("click",".find-a-email-close",function() { | ||
| 264 | |||
| 265 | if ($(window).width() < 600) { | ||
| 266 | console.log($(window).width() ); | ||
| 267 | |||
| 268 | $('html, body').css({ | ||
| 269 | overflow: 'scroll', | ||
| 270 | height: 'auto' | ||
| 271 | }); | ||
| 272 | } | ||
| 273 | $('#exampleModalLong').modal('hide'); | ||
| 274 | }); | ||
| 275 | |||
| 225 | 276 | ||
| 226 | document.addEventListener( 'wpcf7submit', function( event ) { | 277 | document.addEventListener( 'wpcf7submit', function( event ) { |
| 227 | if ( '209' == event.detail.contactFormId ) { | 278 | if ( '209' == event.detail.contactFormId ) { |
| ... | @@ -232,14 +283,8 @@ $(window).on('load resize scroll', function() { | ... | @@ -232,14 +283,8 @@ $(window).on('load resize scroll', function() { |
| 232 | return; | 283 | return; |
| 233 | } | 284 | } |
| 234 | event.preventDefault(); | 285 | event.preventDefault(); |
| 235 | var service_choices = ""; | 286 | |
| 236 | $('.service-choose-container input[type="checkbox"]:checked').each(function() { | 287 | |
| 237 | if(service_choices == "") { | ||
| 238 | service_choices = $(this).val(); | ||
| 239 | } else { | ||
| 240 | service_choices += ", " + $(this).val(); | ||
| 241 | } | ||
| 242 | }); | ||
| 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>'; | 288 | 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({ | 289 | jQuery.ajax({ |
| 245 | url: '/wp-admin/admin-ajax.php', | 290 | url: '/wp-admin/admin-ajax.php', |
| ... | @@ -253,7 +298,7 @@ $(window).on('load resize scroll', function() { | ... | @@ -253,7 +298,7 @@ $(window).on('load resize scroll', function() { |
| 253 | age: $("[name='your-age']").val(), | 298 | age: $("[name='your-age']").val(), |
| 254 | about: $("[name='talk-about']").val(), | 299 | about: $("[name='talk-about']").val(), |
| 255 | contact: $("[name='contact-by']").val(), | 300 | contact: $("[name='contact-by']").val(), |
| 256 | choices:service_choices | 301 | |
| 257 | }, | 302 | }, |
| 258 | beforeSend: function(xhr) { | 303 | beforeSend: function(xhr) { |
| 259 | 304 | ||
| ... | @@ -266,6 +311,41 @@ $(window).on('load resize scroll', function() { | ... | @@ -266,6 +311,41 @@ $(window).on('load resize scroll', function() { |
| 266 | 311 | ||
| 267 | }); | 312 | }); |
| 268 | } | 313 | } |
| 314 | |||
| 315 | if ( '416' == event.detail.contactFormId ) { | ||
| 316 | |||
| 317 | if($(event.target).hasClass('invalid')) { | ||
| 318 | $('#exampleModalLong').find('form').show(); | ||
| 319 | return; | ||
| 320 | } | ||
| 321 | event.preventDefault(); | ||
| 322 | |||
| 323 | |||
| 324 | var html= ''; | ||
| 325 | jQuery.ajax({ | ||
| 326 | url: '/wp-admin/admin-ajax.php', | ||
| 327 | method: "POST", | ||
| 328 | data: { | ||
| 329 | action: 'download_email', | ||
| 330 | name: $("[name='your-name']").val(), | ||
| 331 | company: $("[name='company-name']").val(), | ||
| 332 | title: $("[name='your-title']").val(), | ||
| 333 | phone: $("[name='your-phone']").val(), | ||
| 334 | designation: $("[name='designation']").val(), | ||
| 335 | |||
| 336 | }, | ||
| 337 | beforeSend: function(xhr) { | ||
| 338 | |||
| 339 | }, | ||
| 340 | success: function(response) { | ||
| 341 | $('#exampleModalLong').find('form').html(html); | ||
| 342 | var link = '<a id="download-email" class="wp-block-button__link" href="'+response.data.file+'" download>DOWNLOAD HTML FILES</a>' ; | ||
| 343 | $('#exampleModalLong').find('form').append(link); | ||
| 344 | $('#exampleModalLong').find('form').show(); | ||
| 345 | } | ||
| 346 | |||
| 347 | }); | ||
| 348 | } | ||
| 269 | }, false ); | 349 | }, false ); |
| 270 | 350 | ||
| 271 | 351 | ... | ... |
| ... | @@ -670,6 +670,12 @@ height: 87vh; | ... | @@ -670,6 +670,12 @@ height: 87vh; |
| 670 | } | 670 | } |
| 671 | 671 | ||
| 672 | } | 672 | } |
| 673 | #exampleModalLong.download{ | ||
| 674 | .modal-dialog{ | ||
| 675 | width: 400px; | ||
| 676 | margin-top: 5%; | ||
| 677 | } | ||
| 678 | } | ||
| 673 | .label-search-input{ | 679 | .label-search-input{ |
| 674 | color: #5B6770; | 680 | color: #5B6770; |
| 675 | } | 681 | } | ... | ... |
| ... | @@ -155,3 +155,20 @@ a.wp-block-button__link:hover{ | ... | @@ -155,3 +155,20 @@ a.wp-block-button__link:hover{ |
| 155 | } | 155 | } |
| 156 | 156 | ||
| 157 | } | 157 | } |
| 158 | |||
| 159 | a.wp-block-button__link { | ||
| 160 | background-color: #012169; | ||
| 161 | text-transform: uppercase; | ||
| 162 | font-family: "Calibri-bold"; | ||
| 163 | font-size: 18px; | ||
| 164 | border-radius: 0px; | ||
| 165 | padding: 15px 15px; | ||
| 166 | color:#fff !important; | ||
| 167 | width: 100%; | ||
| 168 | |||
| 169 | } | ||
| 170 | a.wp-block-button__link:focus, | ||
| 171 | a.wp-block-button__link:hover{ | ||
| 172 | background-color: #005eb8; | ||
| 173 | text-decoration: none !important; | ||
| 174 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -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.30358 | 8 | Version: 1.1.30359 |
| 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