notice.php
26 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Show messages |
| 4 | * |
| 5 | * This template can be overridden by copying it to yourtheme/everest-forms/notices/notice.php. |
| 6 | * |
| 7 | * HOWEVER, on occasion Everest Forms will need to update template files and you |
| 8 | * and you (the theme developer) will need to copy the new files to your theme to |
| 9 | * maintain compatibility. We try to do this as little as possible, but it does |
| 10 | * happen. When this occurs the version of the template file will be bumped and |
| 11 | * the readme will list any important changes. |
| 12 | * |
| 13 | * @see https://docs.wpeverest.com/docs/everest-forms/template-structure/ |
| 14 | * @package EverestForms/Templates |
| 15 | * @version 1.0.0 |
| 16 | */ |
| 17 | |
| 18 | defined( 'ABSPATH' ) || exit; |
| 19 | ?> |
| 20 | |
| 21 | <?php if ( $messages ) : ?> |
| 22 | <?php foreach ( $messages as $message ) : ?> |
| 23 | <div class="everest-forms-notice"><?php echo wp_kses_post( $message ); ?></div> |
| 24 | <?php endforeach; ?> |
| 25 | <?php endif; ?> |
| 26 |