[wordpress插件] bSocial commentsb社会评论

wordpress 插件 文章 2020-03-12 07:50 485 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

    1. This section needs development.
    2. 本节需要发展。

    3. Adds featured comments selected by editors
    4. 添加编辑选择的精选评论

    5. Adds ability for users to flag comments
    6. 增加了用户标记评论的能力

    7. Adds ability for users to fave comments
    8. 增加了用户收藏评论的能力

    9. 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
    10. 增加了对注册新评论类型和状态的支持,类似于WP Core的 register_post_type(),请参阅有关注册自定义评论类型的部分

    History

    历史

    Featured comments were originally introduced in bSocial (plugin repo, 插件存储库

    misterbisson/bsocial" rel="nofollow">github), but have moved here.

    misterbisson / bsocial“ rel =” nofollow“> github ),但已移至此处。

    New bSocial commenting features will be developed in this plugin.

    新的bSocial评论功能将在此插件中开发。

    In the WordPress.org plugin repo

    在WordPress.org插件存储库中

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

    最终在这里:https://wordpress.org/plugins/bsocial-comments/

    Fork me!

    叉我!

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

    此插件位于Github上:https://github.com/misterbisson/bsocial-comments

    Build status

    构建状态

    Master build status at Travis-CI: 在Travis-CI上的主构建状态

    /travis-ci.org/misterbisson/bsocial-comments" rel="nofollow">

    /travis-ci.org/misterbisson/bsocial-comments“ rel =” nofollow“>

    Registering custom comment types

    注册自定义评论类型

    Custom comment types

    自定义评论类型

    `php

     `php

    $args = array(
        

    $ args = array(
        

    ‘labels’ => array(
            

    ‘labels’=> array(
            

    ‘name’ => ‘Faves’,
            

    ‘名称’=>‘收藏夹’,
            

    ‘singular_name’ => ‘Fave’,
            

    ‘singular_name’=>‘Fave’,
            

    ‘edit_item’ => ‘Edit Fave’,
            

    ‘edit_item’=>‘编辑收藏’,
            

    ‘update_item’ => ‘Update Fave’,
            

    ‘update_item’=>‘更新收藏’,
            

    ‘view_item’ => ‘View Fave’,
            

    ‘view_item’=>‘View Fave’,
            

    ‘all_items’ => ‘All Faves’,
        

    ‘all_items’=>‘所有最爱’,
        

    ),
        

    ),
        

    ‘description’ => ‘Comment faves’,
        

    ‘说明’=>‘评论收藏’,
        

    ‘public’ => TRUE,
        

    ‘public’=> TRUE,
        

    ‘show_ui’ => TRUE,
        

    ‘show_ui’=>是,
        

    ‘admin_actions’ => array( ‘trash’, ‘untrash’, ‘delete’ ),
        

    ‘admin_actions’=> array(‘trash’,‘untrash’,‘delete’),
        

    ‘statuses’ => array(
            

    ‘statuses’=>数组(
            

    ‘feedback’,
            

    “反馈”,
            

    ‘trash’,
        

    ‘垃圾’,
        

    ),

    ),

    );

    );

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

    bsocial_comments()-> register()-> comment_type('fave',$ args);
        

    `

    `

    Custom comment statuses

    自定义评论状态

    `php

     `php

    $args = array(
        

    $ args = array(
        

    ‘label’=> ‘Feedback’,
        

    ‘label’=>‘Feedback’,
        

    ‘label_count’ => _n_noop( ‘Feedback (%s)’, ‘Feedback (%s)’ ),
        

    ‘label_count’=> _n_noop(‘反馈(%s)’,‘反馈(%s)’),
        

    ‘status_links_show’ => TRUE,
        

    ‘status_links_show’=>是,
        

    ‘include_in_all’ => FALSE,

    ‘include_in_all’=>否,

    );

    );

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

    bsocial_comments()-> register()-> comment_status('feedback',$ args);
        

    `

    `

安装步骤

    1. Place the plugin folder in your wp-content/plugins/ directory and activate it.
    2. 将插件文件夹放置在 wp-content / plugins / 目录中,然后将其激活。

    3. Use the default options, or filter go_config to return the options you want (when the second arg = bsocial-comments).
    4. 使用默认选项,或过滤 go_config 以返回所需的选项(当第二个arg = bsocial-comments 时)。

    5. Have fun, feature some comments!
    6. 玩得开心,发表一些评论!

下载地址
https://downloads.wordpress.org/plugin/bsocial-comments.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] A Fresher Cache较新的缓存
[wordpress插件] Diritto Pratico实用法律
[wordpress插件] Core Settings核心设定
[wordpress插件] ACF Admin Flexible Content CollapseACF管理员灵活的内容折叠
[wordpress插件] Display Tweets显示推文
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 6128
如何解决渲染层网络错误Failed to load media? 17394
小程序找号找回 释放昵称? 3253
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 3110
删除部分微信用户个人数据的通知,怎么删除? 6381