Title: Single Post Widget
Author: Takayuki Miyauchi
Published: <strong>2011 年 10 月 5 日</strong>
Last modified: 2013 年 2 月 2 日

---

搜索插件

![](https://ps.w.org/single-post-widget/assets/banner-772x250.png?rev=526899)

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

![](https://s.w.org/plugins/geopattern-icon/single-post-widget_1b95bb.svg)

# Single Post Widget

 作者：[Takayuki Miyauchi](https://profiles.wordpress.org/miyauchi/)

[下载](https://downloads.wordpress.org/plugin/single-post-widget.0.4.0.zip)

 * [详情](https://cn.wordpress.org/plugins/single-post-widget/#description)
 * [评价](https://cn.wordpress.org/plugins/single-post-widget/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/single-post-widget/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/single-post-widget/#developers)

 [支持](https://wordpress.org/support/plugin/single-post-widget/)

## 描述

Display single post from url on sidebar widget.

[This plugin maintained on GitHub.](https://github.com/miya0001/single-post-widget)

#### Some features:

 * Display single post from url on sidebar widget.
 * You can customize HTML output.
 * You can customize default HTML template on your plugin.

#### filter hooks example

Filter for default template.

    ```
    <?php
        add_filter("single-post-widget-template", "my_template");
        function my_template($template) {
            return '<div class="%class%"><a href="%post_url%">%post_thumb%</a></div>';
        }
    ?>
    ```

Filter for stylesheet URI.

    ```
    <?php
        add_filter("single-post-widget-stylesheet", "my_style");
        function my_style($url) {
            return 'http://example.com/path/to/style.css';
        }
    ?>
    ```

#### Translators

 * Japanese(ja) – [Takayuki Miyauchi](http://firegoby.theta.ne.jp/)

Please contact to me.

 * http://wpist.me/ (en)
 * http://firegoby.jp/ (ja)
 * @miya0001 on twitter.
 * https://github.com/miya0001/single-post-widget

#### Contributors

 * [Takayuki Miyauchi](http://firegoby.jp/)

### Credits

This plug-in is not guaranteed though the user of WordPress can freely use this 
plug-in free of charge regardless of the purpose.
 The author must acknowledge the
thing that the operation guarantee and the support in this plug-in use are not done
at all beforehand.

### Contact

twitter @miya0001

## 安装

 * A plug-in installation screen is displayed on the WordPress admin panel.
 * It installs it in `wp-content/plugins`.
 * The plug-in is made effective.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Takayuki Miyauchi ](https://profiles.wordpress.org/miyauchi/)

[帮助将「Single Post Widget」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/single-post-widget)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/single-post-widget/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/single-post-widget/)，或通过[RSS](https://plugins.trac.wordpress.org/log/single-post-widget/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/single-post-widget/)。

## 更新日志

#### 0.1.0

 * The first release.

## 额外信息

 *  版本 **0.4.0**
 *  最后更新：**13 年前**
 *  活跃安装数量 **200+**
 *  WordPress 版本 ** 3.2 或更高版本 **
 *  已测试的最高版本为 **3.5.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/single-post-widget/)
 * 标签
 * [widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/single-post-widget/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/single-post-widget/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/single-post-widget/reviews/)

## 贡献者

 *   [ Takayuki Miyauchi ](https://profiles.wordpress.org/miyauchi/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/single-post-widget/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://wpist.me/)