[wordpress插件] bSocial commentsb社会评论

wordpress 插件 文章 2020-03-12 07:50 428 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插件] Advanced Custom Fields: Mapbox geoJSON Field高级自定义字段:Mapbox geoJSON字段
[wordpress插件] Ajax Custom CSS/JSAjax自定义CSS / JS
[wordpress插件] Article Forecast文章预测
[wordpress插件] AffiliateWP MailChimp Add-OnAffiliateWP MailChimp附加组件
[wordpress插件] Contact Form 7 SendInBlue Opt-in Checkbox联系表7 SendInBlue Opt-in复选框
随便看看
微信公众号免300认证教程 5035
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 4255
小程序广告组件通过审核,但是小程序内没有显示广告? 4330
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8237
问题? 7459
如何快速搭建抽奖助手小程序(无需代码知识) 5136
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 6094
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5703
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5286
如何解决渲染层网络错误Failed to load media? 16632