Most WordPress users are using custom fields to display thumbs on their blog homepage. It is a good idea, but do you know that with a simple php function, you can grab the first image from the post, and display it. Just read on.
Archive for the wordpress Category
Bringing the Magazine to the Web - Posted
The rise of blogs on the web has brought a quick and easy way for anyone to publish their thoughts online without having to get down and dirty with HTML. Just write your content, hit ‘Publish,’ and your thoughts are instantly available for the masses to read.
For all the good that blogs have done, they’ve made the internet look predictable when compared to articles printed in a magazine which look completely unique, each with their own art style and layout. As Greg Storey pointed out in a blog post from 2006, “before there were blogs we had websites. Beautiful, random websites that felt more like a zine – one page looking nothing like the one before or after it”.
Most larger blogs may have a unique theme, but each blog post looks the same. Most posts we read everyday share the same common layout:
wordpress2.9模板支持page-slug和page-id - Posted 2009年12月27日
Asaph for wordpress - Posted 2009年12月16日
Asaph is a micro-blogging system, focusing on collecting links and images from other pages. It allows you to post content directly from any page you are on. Asaph is not a full blown blog and it does not aim to be one — it just does this one task, but it’s pretty good at it.
The alternative Stickney Theme also shows date and author information for each post and allows posting of longer texts. Feel free to modify these themes to your liking, or create new ones.
My own Asaph blog can be found at asaph.phoboslab.org.
Here’s a short screencast of how posting entries in Asaph works:
用xampp在本地搭建WordPress - Posted 2009年12月15日
首先,下载最新的xampp lite(没必要用完整版的,对于wordpress来说lite版就足够了。官网上提供了两种格式下载,ZIP格式的是安装版,EXE格式的是自解压版,我这里选择了小得多的EXE,其实内容是一样的。
然后就是安装了,先解压到一个目录,我直接安装到了D盘根目录。解压后在D盘下就多出了一个xampplite的文件夹。
进入文件夹,执行名为“setup_xampp” 的批处理文件(后缀为.bat),成功后按任意键关闭窗口。