欢迎光临
我们一直在努力

修改主题自带的短代码

Quench主题自带了很多短代码,鉴于本人英文水平有限,以至于一些代码记得不是很清楚,所以将一些比较长的代码修改成拼音缩写。
修改方法如下:
主题的functions.php 文件从763行开始定义短代码,每个短代码都是单独定义了一个函数,函数后面都有类似于
[cc lang="php"]add_shortcode('bag' , 'boxbag' );[/cc]
的语句,把bag修改成你想要的代码就可以了。
以下是修改后的代码
[zy]短代码演示,此代码为zy[/zy]
[zy2]短代码演示,此代码为zy2[/zy2]
[bag]短代码演示,此代码为bag[/bag]
[edit]短代码演示,此代码为edit[/edit]
[rl]短代码演示,此代码为rl[/rl]
[check]短代码演示,此代码为check[/check]
[delete]短代码演示,此代码为delete[/delete]
[qi]短代码演示,此代码为qi[/qi]
[help]短代码演示,此代码为help[/help]
[info]短代码演示,此代码为info[/info]
[love]短代码演示,此代码为love[/love]
[tag]短代码演示,此代码为tag[/tag]

分享到: 更多 (0)

点击此处获取更多金融后续培训参考答案

相关推荐

  • WordPress优化评论,防止灌水解决办法-侯建方的个人网站WordPress优化评论,防止灌水解决办法
  • WordPress播放器插件,支持HTML5-侯建方的个人网站WordPress播放器插件,支持HTML5

  • Notice: Undefined index: taxonomy in /data/wwwroot/houjianfang.com/wp-content/plugins/wpjam-basic/public/wpjam-thumbnail.php on line 84

    Notice: Undefined index: post_meta in /data/wwwroot/houjianfang.com/wp-content/plugins/wpjam-basic/public/wpjam-thumbnail.php on line 78

    Notice: Undefined index: taxonomy in /data/wwwroot/houjianfang.com/wp-content/plugins/wpjam-basic/public/wpjam-thumbnail.php on line 84

    Notice: Undefined index: post_meta in /data/wwwroot/houjianfang.com/wp-content/plugins/wpjam-basic/public/wpjam-thumbnail.php on line 78
    几篇关于Wordpress的文章-侯建方的个人网站几篇关于Wordpress的文章
  • wordpress评论标注作者-侯建方的个人网站wordpress评论标注作者

  • Notice: Undefined index: taxonomy in /data/wwwroot/houjianfang.com/wp-content/plugins/wpjam-basic/public/wpjam-thumbnail.php on line 84

    Notice: Undefined index: post_meta in /data/wwwroot/houjianfang.com/wp-content/plugins/wpjam-basic/public/wpjam-thumbnail.php on line 78

    Notice: Undefined index: taxonomy in /data/wwwroot/houjianfang.com/wp-content/plugins/wpjam-basic/public/wpjam-thumbnail.php on line 84

    Notice: Undefined index: post_meta in /data/wwwroot/houjianfang.com/wp-content/plugins/wpjam-basic/public/wpjam-thumbnail.php on line 78
    网站安装新插件-侯建方的个人网站网站安装新插件

  • Notice: Undefined index: taxonomy in /data/wwwroot/houjianfang.com/wp-content/plugins/wpjam-basic/public/wpjam-thumbnail.php on line 84

    Notice: Undefined index: post_meta in /data/wwwroot/houjianfang.com/wp-content/plugins/wpjam-basic/public/wpjam-thumbnail.php on line 78

    Notice: Undefined index: taxonomy in /data/wwwroot/houjianfang.com/wp-content/plugins/wpjam-basic/public/wpjam-thumbnail.php on line 84

    Notice: Undefined index: post_meta in /data/wwwroot/houjianfang.com/wp-content/plugins/wpjam-basic/public/wpjam-thumbnail.php on line 78
    新浪SAE安装最新wordpress解决附件无法上传的问题-侯建方的个人网站新浪SAE安装最新wordpress解决附件无法上传的问题

  • Notice: Undefined index: taxonomy in /data/wwwroot/houjianfang.com/wp-content/plugins/wpjam-basic/public/wpjam-thumbnail.php on line 84

    Notice: Undefined index: post_meta in /data/wwwroot/houjianfang.com/wp-content/plugins/wpjam-basic/public/wpjam-thumbnail.php on line 78

    Notice: Undefined index: taxonomy in /data/wwwroot/houjianfang.com/wp-content/plugins/wpjam-basic/public/wpjam-thumbnail.php on line 84

    Notice: Undefined index: post_meta in /data/wwwroot/houjianfang.com/wp-content/plugins/wpjam-basic/public/wpjam-thumbnail.php on line 78
    本站Quench主题文章不分段的解决办法-侯建方的个人网站本站Quench主题文章不分段的解决办法

  • Notice: Undefined index: taxonomy in /data/wwwroot/houjianfang.com/wp-content/plugins/wpjam-basic/public/wpjam-thumbnail.php on line 84

    Notice: Undefined index: post_meta in /data/wwwroot/houjianfang.com/wp-content/plugins/wpjam-basic/public/wpjam-thumbnail.php on line 78

    Notice: Undefined index: taxonomy in /data/wwwroot/houjianfang.com/wp-content/plugins/wpjam-basic/public/wpjam-thumbnail.php on line 84

    Notice: Undefined index: post_meta in /data/wwwroot/houjianfang.com/wp-content/plugins/wpjam-basic/public/wpjam-thumbnail.php on line 78
    wordpress英文主题截取中文不显示-侯建方的个人网站wordpress英文主题截取中文不显示