27797fb0 by Jeff Balicki

ttt

1 parent b7ee759c
...@@ -17184,6 +17184,87 @@ ss3-force-full-width { ...@@ -17184,6 +17184,87 @@ ss3-force-full-width {
17184 margin: auto; 17184 margin: auto;
17185 } 17185 }
17186 17186
17187 #wrapper-navbar.sub {
17188 position: fixed;
17189 width: 100%;
17190 background: white;
17191 z-index: 99999;
17192 max-height: 69px;
17193 box-shadow: 0px 2px 9px 3px rgba(0, 0, 0, 0.43);
17194 }
17195 #wrapper-navbar.sub .navbar {
17196 padding-top: 0.1rem;
17197 padding-bottom: 0.1rem;
17198 }
17199
17200 #full-width-page-wrapper.sub {
17201 padding-top: 120px;
17202 padding-bottom: 60px;
17203 }
17204 #full-width-page-wrapper.sub h1, #full-width-page-wrapper.sub .h1 {
17205 font: normal normal bold 3.75rem/3.75rem Calibri;
17206 color: #012169;
17207 text-shadow: none;
17208 }
17209 #full-width-page-wrapper.sub h2, #full-width-page-wrapper.sub .h2 {
17210 font: normal normal bold 2.5rem/3.125rem Calibri;
17211 font-family: "Calibri-bold";
17212 margin-top: 60px;
17213 color: #012169;
17214 }
17215 #full-width-page-wrapper.sub h3, #full-width-page-wrapper.sub .h3 {
17216 font: normal normal bold 1.875rem/2.5rem Calibri;
17217 font-family: "Calibri-bold";
17218 margin-top: 60px;
17219 color: #012169;
17220 margin-bottom: 5px;
17221 }
17222 #full-width-page-wrapper.sub h4, #full-width-page-wrapper.sub .h4 {
17223 font: normal normal bold 1.25rem/1.875rem Calibri;
17224 font-family: "Calibri-bold";
17225 margin-top: 60px;
17226 color: #012169;
17227 margin-bottom: 10px;
17228 }
17229 #full-width-page-wrapper.sub .h3-first {
17230 margin-top: -20px;
17231 }
17232 #full-width-page-wrapper.sub p {
17233 color: #5B6770;
17234 }
17235 #full-width-page-wrapper.sub li {
17236 color: #5B6770;
17237 line-height: 1.3125rem;
17238 padding-bottom: 10px;
17239 }
17240 #full-width-page-wrapper.sub table {
17241 font-family: Arial, Helvetica, sans-serif;
17242 border-collapse: collapse;
17243 width: 100%;
17244 }
17245 #full-width-page-wrapper.sub table td, #full-width-page-wrapper.sub table th {
17246 border: 0px solid #E5E6E6;
17247 padding: 17px 8px 17px 17px;
17248 color: #5B6770;
17249 }
17250 #full-width-page-wrapper.sub table tr td:first-child {
17251 width: 23%;
17252 }
17253 #full-width-page-wrapper.sub table tr:nth-child(odd) {
17254 background-color: #E5E6E6;
17255 }
17256 #full-width-page-wrapper.sub table tr:nth-child(even) {
17257 background-color: #F3F3F3;
17258 }
17259 #full-width-page-wrapper.sub .wp-block-button__link {
17260 background-color: #012169;
17261 border-radius: 0rem;
17262 }
17263 #full-width-page-wrapper.sub a.wp-block-button__link:focus,
17264 #full-width-page-wrapper.sub a.wp-block-button__link:hover {
17265 background-color: #005eb8;
17266 }
17267
17187 #wrapper-footer { 17268 #wrapper-footer {
17188 background-color: #012169; 17269 background-color: #012169;
17189 height: auto; 17270 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.
1 <?php
2 /**
3 * Header Navbar (bootstrap5)
4 *
5 * @package Understrap
6 */
7
8 // Exit if accessed directly.
9 defined( 'ABSPATH' ) || exit;
10
11 $container = "cont";
12 //get_theme_mod( 'understrap_container_type' );
13 ?>
14
15 <nav id="main-nav" class="navbar" aria-labelledby="main-nav-label">
16
17 <h2 id="main-nav-label" class="screen-reader-text">
18 <?php esc_html_e( 'Main Navigation', 'understrap' ); ?>
19 </h2>
20
21
22 <div class="<?php echo esc_attr( $container ); ?>">
23
24 <!-- Your site title as branding in the menu -->
25 <?php if ( ! has_custom_logo() ) { ?>
26
27 <?php if ( is_front_page() && is_home() ) : ?>
28
29 <h1 class="navbar-brand mb-0"><a rel="home" href="<?php echo esc_url( home_url( '/' ) ); ?>" itemprop="url"><?php bloginfo( 'name' ); ?></a></h1>
30
31 <?php else : ?>
32
33 <a class="navbar-brand" rel="home" href="<?php echo esc_url( home_url( '/' ) ); ?>" itemprop="url"><?php bloginfo( 'name' ); ?></a>
34
35 <?php endif; ?>
36
37 <?php
38 } else {
39 the_custom_logo();
40 }
41 ?>
42 <!-- end custom logo
43
44 <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="<?php esc_attr_e( 'Toggle navigation', 'understrap' ); ?>">
45 <span class="navbar-toggler-icon"></span>
46 </button>
47
48 The WordPress Menu goes here -->
49 <?php
50 wp_nav_menu(
51 array(
52 'theme_location' => 'primary',
53 'container_class' => 'collapse navbar-collapse',
54 'container_id' => 'navbarNavDropdown',
55 'menu_class' => 'navbar-nav ms-auto',
56 'fallback_cb' => '',
57 'menu_id' => 'main-menu',
58 'depth' => 2,
59 'walker' => new Understrap_WP_Bootstrap_Navwalker(),
60 )
61 );
62 ?>
63
64 </div><!-- .container(-fluid) -->
65
66 </nav><!-- .site-navigation -->
1 <?php
2 /**
3 * The header for our theme
4 *
5 * Displays all of the <head> section and everything up till <div id="content">
6 *
7 * @package Understrap
8 */
9
10 // Exit if accessed directly.
11 defined( 'ABSPATH' ) || exit;
12
13 $bootstrap_version = get_theme_mod( 'understrap_bootstrap_version', 'bootstrap4' );
14 $navbar_type = get_theme_mod( 'understrap_navbar_type', 'collapse-sub' );
15 ?>
16 <!DOCTYPE html>
17 <html <?php language_attributes(); ?>>
18 <head>
19 <meta charset="<?php bloginfo( 'charset' ); ?>">
20 <meta name="viewport" content="width=device-width, initial-scale=1">
21 <link rel="profile" href="http://gmpg.org/xfn/11">
22 <link rel="icon" href="../favicon_fpcan.png" type="image/x-icon" />
23 <!-- Google Tag Manager -->
24 <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
25 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
26 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
27 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
28 })(window,document,'script','dataLayer','GTM-NPF5PDM');</script>
29 <!-- End Google Tag Manager -->
30 <?php wp_head(); ?>
31 </head>
32
33 <body <?php body_class(); ?> <?php understrap_body_attributes(); ?>>
34 <!-- Google Tag Manager (noscript) -->
35 <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NPF5PDM"
36 height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
37 <!-- End Google Tag Manager (noscript) -->
38
39
40 <?php do_action( 'wp_body_open' ); ?>
41 <div class="site" id="page">
42
43 <!-- ******************* The Navbar Area ******************* -->
44 <header id="wrapper-navbar" class="sub">
45
46 <a class="skip-link sr-only sr-only-focusable" href="#content"><?php esc_html_e( 'Skip to content', 'understrap' ); ?></a>
47
48 <?php get_template_part( 'global-templates/navbar', $navbar_type . '-' . $bootstrap_version ); ?>
49
50 </header><!-- #wrapper-navbar end -->
1 <!DOCTYPE html>
2 <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office">
3 <head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width,initial-scale=1">
6 <meta name="x-apple-disable-message-reformatting">
7 <title></title>
8 <!--[if mso]>
9 <noscript>
10 <xml>
11 <o:OfficeDocumentSettings>
12 <o:PixelsPerInch>96</o:PixelsPerInch>
13 </o:OfficeDocumentSettings>
14 </xml>
15 </noscript>
16 <![endif]-->
17 <style>
18 @font-face { font-family: Calibri;
19 src: url('https://yournumbers.ca/wp-content/themes/understrap-child/Calibri.woff') format('woff'); }
20 @font-face { font-family: Calibri-bold;
21 src: url('https://yournumbers.ca/wp-content/themes/understrap-child/Calibri-Bold.woff') format('woff'); }
22 table, td, div, h1, p {font-family: Calibri;}
23 strong{font-family: Calibri;}
24 </style>
25 </head>
26 <body style="margin:0;padding:0;">
27 <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;background:#ffffff;">
28 <tr>
29 <td align="center" style="padding:0;">
30 <table bgcolor="#582C83" role="presentation" style="width:602px;border-collapse:collapse;border-spacing:0;text-align:left;">
31 <tr style="background:#582C83;">
32 <td align="center">
33 &nbsp;
34 </td>
35 <td align="center">
36 &nbsp;
37 </td>
38 <td align="center" width="135">
39 <img width="135" src="https://yournumbers.ca/wp-content/uploads/2022/01/Group-1073@2x.png" class="img-fluid" alt="FP Canada">
40 </td>
41 <td align="center" width="40">
42 &nbsp;&nbsp;
43 </td>
44 </tr>
45 <tr style="background:#582C83;">
46 <td colspan="4" style="padding:36px 30px 42px 30px;">
47 <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;">
48 <tr>
49 <td style="padding:0 0 36px 0;color:#153643;">
50 <h1 style="font-size:50px;line-height:55px;color:#fff;margin:0 0 20px 0; font-family: Calibri-bold;">
51 IMPORTANT<br>WYN CAMPAIGN<br>REGISTRATION INFORMATION
52 </h1>
53 </td>
54 </tr>
55 </table>
56 </td>
57 </tr>
58 <tr style="background:#ffffff;">
59 <td colspan="4" style="padding:36px 30px 42px 30px;">
60 <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;">
61 <tr>
62 <td colspan="3" style="padding:0 0 36px 0;color:#153643;">
63 <p style="margin:0 0 12px 0;font-size:24px;line-height:28px;font-family: Calibri;color:#012169;">We've received your “What’s Your Number” Campaign registration information and we’ll confirm program acceptance within two business days from now. If we have questions, we’ll let you know or we will simply confirm acceptance.</p>
64 <p style="margin:0;font-weight:bold;font-size:20px;line-height:22px;font-family: Calibri-bold;color:#5B6770;">If you have questions, contact us at <a style="color:#012169;text-decoration: none;" href="mailto:wyncampaign@fpcanada.ca">wyncampaign@fpcanada.ca</a></p>
65 </td>
66 </tr>
67 <tr style="background:#ffffff;">
68 <td colspan="4" style="padding-bottom:10px">
69 </td>
70 </tr>
71 <tr>
72 <td align="center">
73 &nbsp;
74 </td>
75 <td align="center">
76 <img width="147" src="https://yournumbers.ca/wp-content/uploads/2022/01/Group-1028@2x.png" class="img-fluid" alt="FP Canada">
77 </td>
78 <td align="center">
79 &nbsp;
80 </td>
81 </tr>
82 </table>
83 </td>
84 </tr>
85 <tr>
86 <td colspan="4" style="padding:30px;background:#fff;">
87 <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;font-size:9px;font-family:Arial,sans-serif;">
88 <tr>
89 <td style="padding-bottom:50px;width:5%;" align="left">
90 &nbsp;&nbsp;
91 </td>
92 <td style="padding:0;width:90%;border-top: 1px solid #000;" align="left">
93 <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;">
94 <tr>
95 <td colspan="6" style="padding:0;width:5%;" align="left">
96 &nbsp;&nbsp;
97 </td>
98 </tr>
99 <tr>
100 <td style="padding:0;width:5%;" align="center">
101 &nbsp;&nbsp;
102 </td>
103 <td style="padding:0;width:5%;" align="center">
104 <a href="https://twitter.com/OfficialFPCan">
105 <img width="16" src="https://yournumbers.ca/wp-content/uploads/2022/01/t.png" class="img-fluid" alt="FP Canada">
106 </a>
107 </td>
108 <td style="padding:0;width:5%;" align="center">
109 <a href="https://www.facebook.com/OfficialFPCanada">
110 <img width="8" src="https://yournumbers.ca/wp-content/uploads/2022/01/fb.png" class="img-fluid" alt="FP Canada">
111 </a>
112 </td>
113 <td style="padding:0;width:5%;" align="center">
114 <a href="https://www.youtube.com/c/FPCanadaOfficial">
115 <img width="16" src="https://yournumbers.ca/wp-content/uploads/2022/01/you.png" class="img-fluid" alt="FP Canada">
116 </a>
117 </td>
118 <td style="padding:0;width:5%;" align="center">
119 <a href="https://www.linkedin.com/company/fpcanada/">
120 <img width="16" src="https://yournumbers.ca/wp-content/uploads/2022/01/link.png" class="img-fluid" alt="FP Canada">
121 </a>
122 </td>
123 <td style="padding:0;width:5%;" align="center">
124 &nbsp;&nbsp;
125 </td>
126 </tr>
127 </table>
128 </td>
129 <td style="padding:0;width:5%;" align="left">
130 </td>
131 </tr>
132 <tr>
133 <td style="padding-bottom:0px;width:5%;" align="left">
134 &nbsp;&nbsp;
135 </td>
136 </tr>
137 <tr>
138 <td colspan="4" style="padding-bottom:10px;width:5%; font-size:14px;" align="center">
139 <p><strong>FP Canada</strong><br>
140 902-375 University Ave.<br>
141 Toronto, ON M5G 2J5 <br>
142 <a style="color:#5B6770;text-decoration: none;" href="tel:1 800 305 9886">1 800 305 9886</a> | <a style="color:#5B6770;text-decoration: none;" href="mailto:wyncampaign@fpcanada.ca">wyncampaign@fpcanada.ca</a>
143 </p>
144 <p style="color:#5B6770;"><i>Copyright © 2022 FP Canada, All rights reserved.</i></p>
145
146 <p style="color:#5B6770;">CFP®, Certified Financial Planner® and CFP logo are trademarks owned by Financial Planning Standards Board Ltd. (FPSB) and used under license. QAFP™, Qualified Associate Financial Planner, QAFP logo and all other trademarks are owned by FP Canada™. © 2022 FP Canada™. All rights reserved.</p>
147 </td>
148 </tr>
149 </table>
150 </td>
151 </tr>
152 </table>
153 </td>
154 </tr>
155 </table>
156
157 </body>
158 </html>
159
160
161
162
163
164
...@@ -107,7 +107,7 @@ function send_planner_email($data) ...@@ -107,7 +107,7 @@ function send_planner_email($data)
107 $headers = array('Content-Type: text/html; charset=UTF-8'); 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> 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> 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><tr><td>POSTAL CODE:</td></tr></table><br/><br/>"; 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 111
112 wp_mail($to, $subject, $body, $headers); 112 wp_mail($to, $subject, $body, $headers);
113 113
......
1 <?php
2 /**
3 * Partial template for content in page.php
4 *
5 * @package Understrap
6 */
7
8 // Exit if accessed directly.
9 defined( 'ABSPATH' ) || exit;
10 ?>
11
12 <article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
13
14
15
16 <div class="entry-content">
17 <h1><?php echo get_the_title(); ?></h1>
18 <?php
19 the_content();
20 understrap_link_pages();
21 ?>
22
23 </div><!-- .entry-content -->
24
25 <footer class="entry-footer">
26
27 <?php understrap_edit_post_link(); ?>
28
29 </footer><!-- .entry-footer -->
30
31 </article><!-- #post-## -->
1 <?php
2 /**
3 * Template Name: Sub Page
4 *
5 * Template for displaying a page without sidebar even if a sidebar widget is published.
6 *
7 * @package Understrap
8 */
9
10 // Exit if accessed directly.
11 defined( 'ABSPATH' ) || exit;
12
13 get_header('sub');
14 //$container = "full-width";
15 $container = get_theme_mod( 'understrap_container_type' );
16
17 //get_template_part( 'global-templates/numbers_hero' );
18
19 ?>
20
21 <div class="wrapper sub" id="full-width-page-wrapper">
22
23 <div class="<?php echo esc_attr( $container ); ?>" id="content">
24
25 <div class="row">
26
27 <div class="col-md-12 content-area" id="primary">
28
29 <main class="site-main" id="main" role="main">
30
31 <?php
32 while ( have_posts() ) {
33 the_post();
34 get_template_part( 'loop-templates/content', 'sub' );
35
36 // If comments are open or we have at least one comment, load up the comment template.
37 if ( comments_open() || get_comments_number() ) {
38 comments_template();
39 }
40 }
41 ?>
42
43 </main><!-- #main -->
44
45 </div><!-- #primary -->
46
47 </div><!-- .row end -->
48
49 </div><!-- #content -->
50
51 </div><!-- #full-width-page-wrapper -->
52 <div class="modal fade " id="exampleModalLong" tabindex="-1" role="dialog" aria-labelledby="exampleModalLongTitle" aria-hidden="true">
53 <div class="modal-dialog" role="document">
54 <div class="modal-content">
55 <div class="modal-header">
56 <button type="button" class="close find-a-planner-close" data-dismiss="modal" aria-label="Close">
57 <span aria-hidden="true">&times;</span>
58 </button>
59 </div>
60 <div class="modal-body">
61 <?php echo do_shortcode('[contact-form-7 id="209" title="Find a professional planner"]'); ?>
62 </div>
63 </div>
64 </div>
65 </div>
66 <?php
67 get_footer('numbers');
...@@ -10,7 +10,8 @@ ...@@ -10,7 +10,8 @@
10 // Any additional imported files // 10 // Any additional imported files //
11 @import "theme/child_theme"; // <------- Add your styles into this file 11 @import "theme/child_theme"; // <------- Add your styles into this file
12 @import "theme/certificant"; 12 @import "theme/certificant";
13 @import "theme/numbers"; 13 @import "theme/numbers";
14 @import "theme/sub";
14 @import "theme/footer"; // <------- Add your styles into this file 15 @import "theme/footer"; // <------- Add your styles into this file
15 @import "assets/understrap/theme/colors"; // <-------- This creates the necessary bootstrap color classes. 16 @import "assets/understrap/theme/colors"; // <-------- This creates the necessary bootstrap color classes.
16 @import "assets/understrap/theme/blocks"; // <-------- This adds Bootstrap styles to blocks. 17 @import "assets/understrap/theme/blocks"; // <-------- This adds Bootstrap styles to blocks.
......
1 #wrapper-navbar.sub {
2 position: fixed;
3 width: 100%;
4 background: white;
5 z-index: 99999;
6 max-height: 69px;
7 -webkit-box-shadow: 0px 2px 9px 3px rgba(0,0,0,0.43);
8 box-shadow: 0px 2px 9px 3px rgba(0,0,0,0.43);
9 .navbar{
10 padding-top: 0.1rem;
11 padding-bottom: 0.1rem;
12 }
13 }
14
15 #full-width-page-wrapper.sub{
16 padding-top: 120px;
17 padding-bottom: 60px;
18 h1{
19 font: normal normal bold 60px/60px Calibri;
20 color: #012169;
21 text-shadow:none;
22 }
23 h2{
24 font: normal normal bold 40px/50px Calibri;
25 font-family: "Calibri-bold";
26 margin-top: 60px;
27 color: #012169;
28 }
29 h3{
30 font: normal normal bold 30px/40px Calibri;
31 font-family: "Calibri-bold";
32 margin-top: 60px;
33 color: #012169;
34 margin-bottom: 5px;
35 }
36 h4{
37 font: normal normal bold 20px/30px Calibri;
38 font-family: "Calibri-bold";
39 margin-top: 60px;
40 color: #012169;
41 margin-bottom: 10px;
42 }
43 .h3-first{
44 margin-top: -20px;
45 }
46 p{
47 color:#5B6770;
48 }
49 li{
50 color:#5B6770;
51 line-height: 21px;
52 padding-bottom:10px;
53 }
54 table {
55 font-family: Arial, Helvetica, sans-serif;
56 border-collapse: collapse;
57 width: 100%;
58 }
59
60 table td, table th {
61 border: 0px solid #E5E6E6;
62 padding: 17px 8px 17px 17px;
63 color:#5B6770;
64 }
65
66 table tr td:first-child{
67 width: 23%;
68 }
69 table tr:nth-child(odd){background-color: #E5E6E6;}
70 table tr:nth-child(even){background-color: #F3F3F3;}
71
72 .wp-block-button__link{
73 background-color: #012169;
74 border-radius: 0rem;
75 }
76 a.wp-block-button__link:focus,
77 a.wp-block-button__link:hover{
78 background-color: #005eb8;
79 }
80
81 }
...\ No newline at end of file ...\ No newline at end of file