Àpèjúwe
Create links with a shortcode. Comes in handy in places where HTML tags arenÌtumọ̀ Yorùbá: ’t allowed and/or keep getting encoded or something.
Basically, just a utility plugin.
Accepts 3 parameters:
- url
- target (automatically adds the leading underscore)
- class
Examples:
[tklink url="https://www.nike.com/"]Just do it[/tklink]- Outputs:
<a class="tklink" href="https://www.nike.com/">Just do it</a>
- Outputs:
[tklink url="https://www.wordpress.org/"][/tklink]- Outputs:
<a class="tklink" href="https://www.wordpress.org/">https://www.wordpress.org/</a>
- Outputs:
[tklink url="https://www.google.com/" class="googlie" target="blank"]A googglie Google link that will open in a new tab[/tklink]- Outputs:
<a class="googlie" href="https://www.google.com/" target="_blank">A googglie Google link that will open in a new tab</a>
- Outputs:
Developers may contribute at https://github.com/cliffordp/tk-shortcode-link
FYI:
- All links have a class of
tklinkadded unless you specify your own class per link (see examples above) - No styling of
tklinkor otherwise is added via this plugin. - If you donÌtumọ̀ Yorùbá: ’t know what classes are, you can ignore. ItÌtumọ̀ Yorùbá: ’s for styling (i.e. look and feel).
FAQ
Any known incompatibilities?
It shouldnÌtumọ̀ Yorùbá: ’t conflict with any other themes or plugins and may have duplicate functionality of something else you already have.
- What if I find an error?
-
Please follow these steps to troubleshoot:
- Disable all other plugins
- Activate one of the default WordPress themes (e.g. Twenty Nineteen)
- Enable WP_DEBUG in wp-config.php.
If you no longer have an error, your issue is not with this plugin.
If you definitely have an issue with this plugin, please submit a detailed explanation and/or screenshot under this pluginÌtumọ̀ Yorùbá: ’s Support tab on WordPress.org.
Àwọn àgbéyẹ̀wò
Àwọn Olùkópa & Olùgbéejáde
“TK Shortcode Link” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.
Àwọn OlùkópaTúmọ̀ “TK Shortcode Link” sí èdè rẹ.
Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?
Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.
Àkọsílẹ̀ àwọn àyípadà
1.2.1
- March 5, 2019
- Now passes the shortcode name to
shortcode_atts()to allow filtering this pluginÌtumọ̀ Yorùbá: ’s shortcode. - Now escapes additional output.
- Now displays the URL as the anchor text if the shortcodeÌtumọ̀ Yorùbá: ’s content is empty. (Still requires the closing shortcode tag.)
- Fix capability required to display error message.
- License changed from GPLv2+ to GPLv3+.
- Readme compatibility changed to WordPress version 5.1
1.2
- April 28, 2015
- Readme compatibility changed to WordPress version 4.2.1
1.1
- August 30, 2013
- Now uses
tklinkinstead oflinkdue to being too generic (e.g. conflicts with PageLines Theme) - You MUST change any and all existing shortcodes manually. This should not have to change again.
1.0
- August 19, 2013
- Initial release