跳至主要内容

30个优秀Wordpress技巧

Wordpress是强大的,尤其是你用插件将其武装起来。Hongkiat在博客上写了40个Wordpress里的技巧,相信大多数使用wordpress的Blogger都不会满足于默认模板、默认的设置。应用这些技巧,你能将WP改装得更漂亮,更个性化。本想将每个技巧都翻译出来,无奈最近太忙太懒。所以这40个技巧将链接到不同的文章,在文章里有具体的实现方法。这里展示30个,要查看全部请到原作者的博客

1、类别下拉菜单

分类太多,但又想展示全部展示出来,不妨考虑用下拉菜单的方式展示,和可能吧菜单栏上的"更多"有点类似。

2、显示作者Gravatar头像

有些博客是多作者的,如果你觉得单是一个名字不能明显地区分作者,不妨考虑将头像也加上。

3、自定义首页

用一个自定义的页面替换默认的/index.php首页。

4、显示文章作者信息

还是多作者博客可能需要使用的技巧,在每篇文章中都显示该篇文章作者的信息。

5、显示某一类别的最新评论

只显示某类别的评论,而不是全部。

6、高亮作者评论

在评论里,用特别的颜色将文章作者的评论高亮起来。

7、文章缩略图

为每篇文章创建一个缩略图,让你的文章看起来更有趣。

8、分类图片

用图片替代分类的文字。

9、阅读器图片格式优化

有时在阅读器里文字和图片会出现下面的情况:

如果出现了,你需要学学怎样去解决。

10、日期按钮:

制作一个小巧的日记按钮。

11、某篇文章隐藏广告

某些文章或许你不想显示广告,比如写关于腾讯的,会出现大量所谓的"6位QQ号"广告

12、文章置顶

给某篇、或某些文章设置置顶。

13、自定义404错误网页

或许你看了15个很有创意的404页面后很想自己做一个刚有创意的,试试吧!

14、将Wordpress打造成成员目录

如下图:

15、加速Wordpress的4个基本方法

觉得你的博客加载速度很慢而导致博客冷清?尝试用精简代码等方法加速WP吧。

16、创建博客手机版

为WP博客创建一个手机版本

17、新窗口打开链接

大多数默认情况下WP文章里的链接是在原窗口打开的,你可以尝试更改为在新窗口打开。

18、将WP打造成CMS

将WP打造成一个杂志型网站。

19、制作翻页效果

在博客右上角(或其它地方)制作翻页效果,然后放点即时小时也不错。

20、将评论与引用分开

这个很有必要,有些博客评论区域里评论和引用混乱在一起,看起来不是很友好。

21、Wordpress增强编辑器

默认的WP编辑器非常简陋,不妨考虑换一个,比如FCKeditor。

22、侧栏登录

将登录框搬到侧栏中去。

23、图片防盗链

文章被转载时很多情况下图片都会被复制粘贴去,如果你是将图片上传到自己的空间,而你的服务器又没有安装防盗链软件,你可能需要使用这个防盗链插件。

24、在第一篇文章放置广告

有调查表明,浏览者看第一篇文章时点广告的几率最大。你可以设置广告只出现在第一篇文章,后面的文章就不出现,如果你放置了太多广告影响浏览体验的话。

25、自定义登录界面

登录页面虽然只是自己看的,但你也可以将其弄得漂亮点,登录后或许能有个好心情,写篇好文章。

26、将优秀的文章秀出来

酒香也怕巷子深,好的文章不妨拿出来给别人看。

27、展示Twitter消息

在博客里展示Twitter消息。(不是简单的嵌入twitter提供的代码)

28、字数统计

你应该需要知道一篇文章有多长的。

29、某些内容只在Feed提供

你可以用这个插件,在Feed里提供一些特别的内容,以鼓励订阅。

30、某一分类不出现在Feed里(中文

有时我们不希望所有的分类都输出到Feed里。

评论

此博客中的热门博文

How to Design a Store Front Sign

In this Article we will talk about designing a store front for a business. What color or size should your Letters & designs be? What to put on your sign and why?, then be ready to Get in touch with sign people and get your best deal. Large lettering with out a front sign could save you time and money Do your products have a special shape or color to emulate on your sign? Kodak is always in yellow and black, Coca-Cola white on red, Etc. Muffler places, have a sign in the shape of a muffler. your phone number on the store front some place, but not on the identification sign, (door, or window) Your Product & logos can be arranged on the front sign, or window. Not on the Pole sign, Store hours & phone number could fit in your design and by using the product color, it could add product recognition & enhance your design. Suppliers may provide plenty of advert...

Can Microsoft and Yahoo Co-Create New Businesses?

Negotiating The Future of Management Podcast Current Interactive Case Study Respectfully there's a parallel in modern history here. China-HongKong merger. It started as Two System One China. Controversial at that time. Now, many don't mind which system is better (respectfully just an opinion). Both are getting the best of each other under one country. Families are reunited regularly. Corporate identities sometimes focuses too much on what's different as a strategy. It may provide superiority, but does it always guarantee sustainability? Nature advocates the flourishing of various species; pursues diversity not for purposes of destruction but for better adaptability. Of the whole system. Being different doesn't mean one must separate oneself from the "whole" system. "Different" here is to provide a unique contribution to pserve the "whole". Task / role distribution , not identity separation. Preserving the whole system by b...

MP3 firmware upgrade --- switch

1: The most simple if the host machine using Sigma firmware and upgrade program is one! MP3 can be connected to the computer as long as the firmware installed on the computer, and then click on the face of that to upgrade the line of MP3! three antelope 7530 master points in several ways is to first get the firmware is sent to the machine within the sub-sub-folder off the machine DVR will automatically upgrade! Detailed steps have been described in general firmware! Shenzhen City Qing Wei Digital Appliance Co., Ltd.-KINGWAY http://www.kingwon.com.cn/ Technology Co., Ltd. Shenzhen, Pu-chih http://www.poozi.com/down.asp?le ...% D4% D8 & offset = 5 Section Crystal: http://www.fangke-model.com/ Chuanqi (ONKI): http://www.onki.cn/download.asp brother extremely grateful! CDT CDT http://xinvo.com/web/ ExcelStor MP3 http://www.hua-sun.com/xiazai.htm Bester http://www.szbaisite.com Beto www.beto.cn Butterfly www.it8.com.cn Acorp www.acorp.net.cn BES www.bes-chi...