外掛說明
Easily allows you to display different content to your visitors that are logged in than those that are logged out via shortcode. Tested in templates, pages, posts and text widgets. Create a personalized experience for your users that are logged in and your visitors that are logged out. This plugin might be useful for inbound marketers.
Available on GitHub: https://github.com/reedwf/user-status-shortcode
Usage Example
-
[userloggedin]content[/userloggedin] //returns content only to logged in users
-
[userloggedout]content[/userloggedout] //returns content only to logged out users
Release Notes
0.1.1
- Tested up to 4.4.1
0.1
- Initial Release
安裝方式
- Upload
plugin-name.php
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Place the shortcode in your templates, pages, posts and text widgets
使用者評論
2016 年 9 月 3 日
Works perfectly well. Nice and simple.
2016 年 9 月 3 日
Perfect. So simple and the shortcodes are so simply descriptive that they are easy to remember on the fly. Thanks
2017 年 2 月 7 日
Very handy little plugin! Works extremely well! Thank you!