6.60 base cookie css daily record DISCUZ dota FORMHASH google Graphic Design HelloTxt iconfans iis7 JavaScript JQuery manyou mysql photoshop PHPCMS PlantsVsZombies regex seo twitter uch v1.0 vcar war3 web Wordpress wordpress plug wordpress相关信息 XML 互通 互通作弊 作品案例 作弊 动漫 原创 开心农场 排序 添加新标签 电脑相关 白菜僵尸房前交欢 程序开发 视频
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.
WP-Syntax和coolcode都是非常优秀的代码高亮插件,我选择了WP-Syntax。
由于安装插件之后不每次都要在代码里手动添加标签,所以在编辑器里添加了Mycode的按钮。
在搜索引擎里找了到了popdo网友的文章一键插入WP-Syntax插件代码, 刚好解决了这个问题。
找到wp-includesjsquicktags.js这个文件
查找:
edButtons[edButtons.length] = new edButton('ed_code' ,'code' ,'<code>' ,'</code>' ,'c' );
在下边增加:
edButtons[edButtons.length] = new edButton('ed_mycode' ,'mycode' ,'< pre lang="php">' ,'< /pre>' ,'z' );
把标签中的空格去掉
zz 2009.06.09 14:34:54 评论
~没事点广告玩~
[回复]