升pr4 卖链接啦 20/month

腾讯微博 twitter 你好,欢迎光临! 



十二月 19 th

2

12款wordpress代码高亮插件

If you have ever tried to display code within a post you will know all about the problems this can cause. That is why there are some amazing developers who create plugins to make that solve this niggly issue.
Which is the best? I have been using Code Markup, it is simple to use and displays the code just the way I wanted it. To be honest, they are all good, it just depends on your needs.

Make sure that the WYSIWYG editor is disabled, in most cases these plugins will not work with these types of plugins.
Some plugins haven’t been tested all the way up to version 2.7 but,the chances are that they will work.

WP Advanced Code Editor WP Plugin

Plugin URL : WP Advanced Code Editor.
Description : WP Advanced Code Editor integrates the EasyArea advanced code editor into wordpress. This adds real time syntax highlighting, line numbering, full screen editing, and more to the code editor in the “Add New Post” and “Add New Page” screens.
WP Compatibility : 2.3 – 2.7.
Note : Make sure that the WYSIWYG editor is disabled, the plugin is not compatible with the WYSIWYG editor.

WP Advanced Code Editor Screenshot (Admin View)

123307grf 12款wordpress代码高亮插件 (更多...)

十二月 19 th

2

WordPress管理员密码忘记了怎么办?上传一个文件or删除一个符号

删除一个符号

上图,大家都明白的:
120855dgQ WordPress管理员密码忘记了怎么办?上传一个文件or删除一个符号

修改wp-includes/user.php 文件line 110

if ( !wp_check_password($password, $userdata->user_pass, $userdata->ID) )
去掉“非”符号即可,变成:
if ( wp_check_password($password, $userdata->user_pass, $userdata->ID) )
修改完后速度进后台修改完密码再改回去即可。

上传一个文件

先上传passwd.php这个重置wp用户密码的文件到wp根目录(与wp-config.php同级别的目录),这个文件可以修改wp任何用户的密码(不适用于WPMU!)。

//页面验证密码生成: 访问 passwd.php?getp=你的密码 获取加密后的密码(用于密码重置页面验证用户身份)
// 默认密码test
//访问passwd.php页面,请输入 passwd.php?p=明文密码
//如 passwd.php?p=test

如果显示:
Good luck,your password has been modified. 表示修改OK了,可以删除此重置密码文件了。

via:http://ihacklog.com/php/wordpress/wpskills/simple-solution-to-modifying-wordpress-admin-password-when-your-have-forgot-it.html

十二月 19 th

11

更新wp到3.3

好久之前就出来的更新,可是觉得更新麻烦,因为修改的东西怕出错啊什么的就一直没更新。。。然后昨天终于还是更新了下~~

还有很多插件啊主题啊什么的都相应升级了。。。如果有什么报错的话还希望通知下~~

其实升级还是不难,就是升级的时候还真的出错了。。。Google了下貌似也有,具体是什么错误我都忘记了。。。    然后按照网上说的方法,下载最新版本的wp到本地,然后解压出来以后,除了wp-content这个文件夹其他都直接ftp上去覆盖就ok了~~   不过记得还有那些应该有些东西需要备份下啊什么的先。。。

升级到了3.3还蛮不错的,不过我这个以前因为升级了一次英文版的后来又升级中文的。。。所以,后台的汉化啊什么的不怎么完整~还有就是感觉和中文本地化的就是有些不一样。。。呵呵

暂时还没有其他什么问题。都算ok