27797fb0 by Jeff Balicki

ttt

1 parent b7ee759c
......@@ -17184,6 +17184,87 @@ ss3-force-full-width {
margin: auto;
}
#wrapper-navbar.sub {
position: fixed;
width: 100%;
background: white;
z-index: 99999;
max-height: 69px;
box-shadow: 0px 2px 9px 3px rgba(0, 0, 0, 0.43);
}
#wrapper-navbar.sub .navbar {
padding-top: 0.1rem;
padding-bottom: 0.1rem;
}
#full-width-page-wrapper.sub {
padding-top: 120px;
padding-bottom: 60px;
}
#full-width-page-wrapper.sub h1, #full-width-page-wrapper.sub .h1 {
font: normal normal bold 3.75rem/3.75rem Calibri;
color: #012169;
text-shadow: none;
}
#full-width-page-wrapper.sub h2, #full-width-page-wrapper.sub .h2 {
font: normal normal bold 2.5rem/3.125rem Calibri;
font-family: "Calibri-bold";
margin-top: 60px;
color: #012169;
}
#full-width-page-wrapper.sub h3, #full-width-page-wrapper.sub .h3 {
font: normal normal bold 1.875rem/2.5rem Calibri;
font-family: "Calibri-bold";
margin-top: 60px;
color: #012169;
margin-bottom: 5px;
}
#full-width-page-wrapper.sub h4, #full-width-page-wrapper.sub .h4 {
font: normal normal bold 1.25rem/1.875rem Calibri;
font-family: "Calibri-bold";
margin-top: 60px;
color: #012169;
margin-bottom: 10px;
}
#full-width-page-wrapper.sub .h3-first {
margin-top: -20px;
}
#full-width-page-wrapper.sub p {
color: #5B6770;
}
#full-width-page-wrapper.sub li {
color: #5B6770;
line-height: 1.3125rem;
padding-bottom: 10px;
}
#full-width-page-wrapper.sub table {
font-family: Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 100%;
}
#full-width-page-wrapper.sub table td, #full-width-page-wrapper.sub table th {
border: 0px solid #E5E6E6;
padding: 17px 8px 17px 17px;
color: #5B6770;
}
#full-width-page-wrapper.sub table tr td:first-child {
width: 23%;
}
#full-width-page-wrapper.sub table tr:nth-child(odd) {
background-color: #E5E6E6;
}
#full-width-page-wrapper.sub table tr:nth-child(even) {
background-color: #F3F3F3;
}
#full-width-page-wrapper.sub .wp-block-button__link {
background-color: #012169;
border-radius: 0rem;
}
#full-width-page-wrapper.sub a.wp-block-button__link:focus,
#full-width-page-wrapper.sub a.wp-block-button__link:hover {
background-color: #005eb8;
}
#wrapper-footer {
background-color: #012169;
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.
<?php
/**
* Header Navbar (bootstrap5)
*
* @package Understrap
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
$container = "cont";
//get_theme_mod( 'understrap_container_type' );
?>
<nav id="main-nav" class="navbar" aria-labelledby="main-nav-label">
<h2 id="main-nav-label" class="screen-reader-text">
<?php esc_html_e( 'Main Navigation', 'understrap' ); ?>
</h2>
<div class="<?php echo esc_attr( $container ); ?>">
<!-- Your site title as branding in the menu -->
<?php if ( ! has_custom_logo() ) { ?>
<?php if ( is_front_page() && is_home() ) : ?>
<h1 class="navbar-brand mb-0"><a rel="home" href="<?php echo esc_url( home_url( '/' ) ); ?>" itemprop="url"><?php bloginfo( 'name' ); ?></a></h1>
<?php else : ?>
<a class="navbar-brand" rel="home" href="<?php echo esc_url( home_url( '/' ) ); ?>" itemprop="url"><?php bloginfo( 'name' ); ?></a>
<?php endif; ?>
<?php
} else {
the_custom_logo();
}
?>
<!-- end custom logo
<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' ); ?>">
<span class="navbar-toggler-icon"></span>
</button>
The WordPress Menu goes here -->
<?php
wp_nav_menu(
array(
'theme_location' => 'primary',
'container_class' => 'collapse navbar-collapse',
'container_id' => 'navbarNavDropdown',
'menu_class' => 'navbar-nav ms-auto',
'fallback_cb' => '',
'menu_id' => 'main-menu',
'depth' => 2,
'walker' => new Understrap_WP_Bootstrap_Navwalker(),
)
);
?>
</div><!-- .container(-fluid) -->
</nav><!-- .site-navigation -->
<?php
/**
* The header for our theme
*
* Displays all of the <head> section and everything up till <div id="content">
*
* @package Understrap
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
$bootstrap_version = get_theme_mod( 'understrap_bootstrap_version', 'bootstrap4' );
$navbar_type = get_theme_mod( 'understrap_navbar_type', 'collapse-sub' );
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="icon" href="../favicon_fpcan.png" type="image/x-icon" />
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NPF5PDM');</script>
<!-- End Google Tag Manager -->
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?> <?php understrap_body_attributes(); ?>>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NPF5PDM"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<?php do_action( 'wp_body_open' ); ?>
<div class="site" id="page">
<!-- ******************* The Navbar Area ******************* -->
<header id="wrapper-navbar" class="sub">
<a class="skip-link sr-only sr-only-focusable" href="#content"><?php esc_html_e( 'Skip to content', 'understrap' ); ?></a>
<?php get_template_part( 'global-templates/navbar', $navbar_type . '-' . $bootstrap_version ); ?>
</header><!-- #wrapper-navbar end -->
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="x-apple-disable-message-reformatting">
<title></title>
<!--[if mso]>
<noscript>
<xml>
<o:OfficeDocumentSettings>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
</noscript>
<![endif]-->
<style>
@font-face { font-family: Calibri;
src: url('https://yournumbers.ca/wp-content/themes/understrap-child/Calibri.woff') format('woff'); }
@font-face { font-family: Calibri-bold;
src: url('https://yournumbers.ca/wp-content/themes/understrap-child/Calibri-Bold.woff') format('woff'); }
table, td, div, h1, p {font-family: Calibri;}
strong{font-family: Calibri;}
</style>
</head>
<body style="margin:0;padding:0;">
<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;background:#ffffff;">
<tr>
<td align="center" style="padding:0;">
<table bgcolor="#582C83" role="presentation" style="width:602px;border-collapse:collapse;border-spacing:0;text-align:left;">
<tr style="background:#582C83;">
<td align="center">
&nbsp;
</td>
<td align="center">
&nbsp;
</td>
<td align="center" width="135">
<img width="135" src="https://yournumbers.ca/wp-content/uploads/2022/01/Group-1073@2x.png" class="img-fluid" alt="FP Canada">
</td>
<td align="center" width="40">
&nbsp;&nbsp;
</td>
</tr>
<tr style="background:#582C83;">
<td colspan="4" style="padding:36px 30px 42px 30px;">
<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;">
<tr>
<td style="padding:0 0 36px 0;color:#153643;">
<h1 style="font-size:50px;line-height:55px;color:#fff;margin:0 0 20px 0; font-family: Calibri-bold;">
IMPORTANT<br>WYN CAMPAIGN<br>REGISTRATION INFORMATION
</h1>
</td>
</tr>
</table>
</td>
</tr>
<tr style="background:#ffffff;">
<td colspan="4" style="padding:36px 30px 42px 30px;">
<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;">
<tr>
<td colspan="3" style="padding:0 0 36px 0;color:#153643;">
<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>
<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>
</td>
</tr>
<tr style="background:#ffffff;">
<td colspan="4" style="padding-bottom:10px">
</td>
</tr>
<tr>
<td align="center">
&nbsp;
</td>
<td align="center">
<img width="147" src="https://yournumbers.ca/wp-content/uploads/2022/01/Group-1028@2x.png" class="img-fluid" alt="FP Canada">
</td>
<td align="center">
&nbsp;
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="4" style="padding:30px;background:#fff;">
<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;font-size:9px;font-family:Arial,sans-serif;">
<tr>
<td style="padding-bottom:50px;width:5%;" align="left">
&nbsp;&nbsp;
</td>
<td style="padding:0;width:90%;border-top: 1px solid #000;" align="left">
<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;">
<tr>
<td colspan="6" style="padding:0;width:5%;" align="left">
&nbsp;&nbsp;
</td>
</tr>
<tr>
<td style="padding:0;width:5%;" align="center">
&nbsp;&nbsp;
</td>
<td style="padding:0;width:5%;" align="center">
<a href="https://twitter.com/OfficialFPCan">
<img width="16" src="https://yournumbers.ca/wp-content/uploads/2022/01/t.png" class="img-fluid" alt="FP Canada">
</a>
</td>
<td style="padding:0;width:5%;" align="center">
<a href="https://www.facebook.com/OfficialFPCanada">
<img width="8" src="https://yournumbers.ca/wp-content/uploads/2022/01/fb.png" class="img-fluid" alt="FP Canada">
</a>
</td>
<td style="padding:0;width:5%;" align="center">
<a href="https://www.youtube.com/c/FPCanadaOfficial">
<img width="16" src="https://yournumbers.ca/wp-content/uploads/2022/01/you.png" class="img-fluid" alt="FP Canada">
</a>
</td>
<td style="padding:0;width:5%;" align="center">
<a href="https://www.linkedin.com/company/fpcanada/">
<img width="16" src="https://yournumbers.ca/wp-content/uploads/2022/01/link.png" class="img-fluid" alt="FP Canada">
</a>
</td>
<td style="padding:0;width:5%;" align="center">
&nbsp;&nbsp;
</td>
</tr>
</table>
</td>
<td style="padding:0;width:5%;" align="left">
</td>
</tr>
<tr>
<td style="padding-bottom:0px;width:5%;" align="left">
&nbsp;&nbsp;
</td>
</tr>
<tr>
<td colspan="4" style="padding-bottom:10px;width:5%; font-size:14px;" align="center">
<p><strong>FP Canada</strong><br>
902-375 University Ave.<br>
Toronto, ON M5G 2J5 <br>
<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>
</p>
<p style="color:#5B6770;"><i>Copyright © 2022 FP Canada, All rights reserved.</i></p>
<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>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
......@@ -107,7 +107,7 @@ function send_planner_email($data)
$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><tr><td>POSTAL CODE:</td></tr></table><br/><br/>";
<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);
......
<?php
/**
* Partial template for content in page.php
*
* @package Understrap
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
?>
<article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
<div class="entry-content">
<h1><?php echo get_the_title(); ?></h1>
<?php
the_content();
understrap_link_pages();
?>
</div><!-- .entry-content -->
<footer class="entry-footer">
<?php understrap_edit_post_link(); ?>
</footer><!-- .entry-footer -->
</article><!-- #post-## -->
<?php
/**
* Template Name: Sub Page
*
* Template for displaying a page without sidebar even if a sidebar widget is published.
*
* @package Understrap
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
get_header('sub');
//$container = "full-width";
$container = get_theme_mod( 'understrap_container_type' );
//get_template_part( 'global-templates/numbers_hero' );
?>
<div class="wrapper sub" id="full-width-page-wrapper">
<div class="<?php echo esc_attr( $container ); ?>" id="content">
<div class="row">
<div class="col-md-12 content-area" id="primary">
<main class="site-main" id="main" role="main">
<?php
while ( have_posts() ) {
the_post();
get_template_part( 'loop-templates/content', 'sub' );
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) {
comments_template();
}
}
?>
</main><!-- #main -->
</div><!-- #primary -->
</div><!-- .row end -->
</div><!-- #content -->
</div><!-- #full-width-page-wrapper -->
<div class="modal fade " id="exampleModalLong" tabindex="-1" role="dialog" aria-labelledby="exampleModalLongTitle" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close find-a-planner-close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<?php echo do_shortcode('[contact-form-7 id="209" title="Find a professional planner"]'); ?>
</div>
</div>
</div>
</div>
<?php
get_footer('numbers');
......@@ -10,7 +10,8 @@
// Any additional imported files //
@import "theme/child_theme"; // <------- Add your styles into this file
@import "theme/certificant";
@import "theme/numbers";
@import "theme/numbers";
@import "theme/sub";
@import "theme/footer"; // <------- Add your styles into this file
@import "assets/understrap/theme/colors"; // <-------- This creates the necessary bootstrap color classes.
@import "assets/understrap/theme/blocks"; // <-------- This adds Bootstrap styles to blocks.
......
#wrapper-navbar.sub {
position: fixed;
width: 100%;
background: white;
z-index: 99999;
max-height: 69px;
-webkit-box-shadow: 0px 2px 9px 3px rgba(0,0,0,0.43);
box-shadow: 0px 2px 9px 3px rgba(0,0,0,0.43);
.navbar{
padding-top: 0.1rem;
padding-bottom: 0.1rem;
}
}
#full-width-page-wrapper.sub{
padding-top: 120px;
padding-bottom: 60px;
h1{
font: normal normal bold 60px/60px Calibri;
color: #012169;
text-shadow:none;
}
h2{
font: normal normal bold 40px/50px Calibri;
font-family: "Calibri-bold";
margin-top: 60px;
color: #012169;
}
h3{
font: normal normal bold 30px/40px Calibri;
font-family: "Calibri-bold";
margin-top: 60px;
color: #012169;
margin-bottom: 5px;
}
h4{
font: normal normal bold 20px/30px Calibri;
font-family: "Calibri-bold";
margin-top: 60px;
color: #012169;
margin-bottom: 10px;
}
.h3-first{
margin-top: -20px;
}
p{
color:#5B6770;
}
li{
color:#5B6770;
line-height: 21px;
padding-bottom:10px;
}
table {
font-family: Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 100%;
}
table td, table th {
border: 0px solid #E5E6E6;
padding: 17px 8px 17px 17px;
color:#5B6770;
}
table tr td:first-child{
width: 23%;
}
table tr:nth-child(odd){background-color: #E5E6E6;}
table tr:nth-child(even){background-color: #F3F3F3;}
.wp-block-button__link{
background-color: #012169;
border-radius: 0rem;
}
a.wp-block-button__link:focus,
a.wp-block-button__link:hover{
background-color: #005eb8;
}
}
\ No newline at end of file