Title: BHM Random Quote
Author: Brian H. Marston
Published: <strong>2013 年 2 月 18 日</strong>
Last modified: 2013 年 2 月 18 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/bhm-random-quote.svg)

# BHM Random Quote

 作者：[Brian H. Marston](https://profiles.wordpress.org/bmarston/)

[下载](https://downloads.wordpress.org/plugin/bhm-random-quote.zip)

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

 [支持](https://wordpress.org/support/plugin/bhm-random-quote/)

## 描述

To add a quote, go to Quotes->Add New. Enter the citation (source or author) for
the quote and the quote itself. You can use HTML in both the citation and the quote.
For styling purposes, the post format defaults to “Quote.”

To add the widget to a sidebar, go to Appearance->Widgets and drag the Quote widget
to the sidebar. Set the “Title” to the text you want to be displayed above the random
quote in the sidebar.

The HTML displayed by the widget looks like this:

    ```
    <div class="quote">
        “the_quote”
    </div>
    <div class="citation">
        &mdash;the_citation
    </div>
    <div class="all-quotes">
        [<a href="quote_archive_url">View All</a>]
    </div>
    ```

## 屏幕截图

 * [[
 * Add New Quote
 * [[
 * All Quotes
 * [[
 * Appearance->Widgets

## 安装

 1. Upload `bhm-quote.php` to your `wp-content/plugins/` directory.
 2. Activate the Random Quote plugin through the ‘Plugins’ menu in WordPress.
 3. Add your quotes using Quotes->Add New.
 4. Go to Appearance->Widgets and drag the Quote widget to the sidebar.

## 常见问题

  Can I use HTML in my quotes and citations?

Yes.

  How can I style my quotes on single, index, archive, and search pages if I’m using
the Twenty Twelve theme?

Create a child theme with a `content-quote.php` template file.

  Where can I see an example of this plugin in action?

[fatdays.com](http://fatdays.com/)

  What does “BHM” stand for?

Brian Henry Marston (the plugin’s author)

  How can I contact the plugin’s author?

webguy@fatdays.com

## 评价

此插件暂无评价。

## 贡献者及开发者

「BHM Random Quote」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Brian H. Marston ](https://profiles.wordpress.org/bmarston/)

[帮助将「BHM Random Quote」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/bhm-random-quote)

### 对开发感兴趣吗?

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

## 更新日志

#### 0.1

 * Game on!

## 额外信息

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

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/bhm-random-quote/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/bhm-random-quote/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/bhm-random-quote/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/bhm-random-quote/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/bhm-random-quote/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/bhm-random-quote/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/bhm-random-quote/reviews/)

## 贡献者

 *   [ Brian H. Marston ](https://profiles.wordpress.org/bmarston/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/bhm-random-quote/)