Title: WP Bootstrap Comments
Author: darrinb
Published: <strong>2016 年 1 月 22 日</strong>
Last modified: 2016 年 1 月 22 日

---

搜索插件

![](https://ps.w.org/wp-bootstrap-comments/assets/banner-772x250.jpg?rev=1333376)

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

![](https://s.w.org/plugins/geopattern-icon/wp-bootstrap-comments_29333c.svg)

# WP Bootstrap Comments

 作者：[darrinb](https://profiles.wordpress.org/dbmartin/)

[下载](https://downloads.wordpress.org/plugin/wp-bootstrap-comments.0.1.0.zip)

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

 [支持](https://wordpress.org/support/plugin/wp-bootstrap-comments/)

## 描述

A comment Walker class that creates native WordPress comment lists using Bootstrap
Media Object markup/classes. See: http://getbootstrap.com/components/#media

For support and official documentation see the plugin’s home page here: http://darrinb.
com/plugins/wp-bootstrap-comments

### 用法

Add a call to the `WP_Bootstrap_Comments_Walker()` class in `wp_list_comments()`
in your `comments.php` template.

    ```
    <?php
       wp_list_comments( array(
          'style'       => 'div',
          'short_ping'  => true,
          'avatar_size' => 42,
          'walker' => new WP_Bootstrap_Comments_Walker(),
       ) );
    ?>
    ```

To use Bootstrap’s native media list styling change `<ol class="comment-list">` 
to `<ul class="media-list">`.

    ```
    <ul class="media-list">
        <?php
            wp_list_comments( array(
                'style'       => 'ul',
                'short_ping'  => true,
                'avatar_size' => 42,
                'walker' => new WP_Bootstrap_Comments_Walker(),
            ) );
        ?>
    </ul><!-- .media-list -->
    ```

## 安装

#### From the WordPress.org plugin repository:

 * Download and install using the built in WordPress plugin installer.
 * Activate in the “Plugins” area of your admin by clicking the “Activate” link.
 * No further setup or configuration is necessary.

#### From GitHub:

 * Download the [latest stable version] (https://github.com/dboutote/WP-Bootstrap-
   Comments/archive/master.zip).
 * Extract the zip folder to your plugins directory.
 * Activate in the “Plugins” area of your admin by clicking the “Activate” link.
 * No further setup or configuration is necessary.

## 常见问题

  Where can I get support?

The plugin’s official page: http://darrinb.com/plugins/wp-bootstrap-comments

  Where can I find documentation?

http://darrinb.com/plugins/wp-bootstrap-comments

## 评价

此插件暂无评价。

## 贡献者及开发者

「WP Bootstrap Comments」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ darrinb ](https://profiles.wordpress.org/dbmartin/)

[帮助将「WP Bootstrap Comments」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-bootstrap-comments)

### 对开发感兴趣吗?

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

## 更新日志

#### 0.1.0

 * Initial release

## 额外信息

 *  版本 **0.1.0**
 *  最后更新：**10 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.7 或更高版本 **
 *  已测试的最高版本为 **4.4.34**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-bootstrap-comments/)
 * 标签
 * [bootstrap](https://cn.wordpress.org/plugins/tags/bootstrap/)[comments](https://cn.wordpress.org/plugins/tags/comments/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-bootstrap-comments/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/wp-bootstrap-comments/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-bootstrap-comments/reviews/)

## 贡献者

 *   [ darrinb ](https://profiles.wordpress.org/dbmartin/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/wp-bootstrap-comments/)