WordPress on .NET 4.0
Nishizhen | C#相关, 关于Wordpress | 2012-01-04
WordPress is an open-source content management system (CMS) built using PHP and MySQL. It’s one of the most frequently used solutions for blog publishing. In this article I describe how to compile this PHP application to .NET Framework 4.0 using Phalanger.
Contents
Motivation
Requirements
Copy to publishing location
Set-u... [阅读全文]
如何编辑WordPress的po和mo文件
Nishizhen | 关于Wordpress | 2011-08-03
wordpress里有.po 和.mo文件,是用于对wordpress进行语言翻译的文件
1、 WordPress的语言包PO和MO用什么打开
至于编辑工具,由于 po 文件本身就是一个文本文件,所以任何文本编辑器都可以使用。除了专门编辑 po 文件的 poEdit ,还推荐使用 EditPlus、UltraEdit或者你喜欢的 vi 或 vim。
poEdit 从poEdit.net上下载
2、如何编辑po和mo文件
一般... [阅读全文]
wordpress反垃圾评论插件推荐
Nishizhen | 关于Wordpress | 2010-05-17
随着博客的发展,垃圾评论也越来越多。wordpress 作为目前最为流行的一款博客程序,提供了非常多的发垃圾评论插件,下面是Weblog Tools Collection推荐了十款wordpress发垃圾评论插件,原文标题:10 Plugins To Combat Comment Spam。
1,Comments For Cookies
安装这个插件后,当浏览者浏览某个网页的时候,会置入一个cookie。在浏览者发表评论的时... [阅读全文]
WordPress上一篇,下一篇导航
Nishizhen | 关于Wordpress | 2010-01-28
在单篇日志即single.php页面加入正文下方’上一篇”下一篇’日志无疑可以增加文章间的黏性,对SEO还是小有好处的。通过wordpress默认自带的一些简单语句实现。
1.先打开style.css,在最底端输入:
.floatleft {
float:left;
}
.floatright {
float:right;
}
这个意思就是把上一篇和下一篇同行并且分列左右两端。
2.将下列加入到single.php(也就... [阅读全文]
WordPress不允许上传rar文件的解决方法
Nishizhen | 关于Wordpress | 2010-01-18
今天Blog刚刚重新搭建好,使用的WordPress2.9.1
再写第二篇文章的时候就发现不让上传RAR文件。。。
无语 。。。
解决方案:
打开文件 wp-content/wp-includes/functions.php文件
找到get_allowed_mime_types方法:
发现他就然就是没有rar:
/**
* Retrieve list of allowed mime types and file extensions.
*
* @since 2.8.6
*
* @return array Array ... [阅读全文]