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

Get User Info

描述

Choose to display any of the following for any user: user name, first and last name, avatar, description or website. A title can be added along with a css class to allow styling if needed. Is available as a widget or shortcode. Use [userinfo user=”User Name” class=”CssClass” title=”My Title” username=”true” name=”true” avatar=”true” description=”true” website=”true”].

屏幕截图

  • The admin of the widget.
  • Example of a shortcode.

安装

  1. Upload get-user-info file to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add a Get User Info widget to any sidebar and add a title, cssClass if needed then add the user name of the user you want to display. Check any other information you would like to display. You can also display the user info by using the following shortcode ‘[userinfo user=”User Name” class=”CssClass” title=”My Title” username=”true” name=”true” avatar=”true” description=”true” website=”true”]’ (replace User Name with the user name that you want to display ex. [userinfo user=”Bill” class=”CssClass” title=”My Title” username=”true” name=”true” avatar=”true” description=”true” website=”true”]). Just use false in the shortcode or don’t include it if you don’t want it to display.

评价

此插件暂无评价。

贡献者及开发者

「Get User Info」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Get User Info」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.1

  • Added the ability to display the username in the widget or shortcode.

1.0.9

  • Added the ability to add the description param to the shortcode or by checking the description box to show the users description in the widget.

1.0.8

  • Added the ability to add the website param to the shortcode. Also added the ability to decide to show first and last name and avatar via shortcode or widget.

1.0.7

  • Cleaned up some code.

1.0.5

  • Added the ability to choose to display the user’s website in a link if they have it available via a checkbox.

1.0.4

  • Added the css class and title functionality to the shortcode.

1.0.3

  • Added the css class functionality to the widget.

1.0.2

  • Added the readme.txt file

1.0.1

  • Added a title field in the widget. Added some formating and cleaned up the code a bit.

1.0

  • Original file upload.