- 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