Adds Shortcode for BuddyPress XProfile data
As of April 2026, BP XProfile Shortcode is a WordPress users plugin with 50 active installations and a 3/5 rating from 4 reviews. It has been downloaded 9.1K+ times in total. Requires WordPress 3.5+ and PHP false+. Available on WordPress.org since 2013. Last updated 10 years ago — may have compatibility concerns. Top alternative: User Switching.
Adds Shortcode for BuddyPress XProfile data
For quick reference, here is a list of example shortcodes:
Reference field by ID in case name changes:
[xprofile field=12]
Output city using default user detection (currently displayed BP profile, fallback to author of current page/post, fallback to currently logged in user):
[xprofile field=”City”]
Output city for a specific user by ID or username:
[xprofile field=”City” user=20]
[xprofile field=”City” user=”someusername”]
Override the default user detection by specifying method:
Output city for the currently logged in user (blank if no user is logged in):
[xprofile field=”City” user=current]
Output city for the author of the current page/post being viewed:
[xprofile field=”City&…
| WordPress | 3.5+ requiredTested up to 3.9.40 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.