body-default.php
1 year ago
default.php
2 years ago
email-preview.php
1 year ago
field-default.php
2 years ago
footer-default.php
2 years ago
header-default.php
2 years ago
body-default.php
50 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Email Body |
| 4 | * |
| 5 | * This is used with the {all_fields} smart tag. |
| 6 | * |
| 7 | * This template can be overridden by copying it to yourtheme/everest-forms/emails/body-default.php. |
| 8 | * |
| 9 | * HOWEVER, on occasion Everest Forms will need to update template files and you |
| 10 | * and you (the theme developer) will need to copy the new files to your theme to |
| 11 | * maintain compatibility. We try to do this as little as possible, but it does |
| 12 | * happen. When this occurs the version of the template file will be bumped and |
| 13 | * the readme will list any important changes. |
| 14 | * |
| 15 | * @see https://docs.everestforms.net/ |
| 16 | * @package EverestForms/Templates |
| 17 | * @version 1.2.0 |
| 18 | */ |
| 19 | |
| 20 | defined( 'ABSPATH' ) || exit; |
| 21 | if ( isset( $_GET['evf_email_preview'] ) ) : |
| 22 | ?> |
| 23 | <!DOCTYPE html> |
| 24 | <html lang="en"> |
| 25 | <head> |
| 26 | <meta charset="UTF-8"> |
| 27 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 28 | <style> |
| 29 | .evf-email-template-title { |
| 30 | text-align: center; |
| 31 | margin: 2rem 0; |
| 32 | } |
| 33 | |
| 34 | .evf-email-template-title__info{ |
| 35 | text-align: center; |
| 36 | color: #ffcc00 !important; |
| 37 | } |
| 38 | </style> |
| 39 | </head> |
| 40 | <body> |
| 41 | <h1 class='evf-email-template-title' >Email Preview Template</h1> |
| 42 | <hr style = 'margin:2rem 0'/> |
| 43 | <p class='evf-email-template-title__info'><strong><?php esc_html_e( 'Please note that these data are only for reference purpose.', 'everest-forms' ); ?></strong></p> |
| 44 | </body> |
| 45 | </html> |
| 46 | <?php |
| 47 | endif; |
| 48 | ?> |
| 49 | {email} |
| 50 |