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

StackOverflow Answers Widget

描述

Widget to display a summary of answers you have posted in StackOverflow (http://stackoverflow.com/). It will display
the question’s title, the answer’s score, and the time the answer was last edited.

You can limit the number of questions displaying and sort the list based on:

  • Highest score.
  • Oldest answer.
  • Newest answer.

ps. The widget uses StackOverflow API version 2.2.
The content of this widget is cached and updated every day.

Requirement

  • json_decode must be available.
  • PHP5 or higher

安装

  1. Upload plugin folder to the wp-content/plugins/ directory.
  2. Go to plugin page in WordPress, and click “Activate”
  3. Go to widgets page in WordPress and drag StackOverflow Answers Widget to a widget area.
  4. Set configuration
    a. Set widget title.
    b. User number can be found in profile URL (http://stackoverflow.com/users/[Your User Number]/[Your Username])
    c. Set number of questions to show.
    d. Set how you want to sort the list.

评价

阅读所有1条评价

贡献者及开发者

“StackOverflow Answers Widget” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

0.2 Use htmlspecialchars for question title
0.3 Fixed incorrect plugin folder name
0.4 Fixed bug in display.php & use h2 tag for the heading
0.5 Multiple widgets in a page can have different StackOverflow account
Minor bug fixes
0.6 Uses StackOverflow API version 2.2.
0.7 Minor bug fixes