跳到内容

bSocial comments

v1.0

Casey Bisson · 2014年11月4日 上架

Featured, faved, and flaged comments.

正在使用
10 以下
评分
暂无
累计下载
1,411
最近更新
2014年11月4日
需要 WordPress 4.0+已测试到 4.0.38
  1. This section needs development.
  2. Adds featured comments selected by editors
  3. Adds ability for users to flag comments
  4. Adds ability for users to fave comments
  5. Adds support for registering new comment types and statuses, similar to WP core’s register_post_type(), see the section on registering custom comment types

History

Featured comments were originally introduced in bSocial (plugin repo, github), but have moved here. New bSocial commenting features will be developed in this plugin.

In the WordPress.org plugin repo

Eventually here: https://wordpress.org/plugins/bsocial-comments/

Fork me!

This plugin is on Github: https://github.com/misterbisson/bsocial-comments

Build status

Master build status at Travis-CI:

Registering custom comment types

Custom comment types

`php

$args = array(
‘labels’ => array(
‘name’ => ‘Faves’,
‘singular_name’ => ‘Fave’,
‘edit_item’ => ‘Edit Fave’,
‘update_item’ => ‘Update Fave’,
‘view_item’ => ‘View Fave’,
‘all_items’ => ‘All Faves’,
),
‘description’ => ‘Comment faves’,
‘public’ => TRUE,
‘show_ui’ => TRUE,
‘admin_actions’ => array( ‘trash’, ‘untrash’, ‘delete’ ),
‘statuses’ => array(
‘feedback’,
‘trash’,
),
);

bsocial_comments()->register()->comment_type( ‘fave’, $args );
`

Custom comment statuses

`php

$args = array(
‘label’ => ‘Feedback’,
‘label_count’ => _n_noop( ‘Feedback (%s)’, ‘Feedback (%s)’ ),
‘status_links_show’ => TRUE,
‘include_in_all’ => FALSE,
);

bsocial_comments()->register()->comment_status( ‘feedback’, $args );
`

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums