[wordpress插件] 中文超级工具箱(China Super ToolS)Chinese Super ToolS

wordpress 插件 文章 2020-03-23 03:30 665 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

一款高效的可扩展功能的wordpress代码片段管理插件,用户可以将一些常用功能的代码片段保存为单独的一个php文件并放置到插件wp-content/plugins/wp-china-tools/lib

An efficient and scalable wordpress code snippet management plugin. Users can save code snippets of some commonly used functions as a separate php file and place them in the plug-in wp-content / plugins / wp-china-tools / lib

/目录

/ Directory

在插件后台可以管理这些代码片段,并且插件会记录插件功能,时间长了用户也不会忘记自己加过什么代码。

These code snippets can be managed in the background of the plug-in, and the plug-in records the plug-in functions, and users will not forget what code they have added over time.

插件在载入用户 自定代码时会压缩代码合并所有代码并生成相关的集合文件,并以最高效的方式载入代码。

When the plug-in loads user-defined code, it compresses the code, merges all the code, generates related collection files, and loads the code in the most efficient way.

(例)添加自定义模块:

(Example) Add custom module:

/*

/ *

Module Name: Google Fonts

Module Name: Google Fonts

Module Effect: 替换后台与登录界面的谷歌字体链接

Module Effect: Replace Google Fonts link in background and login interface

Module Author: 维7维3

Module Author: Dimension 7 Dimension 3

*/

* /

function cst_replace_open_sans() {
      

function cst_replace_open_sans () {
      

wp_deregister_style(‘open-sans’);
      

wp_deregister_style (‘open-sans’);
      

wp_register_style( ‘open-sans’, ‘//fonts.useso.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600’ );
      

wp_register_style (‘open-sans’, ‘//fonts.useso.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600’);
      

wp_enqueue_style( ‘open-sans’);

wp_enqueue_style (‘open-sans’);

}

}

add_action( ‘init’, ‘cst_replace_open_sans’ );

add_action (‘init’, ‘cst_replace_open_sans’);

将代码保存为php文件放置到wp-content/plugins/wp-china-tools/lib/目录,然后登录后台扫描并生成引用文件即可使用自定义模块了。

Save the code as a php file and place it in the wp-content / plugins / wp-china-tools / lib / directory, then log in to the background to scan and generate the reference file to use the custom module.

官方网站:www.v7v3.com

Official website: www.v7v3.com

特色

Features

    1. 记录代码片段功能
    2. Record code snippet function

    3. 功能可扩展
    4. Extensible features

    5. 高效的代码载入方式
    6. Efficient code loading method

    7. 可在线安装插件作者预先定义好的代码片段
    8. You can install pre-defined code snippets by plugin authors online

    9. 可视化的代码片段操作控制台
    10. Visual snippet operation console

    11. 高效精简的代码保证插件的稳定型以及运行效率。

    12. Efficient and streamlined code ensures the stability and efficiency of the plug-in.

安装步骤

    1. 在WordPress 插件库中搜索”China Super ToolS”, 下载并启用
    2. Search for "China Super ToolS" in the WordPress plugin library, download and enable

    3. 在WordPress “Super ToolS”扫描和生成压缩的代码块文件
    4. Scan and generate compressed code block files in WordPress "Super ToolS"

    5. 在WordPress “Super ToolS -> CST在线扩展”可以在线添加各种预设代码片段
    6. Add various preset code snippets online in WordPress "Super ToolS-> CST Online Extension"

下载地址
https://downloads.wordpress.org/plugin/china-super.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Advanced Sermons进阶讲道
[wordpress插件] Arabic Comments Number阿拉伯文注释编号
[wordpress插件] Accept CryptoCurrency Payments on WooCommerce – CryptoCurrency Gateway Plugin from TheBigCoin在WooCommerce上接受CryptoCurrency付款-TheBigCoin的CryptoCurrency网关插件
[wordpress插件] Church Metrics Dashboard教会指标仪表板
[wordpress插件] Google Map for Contact Form 7Google Map for Contact Form 7
随便看看
微信开放平台跟公众平台有什么区别? 3608
怎么添加小程序支付功能? 4516
教育科技公司申请微信支付被拒绝? 4798
微信公众号免300认证教程 5892
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 5299
小程序广告组件通过审核,但是小程序内没有显示广告? 5067
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472