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

User Bio Widget

描述

This widget will easily allow you to display the “Biographical Info” of any blog author’s user profile in the sidebar. It allows you to choose from multiple authors/users on the blog, if your blog does, in fact, have multiple authors. Subscribers are excluded for obvious reasons (Contributors, Authors, Editors, and Administrators are included).

Additionally, the widget grants the ability to display the selected author’s Gravatar, with multiple size and alignment options available.

Please submit any bug reports, support questions, or requests here.

安装

  1. Upload user-bio-widget.php to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins -> Installed’ menu in your dashboard.
  3. Add the ‘User Bio’ Widget to your sidebar via ‘Appearance -> Widgets’ in your dashboard.

常见问题

How can I style the Gravatar image?

You can add and customize the following CSS within your theme’s primary stylesheet/CSS file (normally style.css):

.ub-grav img {

These are just some example properties you can use

border: 2px solid #eeeeee;
padding: 3px;
}

Are subscribers included?

No. Only contributors, authors, editors, and administrators (i.e. any user able to actually create posts).

What’s a Gravatar?

A Gravatar is a Globally Recognized Avatar (i.e. your user picture/icon). You can upload one via http://gravatar.com (it will be attached to your e-mail address).

Can I only display my Gravatar with the widget?

Yes; simply leave your “Biographical Info” section (in your user profile) blank, and configure the widget to display your Gravatar.

If an author doesn’t have a Gravatar uploaded, and they configure the widget to display a Gravatar, which image is used?

The default image is determined by the ‘Default Avatar’ setting found in your dashboard under Settings -> Discussion.

I have a Gravatar configured, but it’s not appearing. What’s up?

For the Gravatar to appear, you must have the ‘Show Avatars’ option under Settings -> Discussion set to ‘Show Avatars’. Also, please check your ‘Maximum Rating’ setting and compare it with your own Gravatar’s rating.

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

帮助将「User Bio Widget」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

0.2

  • Adds compatibility with the WordPress 3.0 Multi-Site feature.
  • Adds a configuration option for displaying only the Gravatar image (with no bio text).
  • Updates the message displayed if no bio information is entered in the author’s profile.
  • Adds some additional styling to the “Gravatar Options” section in the widget’s configuration panel.
  • Slightly modifies the default styling of the Gravatar image.