User Status Shortcode
User Status Shortcode
Description
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
Installation
- Upload
plugin-name.phpto 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
Reviews
Does what it says on the tin
By Travis Northcutt (travisnorthcutt) on September 3, 2016
Works perfectly well. Nice and simple.
Beautifully Simple
By trevorNanders on September 3, 2016
Perfect. So simple and the shortcodes are so simply descriptive that they are easy to remember on the fly. Thanks
Does what is says!
By elektroinside on February 7, 2017
Very handy little plugin! Works extremely well! Thank you!