tooltip.php
25 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Tooltip Basic View Template |
| 4 | * The base template for Tribe Tooltips. |
| 5 | * |
| 6 | * Override this template in your own theme by creating a file at [your-theme]/tribe/tooltips/tooltip.php |
| 7 | * |
| 8 | * @since 4.9.8 |
| 9 | * |
| 10 | * @package Tribe |
| 11 | * @version 4.9.8 |
| 12 | */ |
| 13 | |
| 14 | ?> |
| 15 | <div class="tribe-tooltip <?php echo sanitize_html_class( $wrap_classes ); ?>" aria-expanded="false"> |
| 16 | <span class="dashicons dashicons-<?php echo sanitize_html_class( $icon ); ?> <?php echo sanitize_html_class( $classes ); ?>"></span> |
| 17 | <div class="<?php echo sanitize_html_class( $direction ); ?>"> |
| 18 | <?php foreach( $messages as $message ) : ?> |
| 19 | <p> |
| 20 | <span><?php echo wp_kses_post( $message ); ?><i></i></span> |
| 21 | </p> |
| 22 | <?php endforeach; ?> |
| 23 | </div> |
| 24 | </div> |
| 25 |