BP XProfile Shortcode

plugin banner

Adds Shortcode for BuddyPress XProfile data

Author:Tyler Digital (profile at wordpress.org)
WordPress version required:3.5
WordPress version tested:3.9.5
Plugin version:1.0.1
Added to WordPress repository:22-09-2013
Last updated:25-04-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:60
Rated by:4
Plugin URI:http://tylerdigital.com/labs/bp-xprofile-shor...
Total downloads:6 811
Active installs:70+
plugin download
Click to start download

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" user=author]

Output city for the currently displayed BuddyPress profile: [xprofile field="City" user=displayed]

Learn more about BP XProfile Shortcode


ChangeLog