[wordpress插件] bSocial commentsb社会评论

wordpress 插件 文章 2020-03-12 07:50 484 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插件] Create Pages on Multisite WordPress在多站点WordPress上创建页面
[wordpress插件] Avali PaymentsAvali付款
[wordpress插件] Domain Sharding域分片
[wordpress插件] CTRL/CMD Save for WordPressCTRL / CMD为WordPress保存
[wordpress插件] Dismiss Privacy Nag消除隐私问题
随便看看
adsense申请已经支付的订单回退的网址 3212
BT面板查看网站入口、账号密码的命令 6009
ucloud海外服务器超级优惠券 3274
根据您的消费情况,您的延停权益已发生变化,变更后的延停权益为延停额度20.00元 5831
为什么我们喜欢迈克尔杰克逊。 4164
阿里云com、cn域名续费优惠码(2020年5月可用) 3586
阿里云com、cn域名续费优惠码(2020年6月可用) 3606
微信公众号开五联增值税发票怎么处理 2950
仙之侠道幻彩衣的合成和属性预览 4316
仙之侠道2.8四象玉的合成和图片属性预览 3945