本页.asp代码如下 <!-- #include file="conn.asp" --> //(连接数据库文件conn.asp) <% dim i,intPage,page,pre,last,filepath set rs = server.CreateObject("adodb.recordset") sql="sele
鉴于SyntaxHighlighter非常方便,所以我们有必要在编辑界面中添加一个SyntaxHighlighter按钮。 修改/wp-includes/js/quicktags.js文件: [code lang="php"]edButtons[edButtons.length]=new edButton("ed_code","code","
本人推荐使用wp-syntax与wp-syntax-button两个插件配合使用,这样在发表文章的可视化编辑窗口就有Code按钮 <?php echo "hello world!" php>