eee
Showing
6 changed files
with
450 additions
and
15 deletions
| ... | @@ -133,7 +133,8 @@ $understrap_inc_dir = 'inc'; | ... | @@ -133,7 +133,8 @@ $understrap_inc_dir = 'inc'; |
| 133 | 133 | ||
| 134 | // Array of files to include. | 134 | // Array of files to include. |
| 135 | $understrap_includes = array( | 135 | $understrap_includes = array( |
| 136 | '/emails.php' | 136 | '/emails.php', |
| 137 | '/wpsl.php' | ||
| 137 | ); | 138 | ); |
| 138 | 139 | ||
| 139 | 140 | ... | ... |
| 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://fp-canada.gotenzing.com/wp-content/themes/understrap-child/Calibri.woff') format('woff'); } | ||
| 20 | @font-face { font-family: Calibri-bold; | ||
| 21 | src: url('https://fp-canada.gotenzing.com/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="#BA0C2F" role="presentation" style="width:602px;border-collapse:collapse;border-spacing:0;text-align:left;"> | ||
| 31 | <tr style="background:#BA0C2F;"> | ||
| 32 | <td align="center"> | ||
| 33 | | ||
| 34 | </td> | ||
| 35 | <td align="center"> | ||
| 36 | | ||
| 37 | </td> | ||
| 38 | <td align="center" width="135"> | ||
| 39 | <img width="135" src="https://fp-canada.gotenzing.com/wp-content/uploads/2022/01/fp_logo.png" class="img-fluid" alt="FP Canada"> | ||
| 40 | </td> | ||
| 41 | <td align="center" width="40"> | ||
| 42 | | ||
| 43 | </td> | ||
| 44 | </tr> | ||
| 45 | <tr style="background:#BA0C2F;"> | ||
| 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 | WE’RE LOOKING<br>FORWARD TO HELPING<br>YOU WYN. | ||
| 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;">You’ve registered for the WYN Campaign. Your contact info will be made available on the Find A Planner segment of the What’s Your Number campaign microsite. Congratulations! The campaign begins on February 21, 2022</p> | ||
| 64 | <p style="margin:0 0 12px 0;font-size:24px;line-height:28px;font-family: Calibri;color:#012169;">You’ve also signed up for the WYN Webinar on February 14, 2022. The FP Canada team looks forward to taking you through the program to help you prepare for success.</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 | | ||
| 74 | </td> | ||
| 75 | <td align="center"> | ||
| 76 | <img width="147" src="https://fp-canada.gotenzing.com/wp-content/uploads/2022/01/logo.png" class="img-fluid" alt="FP Canada"> | ||
| 77 | </td> | ||
| 78 | <td align="center"> | ||
| 79 | | ||
| 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 | | ||
| 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 | | ||
| 97 | </td> | ||
| 98 | </tr> | ||
| 99 | <tr> | ||
| 100 | <td style="padding:0;width:5%;" align="center"> | ||
| 101 | | ||
| 102 | </td> | ||
| 103 | <td style="padding:0;width:5%;" align="center"> | ||
| 104 | <a href="https://twitter.com/OfficialFPCan"> | ||
| 105 | <img width="16" src="https://fp-canada.gotenzing.com/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://fp-canada.gotenzing.com/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://fp-canada.gotenzing.com/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://fp-canada.gotenzing.com/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 | | ||
| 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 | | ||
| 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 | </td> | ||
| 145 | </tr> | ||
| 146 | </table> | ||
| 147 | </td> | ||
| 148 | </tr> | ||
| 149 | </table> | ||
| 150 | </td> | ||
| 151 | </tr> | ||
| 152 | </table> | ||
| 153 | |||
| 154 | </body> | ||
| 155 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| ... | @@ -27,7 +27,7 @@ | ... | @@ -27,7 +27,7 @@ |
| 27 | <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;background:#ffffff;"> | 27 | <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;background:#ffffff;"> |
| 28 | <tr> | 28 | <tr> |
| 29 | <td align="center" style="padding:0;"> | 29 | <td align="center" style="padding:0;"> |
| 30 | <table role="presentation" style="width:602px;border-collapse:collapse;border-spacing:0;text-align:left;"> | 30 | <table bgcolor="#582C83" role="presentation" style="width:602px;border-collapse:collapse;border-spacing:0;text-align:left;"> |
| 31 | <tr style="background:#582C83;"> | 31 | <tr style="background:#582C83;"> |
| 32 | <td align="center"> | 32 | <td align="center"> |
| 33 | | 33 | |
| ... | @@ -48,7 +48,7 @@ | ... | @@ -48,7 +48,7 @@ |
| 48 | <tr> | 48 | <tr> |
| 49 | <td style="padding:0 0 36px 0;color:#153643;"> | 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;"> | 50 | <h1 style="font-size:50px;line-height:55px;color:#fff;margin:0 0 20px 0; font-family: Calibri-bold;"> |
| 51 | Important<br>Registration<br>Information | 51 | IMPORTANT<br>REGISTRATION<br>INFORMATION |
| 52 | </h1> | 52 | </h1> |
| 53 | </td> | 53 | </td> |
| 54 | </tr> | 54 | </tr> |
| ... | @@ -92,29 +92,35 @@ | ... | @@ -92,29 +92,35 @@ |
| 92 | <td style="padding:0;width:90%;border-top: 1px solid #000;" align="left"> | 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;"> | 93 | <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;"> |
| 94 | <tr> | 94 | <tr> |
| 95 | <td colspan="7" style="padding:0;width:5%;" align="left"> | 95 | <td colspan="6" style="padding:0;width:5%;" align="left"> |
| 96 | | 96 | |
| 97 | </td> | 97 | </td> |
| 98 | </tr> | 98 | </tr> |
| 99 | <tr> | 99 | <tr> |
| 100 | <td style="padding:0;width:5%;" align="left"> | 100 | <td style="padding:0;width:5%;" align="center"> |
| 101 | | ||
| 101 | </td> | 102 | </td> |
| 102 | <td style="padding:0;width:5%;" align="left"> | 103 | <td style="padding:0;width:5%;" align="center"> |
| 104 | <a href="https://twitter.com/OfficialFPCan"> | ||
| 103 | <img width="16" src="https://fp-canada.gotenzing.com/wp-content/uploads/2022/01/t.png" class="img-fluid" alt="FP Canada"> | 105 | <img width="16" src="https://fp-canada.gotenzing.com/wp-content/uploads/2022/01/t.png" class="img-fluid" alt="FP Canada"> |
| 106 | </a> | ||
| 104 | </td> | 107 | </td> |
| 105 | <td style="padding:0;width:5%;" align="left"> | 108 | <td style="padding:0;width:5%;" align="center"> |
| 109 | <a href="https://www.facebook.com/OfficialFPCanada"> | ||
| 106 | <img width="8" src="https://fp-canada.gotenzing.com/wp-content/uploads/2022/01/fb.png" class="img-fluid" alt="FP Canada"> | 110 | <img width="8" src="https://fp-canada.gotenzing.com/wp-content/uploads/2022/01/fb.png" class="img-fluid" alt="FP Canada"> |
| 111 | </a> | ||
| 107 | </td> | 112 | </td> |
| 108 | <td style="padding:0;width:5%;" align="left"> | 113 | <td style="padding:0;width:5%;" align="center"> |
| 109 | <img width="17" src="https://fp-canada.gotenzing.com/wp-content/uploads/2022/01/insta.png" class="img-fluid" alt="FP Canada"> | 114 | <a href="https://www.youtube.com/c/FPCanadaOfficial"> |
| 110 | </td> | ||
| 111 | <td style="padding:0;width:5%;" align="left"> | ||
| 112 | <img width="16" src="https://fp-canada.gotenzing.com/wp-content/uploads/2022/01/you.png" class="img-fluid" alt="FP Canada"> | 115 | <img width="16" src="https://fp-canada.gotenzing.com/wp-content/uploads/2022/01/you.png" class="img-fluid" alt="FP Canada"> |
| 116 | </a> | ||
| 113 | </td> | 117 | </td> |
| 114 | <td style="padding:0;width:5%;" align="left"> | 118 | <td style="padding:0;width:5%;" align="center"> |
| 119 | <a href="https://www.linkedin.com/company/fpcanada/"> | ||
| 115 | <img width="16" src="https://fp-canada.gotenzing.com/wp-content/uploads/2022/01/link.png" class="img-fluid" alt="FP Canada"> | 120 | <img width="16" src="https://fp-canada.gotenzing.com/wp-content/uploads/2022/01/link.png" class="img-fluid" alt="FP Canada"> |
| 121 | </a> | ||
| 116 | </td> | 122 | </td> |
| 117 | <td style="padding:0;width:5%;" align="left"> | 123 | <td style="padding:0;width:5%;" align="center"> |
| 118 | | 124 | |
| 119 | </td> | 125 | </td> |
| 120 | </tr> | 126 | </tr> |
| ... | @@ -146,4 +152,10 @@ | ... | @@ -146,4 +152,10 @@ |
| 146 | </table> | 152 | </table> |
| 147 | 153 | ||
| 148 | </body> | 154 | </body> |
| 149 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 155 | </html> | ||
| 156 | |||
| 157 | |||
| 158 | |||
| 159 | |||
| 160 | |||
| 161 | ... | ... |
| 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://fp-canada.gotenzing.com/wp-content/themes/understrap-child/Calibri.woff') format('woff'); } | ||
| 20 | @font-face { font-family: Calibri-bold; | ||
| 21 | src: url('https://fp-canada.gotenzing.com/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="#BA0C2F" role="presentation" style="width:602px;border-collapse:collapse;border-spacing:0;text-align:left;"> | ||
| 31 | <tr style="background:#BA0C2F;"> | ||
| 32 | <td align="center"> | ||
| 33 | | ||
| 34 | </td> | ||
| 35 | <td align="center"> | ||
| 36 | | ||
| 37 | </td> | ||
| 38 | <td align="center" width="135"> | ||
| 39 | <img width="135" src="https://fp-canada.gotenzing.com/wp-content/uploads/2022/01/fp_logo.png" class="img-fluid" alt="FP Canada"> | ||
| 40 | </td> | ||
| 41 | <td align="center" width="40"> | ||
| 42 | | ||
| 43 | </td> | ||
| 44 | </tr> | ||
| 45 | <tr style="background:#BA0C2F;"> | ||
| 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 | YOUR WYN CAMPAIGN REGISTRATION DID NOT GO THROUGH | ||
| 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;">It seems there is an issue with your WYN Registration. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis eget malesuada augue. Ut vel ornare tellus, at tempus ante. Ut tristique lacus a suscipit egestas. </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 | | ||
| 74 | </td> | ||
| 75 | <td align="center"> | ||
| 76 | <img width="147" src="https://fp-canada.gotenzing.com/wp-content/uploads/2022/01/logo.png" class="img-fluid" alt="FP Canada"> | ||
| 77 | </td> | ||
| 78 | <td align="center"> | ||
| 79 | | ||
| 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 | | ||
| 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 | | ||
| 97 | </td> | ||
| 98 | </tr> | ||
| 99 | <tr> | ||
| 100 | <td style="padding:0;width:5%;" align="center"> | ||
| 101 | | ||
| 102 | </td> | ||
| 103 | <td style="padding:0;width:5%;" align="center"> | ||
| 104 | <a href="https://twitter.com/OfficialFPCan"> | ||
| 105 | <img width="16" src="https://fp-canada.gotenzing.com/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://fp-canada.gotenzing.com/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://fp-canada.gotenzing.com/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://fp-canada.gotenzing.com/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 | | ||
| 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 | | ||
| 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 | </td> | ||
| 145 | </tr> | ||
| 146 | </table> | ||
| 147 | </td> | ||
| 148 | </tr> | ||
| 149 | </table> | ||
| 150 | </td> | ||
| 151 | </tr> | ||
| 152 | </table> | ||
| 153 | |||
| 154 | </body> | ||
| 155 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| ... | @@ -19,7 +19,6 @@ add_filter( 'cf7_2_post_status_wpsl_stores', 'publish_new_wpsl_stores',10,3); | ... | @@ -19,7 +19,6 @@ add_filter( 'cf7_2_post_status_wpsl_stores', 'publish_new_wpsl_stores',10,3); |
| 19 | function publish_new_wpsl_stores($status, $ckf7_key, $submitted_data){ | 19 | function publish_new_wpsl_stores($status, $ckf7_key, $submitted_data){ |
| 20 | 20 | ||
| 21 | $email = $submitted_data['your-email']; | 21 | $email = $submitted_data['your-email']; |
| 22 | |||
| 23 | $subject = 'Important Registration Information'; | 22 | $subject = 'Important Registration Information'; |
| 24 | $message = file_get_contents('https://fp-canada.gotenzing.com/wp-content/themes/understrap-child/inc/Registration-Confirmation.html'); | 23 | $message = file_get_contents('https://fp-canada.gotenzing.com/wp-content/themes/understrap-child/inc/Registration-Confirmation.html'); |
| 25 | 24 | ||
| ... | @@ -30,3 +29,27 @@ add_filter( 'cf7_2_post_status_wpsl_stores', 'publish_new_wpsl_stores',10,3); | ... | @@ -30,3 +29,27 @@ add_filter( 'cf7_2_post_status_wpsl_stores', 'publish_new_wpsl_stores',10,3); |
| 30 | return 'draft'; | 29 | return 'draft'; |
| 31 | } | 30 | } |
| 32 | 31 | ||
| 32 | |||
| 33 | add_action('publish_wpsl_stores','send_notification_for_publish_project',10,1); | ||
| 34 | |||
| 35 | function send_notification_for_publish_project( $post_id ) { | ||
| 36 | $email = get_post_meta($post_id, 'wpsl_email', true); | ||
| 37 | $subject = 'Important Registration Information'; | ||
| 38 | $message = file_get_contents('https://fp-canada.gotenzing.com/wp-content/themes/understrap-child/inc/Registration-Acceptance.html'); | ||
| 39 | |||
| 40 | $headers_customer = array('Content-Type: text/html; charset=UTF-8'); | ||
| 41 | wp_mail( $email , $subject, $message, $headers_customer); | ||
| 42 | |||
| 43 | } | ||
| 44 | |||
| 45 | |||
| 46 | add_action( 'trash_wpsl_stores', 'send_notification_for_delete_project' ,10,1); | ||
| 47 | function send_notification_for_delete_project( $post_id ) { | ||
| 48 | $email = get_post_meta($post_id, 'wpsl_email', true); | ||
| 49 | $subject = 'Important Registration Information'; | ||
| 50 | $message = file_get_contents('https://fp-canada.gotenzing.com/wp-content/themes/understrap-child/inc/Registration-Denied.html'); | ||
| 51 | |||
| 52 | $headers_customer = array('Content-Type: text/html; charset=UTF-8'); | ||
| 53 | wp_mail( $email , $subject, $message, $headers_customer); | ||
| 54 | |||
| 55 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| 1 | <?php | ||
| 2 | /** | ||
| 3 | * Understrap emails | ||
| 4 | * | ||
| 5 | * @package Understrap | ||
| 6 | */ | ||
| 7 | |||
| 8 | // Exit if accessed directly. | ||
| 9 | |||
| 10 | |||
| 11 | |||
| 12 | add_filter( 'wpsl_frontend_meta_fields', 'custom_frontend_meta_fields' ); | ||
| 13 | |||
| 14 | function custom_frontend_meta_fields( $store_fields ) { | ||
| 15 | $store_fields['wpsl_first_name'] = array( | ||
| 16 | 'name' => 'first_name', | ||
| 17 | 'type' => 'text' | ||
| 18 | ); | ||
| 19 | $store_fields['wpsl_last_name'] = array( | ||
| 20 | 'name' => 'last_name', | ||
| 21 | 'type' => 'text' | ||
| 22 | ); | ||
| 23 | $store_fields['wpsl_email'] = array( | ||
| 24 | 'name' => 'email', | ||
| 25 | 'type' => 'text' | ||
| 26 | ); | ||
| 27 | $store_fields['wpsl_phone'] = array( | ||
| 28 | 'name' => 'phone', | ||
| 29 | 'type' => 'text' | ||
| 30 | ); | ||
| 31 | $store_fields['wpsl_ext'] = array( | ||
| 32 | 'name' => 'ext', | ||
| 33 | 'type' => 'int' | ||
| 34 | ); | ||
| 35 | $store_fields['wpsl_fp_id'] = array( | ||
| 36 | 'name' => 'fp_id', | ||
| 37 | 'type' => 'text' | ||
| 38 | ); | ||
| 39 | $store_fields['wpsl_designation'] = array( | ||
| 40 | 'name' => 'designation', | ||
| 41 | 'type' => 'text' | ||
| 42 | ); | ||
| 43 | $store_fields['wpsl_unit'] = array( | ||
| 44 | 'name' => 'unit', | ||
| 45 | 'type' => 'text' | ||
| 46 | ); | ||
| 47 | |||
| 48 | |||
| 49 | |||
| 50 | return $store_fields; | ||
| 51 | } | ||
| 52 | |||
| 53 | add_filter( 'wpsl_meta_box_fields', 'custom_meta_box_fields2' ); | ||
| 54 | |||
| 55 | function custom_meta_box_fields2( $meta_fields ) { | ||
| 56 | |||
| 57 | $meta_fields[__( 'Additional Information', 'wpsl' )] = array( | ||
| 58 | 'phone' => array( | ||
| 59 | 'label' => __( 'Tel', 'wpsl' ) | ||
| 60 | ), | ||
| 61 | 'ext' => array( | ||
| 62 | 'label' => __( 'Ext', 'wpsl' ) | ||
| 63 | ), | ||
| 64 | 'unit' => array( | ||
| 65 | 'label' => __( 'Unit', 'wpsl' ) | ||
| 66 | ), | ||
| 67 | 'email' => array( | ||
| 68 | 'label' => __( 'Email', 'wpsl' ) | ||
| 69 | ), | ||
| 70 | 'url' => array( | ||
| 71 | 'label' => __( 'Url', 'wpsl' ) | ||
| 72 | ), | ||
| 73 | 'first_name' => array( | ||
| 74 | 'label' => __( 'First Name', 'wpsl' ) | ||
| 75 | ), | ||
| 76 | 'last_name' => array( | ||
| 77 | 'label' => __( 'Last Name', 'wpsl' ) | ||
| 78 | ), | ||
| 79 | 'designation' => array( | ||
| 80 | 'label' => __( 'Designation', 'wpsl' ) | ||
| 81 | ), | ||
| 82 | 'fp_id' => array( | ||
| 83 | 'label' => __( 'FP ID', 'wpsl' ) | ||
| 84 | ) | ||
| 85 | |||
| 86 | ); | ||
| 87 | |||
| 88 | return $meta_fields; | ||
| 89 | } |
-
Please register or sign in to post a comment