data-attributes.php
22 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Help Tab: Data Attributes |
| 4 | * |
| 5 | * @package WPEL |
| 6 | * @category WordPress Plugin |
| 7 | * @version 2.3 |
| 8 | * @link https://www.webfactoryltd.com/ |
| 9 | * @license Dual licensed under the MIT and GPLv2+ licenses |
| 10 | */ |
| 11 | ?> |
| 12 | <h3><?php esc_html_e( 'Exclude or include by data-attribute', 'wp-external-links' ) ?></h3> |
| 13 | <p> |
| 14 | <?php WPEL_Plugin::wp_kses_wf(__( 'The <code>data-wpel-link</code> attribute can be set on links and forces the plugin to treat those links that way.', 'wp-external-links' )); ?> |
| 15 | </p> |
| 16 | <ul> |
| 17 | <li><?php WPEL_Plugin::wp_kses_wf(__( 'Links with <code>data-wpel-link="internal"</code> will be treated as internal links.', 'wp-external-links' )); ?></li> |
| 18 | <li><?php WPEL_Plugin::wp_kses_wf(__( 'Links with <code>data-wpel-link="external"</code> will be treated as external links.', 'wp-external-links' )); ?></li> |
| 19 | <li><?php WPEL_Plugin::wp_kses_wf(__( 'Links with <code>data-wpel-link="exclude"</code> will be treated as excluded links (which have their own settings or will be treated as internal links).', 'wp-external-links' )); ?></li> |
| 20 | <li><?php WPEL_Plugin::wp_kses_wf(__( 'Links with <code>data-wpel-link="ignore"</code> will be completely ignored by this plugin.', 'wp-external-links' )); ?></li> |
| 21 | </ul> |
| 22 |