User Shortcodes Plus

Description

Add simple user shortcodes to WordPress for displaying information, including custom meta and avatars, for any user.

Available Shortcodes:
– [user_id]
– [user_login]
– [user_email]
– [user_firstname]
– [user_lastname]
– [user_nicename]
– [user_display]
– [user_display_name] (alias)
– [user_registered]
– [user_avatar] (image)
– [user_avatar_url]
– [user_url]
– [user_website] (alias)
– [user_description]
– [user_bio] (alias)

Displaying userdata for another user:

ex. [user_email id=2]

Screenshots

  • Shortcodes can be added to any post type via the content editor.
  • Each shortcode is replaced with the user's data, when available.
  • Shortcodes can be inserted using the 'Add User Shortcode' button on the TinyMCE editor.
  • A specific user cna be specified by adding the 'id' attribute to the shortcode.
  • Any user metadata can be displayed using the [user_meta] shortcode with a specified 'key' attribute.

Installation

This section describes how to install the plugin and get it working.

  1. Upload the user-shortcodes-plus directory to your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add shortcodes to the content of any post type.

FAQ

What shortcodes are supported?

  • [user_id]
  • [user_login]
  • [user_email]
  • [user_firstname]
  • [user_lastname]
  • [user_nicename]
  • [user_display]
  • [user_display_name] (alias)
  • [user_registered]
  • [user_avatar] (image)
  • [user_avatar_url]
  • [user_url]
  • [user_website] (alias)
  • [user_description]
  • [user_bio] (alias)

Reviews

Awesome & Super-Practical! Works with WP 4.9

This plug-in is really cool, and helps us a ton.

Running a members-only site with over 845,000 users and members, we often redirect members to instructions. Now we can personalize them, such as:

http://scaffies.nl/members/[user_login]/profile/edit/

… which is really extremely helpful. It also allows for other features, such as displaying the User’s ID number, and much more.

THANK YOU!!

P.S.: runs well with v4.9 (latest at the time this is written – 19 NOV 2017)

Great and simple plugin

Very easy to use. straight to the point: install, activate and then place the shortcodes wherever you please to view the user meta data.

Thanks

Perfectly wonderful.

This totally saved me today. I needed a way to create a link to the current user’s buddypress profile editing page, without having to dig into code.

This works perfectly to return the username and include it within a link:

http://mysite.com/community/members/[user_login]/profile/edit/

I can see there will be plenty of other ways to put this little gem to use. Thank you so much for creating it!!

Excellent

Simple, straight forward and very useful for welcome pages after registration and other personalized notices.

Hope you’ll keep it alive!

Read all 9 reviews

Contributors & Developers

“User Shortcodes Plus” is open source software. The following people have contributed to this plugin.

Contributors

Translate “User Shortcodes Plus” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.0.1

  • Fixed a bug with showing the TinyMCE Button on new posts/pages.

2.0.0

  • Add support for [user_url] and [user_website] shortcodes.
  • Add support for [user_description] and [user_bio] shortcodes.
  • Add TinyMCE editor button for easily adding shortcodes.
  • Restructure plugin for extendability.

1.0.1

  • Add support for [user_avatar] and [user_avatar_url].

1.0.0

  • Initial Commit