WAJ Links
| 开发者 |
waughjai
|
| 更新时间 |
2019年5月9日 06:46 |
| PHP版本: |
7.0 及以上 |
| WordPress版本: |
5.2 |
| 版权: |
GPLv2 or later |
| 版权网址: |
版权信息
|
详情介绍:
This plugin includes 6 types o' shortcodes / PHP classes:
安装:
- Upload the plugin files to the
/wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the 'Plugins' screen in WordPress
- Links can be added using shortcode in WordPress editors or directly in PHP by using instances o' classes. Instances o' classes can be automatically casted into strings & used as strings, or you can call getHTML() to get HTML code as string.
更新日志:
1.3
- Make shortcodes safely break.
- Fix mail & phone links so that content doesn't take priority o'er email/phone attributes, causing [mail-link email="waughjai@gmail.com"]Mail Me![/mail-link] to generate Mail Me! 'stead o' the preferred Mail Me!.
- Allow mail link to use "mailto" attribute to set email, as well as "email" & allow phone link to use "tel" attribute to set the phone #, as well as "phone".
- Change "id" attribute to "media-id" / "media_id" for media link so that the shortcode doesn't block setting the link's ID attribute.
1.2
1.1
1.0