這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

User Info Display

描述

Displays user info using a shortcode that can be placed in a post, page or widget or with template tags that can be added directly to your theme files. If the user has a Gravatar, it will be included as well. The information is pulled from the user’s WordPress profile.

Plugin Website. Support in comments.

螢幕截圖

  • screenshot-1.jpg

安裝

To install the plugin and get it working.

  1. Upload user-info-display.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place [userinfo] in your posts, pages or widgets
  4. You can include the following attributes:
    • id = the user’s id, defaults to author of current post/page
    • align = right or left, aligns the Gravatar. If not included, will default to left.
    • name = yes or no, will include the user’s name or not
    • email = yes or no, will include the user’s email, a link from the user’s name. Name attribute must either not be included or be included and have the value ‘no’
    • url = yes or no, will include the user’s url, if available. Will display after the description.
  5. To= use directly in your template files use the format:
    • uinfo_display($id, $align, $name, $email, $url);
    • eg: uinfo_display(1, “left”, “yes”,”no”, $no);
  6. All of the attributes/function arguments are optional, but if you omit one from the template tag you must leave in the comma
    • eg: uinfo_display();
      • uinfo_display(34);
      • uinfo_display(47, “right”, ,”no”, “no”);

常見問題

Where does the plugin get it’s user information from?

The information is pulled from the user’s WordPress profile (http://yoursite.com/wp-admin/users.php) and the image is the user’s Gravatar (http://en.gravatar.com/)

To do

Add Twitter and Facebook support

評價

There are no reviews for this plugin.

貢獻者及開發者

“User Info Display” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 User Info Display 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.0

  • Template tag now available
  • Fixed a bug where email setting did not work properly

0.9.3

  • Added email address, if available
  • Added user’s name
  • Added the user’s url, if available

0.9.2

  • Change to readme.txt only

0.9.1

  • Removed the dependance on User Photo plugin
  • Added Gravatar support (if user has a Gravatar it will be displayed)

0.9

  • Initial version.