This plugin allows one to personalise content for a logged in user. It uses shortcode type functionality in any email template or page or post. It extract stored details of the viewer or reader. A default text can be specified for situations where there are no stored details.
It also allows you to customise the email address that wordpress uses to send the emails, and the sender name. This can allow you to offer a more customised service for example with a more helpful unsubscribe link. Or you could create your own "profile" page for logged in users only.
Plugin homepage:
http://wpusersplugin.com/personalise/
Demo page:
http://test.icalevents.com/personalise/
- In the wordpress admin plugin section of your site, click "Add New" or download and Unzip the file into your wordpress plugins folder.
- Activate the plugin through the 'Plugins' menu in WordPress
- In the plugin settings page, define text to use if no user details found, Optionally redefine the wordpress sender name and email.
- Add one or more [user] to a page, post or email template such as in Subscribe2, Post Notification or Your Responder.
- Test by either: logging in as someone and browsing to the page or post; or using S2 or YR to send a broadcast email to test email addresses only (such as yourself!)
How to use
Simplest: Put [user] in your page, post, or email template. eg: Welcome [user]
Note: at this stage, only the simpler meta values should be used. later more complex data structures stored in the meta values may be accessible as in the amr_users listing tool. See also
http://codex.wordpress.org/Function_Reference/get_userdata for info.
Examples:
- [user] will display display name
- [user user_login]
- [user user_email]
- [user display_name]
- [user user_nicename]
- [user first_name last_name]
- [user description]
- [user roles]
- [user yourtableprefix_capabilities]
- [user message="Dear %s," display_name ]
- [user message="You registered on %s as a %s " user_registered wp_capabilities ]
- [user message="A url like %s is valuable. " user_url]
- [user message="You said you came from %s " state] - a custom register plus field