该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

BP XProfile Shortcode

描述

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

安装

Install and activate, there are no settings in the UI
Documentation of shortcode available at http://tylerdigital.com/products/bp-xprofile-shortcode-plugin/

评价

此插件暂无评价。

贡献者及开发者

“BP XProfile Shortcode” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“BP XProfile Shortcode”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

v1.0.1

  • Fix fatal error from deprecated function in WP 3.6.0