DELETE FROM wp_posts WHERE post_type = 'revision'; DELETE FROM wp_postmeta WHERE meta_key = '_edit_lock'; DELETE FROM wp_postmeta WHERE meta_key = '_edit_last';
Archive for blog
2011最后一篇文章
考试告一段落。。嘎嘎! 2012 我来了!!!
Read more...
今天谷歌收录第一个页面 记录一下
虽然只是主页http://0x55aa.sinaapp.com 吼吼 但也是 一个好的开头
谷歌收录网页的速度就是快啊 百度还没反应。。。
Read more...
WordPress高亮代码插件WP-CodeBox的使用
WP-CodeBox插件的相关语法:
Read more...
<pre lang="LANGUAGE" line="N" file="download.txt" colla="+">代码</pre> lang="LANGUAGE":代码的语言,如ASP、PHP、Java等 file="download.txt":创建一个可下载的保存名称 line="N":开始行数 colla="+/-": ”+“表示展开,”-“表示收缩官方介绍支持的语言: abap, actionscript, ada, apache, applescript, asm, asp, autoit, bash, blitzbasic, bnf, c, c_mac, caddcl, cadlisp, cfdg, cfm, cpp-qt, cpp, csharp, css, d, delphi, diff, div, dos, dot, eiffel, fortran, freebasic, genero, gml, groovy, haskell, html4strict, idl, ini, inno, io, java, java5, javascript, latex, lisp, lua, m68k, matlab, mirc, mpasm, mysql, nsis, objc, ocaml-brief, ocaml, oobas, oracle8, pascal, per, perl, php-brief, php, plsql, python, qbasic, rails, reg, robots, ruby, sas, scheme, sdlbasic, smalltalk, smarty, sql, tcl, text, thinbasic, tsql, vb, vbnet, vhdl, visualfoxpro, winbatch, xml, xpp, z80 新建post或pages页面时插入代码,进入HTML编辑状态(一定要记住),插入相关代码,示例如下: <pre lang="php"> <?php function foo() { echo "Hello World!\n"; } for ($i = 0; $i < 10 $i++) { foo(); } ?> </pre> 效果如下: