By Charles on 三 29th, 2009 | 494 Views
今天在FriedFeed上看到qingbo的一张脚本语言的图,很有意思,自己也来试试看。结果:
Keep reading »
Posted in 趣 闻 | Tagged develop, google, interesting, interesting things, joke, opinion
By Charles on 三 28th, 2009 | 559 Views
名称:GoogleCode
特性:
- 拥有Hybrid主题所有的内在美
- 两栏
- 主页(Primary)、帖子页(Secondary)、归档页(Archive)、页面页(Page)有不同的侧边栏,括号里是边栏名字
- 标签式页面菜单
- 其他Hybrid主题框架所拥有的一些功能
版本:0.1beta Keep reading »
Posted in WordPress | Tagged develop, hybrid, my works, themes, WordPress
By Charles on 三 25th, 2009 | 757 Views
下载各个版本的WordPress:
wp2.5.1——http://wordpress.org/wordpress-2.5.1.zip
wp2.6.3——http://wordpress.org/wordpress-2.6.3.zip
当前版本——http://wordpress.org/latest.zip
其他版本依此类推。
建立磁盘目录:
www
|—phpMyAdmin
|—wp25
|—wp26
|—wp27
|—plugins
我就是按照上面的样子建立的。plugins用来统一存放插件。(如果是xampp的话,根目录是htdocs,phpMyAdmin已经安装好了。)
建立测试数据库。三个wp使用同一个数据库。
配置wp-config.php
- //wp263和wp271添加如下两行
- define('WP_PLUGIN_DIR', dirname(dirname(__FILE__)) . '/plugins');
- define('WP_PLUGIN_URL', 'http://localhost/plugins');
- //三个版本都要最后两行
- define('WP_DEBUG', true);
- define('PLUGINDIR', '../plugins');
- ?>
关闭老版本WP的升级提示:
找到wp-includes/update.php
//add_action( 'init', 'wp_version_check' );
像上面那样注释掉上面那行字。
在plugins目录下,安装ozh的no-login插件。
现在这套测试环境,我自己使用下来感觉是WP 2.5的支持很不好。很多插件走不通。主要就是路径的问题。WP2.6和WP2.7的问题不大。但是如果插件需要引用wp_blog_head.php或者wp-config.php,在这样的环境下无法正常运行,我想这其实也是插件开发者的疏漏吧。
Posted in WordPress | Tagged development, enviornment, guide, test, WordPress
By Charles on 三 13th, 2009 | 1584 Views
Author of this document: Snowblink
Actually, I'm lazy, and I hate paper work. My dear friend, Snowblink, created this document. Thank her very much!
非常感谢snowblink的辛勤工作,我不知道如何才能用英语表达对你的感谢。所以用中文再说一遍!
Keep reading »
Posted in WordPress | Tagged documents, FAQ, plugins, WordPress
By Charles on 三 9th, 2009 | 1050 Views
今天刚看到几个WordPress开发资源,觉得很不错~在这里记录一下。 Keep reading »
Posted in Plugins Develop, WordPress | Tagged development, interesting things, resources, tools, WordPress
By Charles on 三 6th, 2009 | 731 Views
在WordPress里面,有一类函数,他们被称为Templete Tags,它们相比于普通的函数,有一个共通的特点。那么它们共通的特点是什么?应该如何使用模板标签呢?本文为您解答这个问题。 Keep reading »
Posted in Plugins Develop, WordPress | Tagged tags, template, usage, WordPress
Most Commented Posts