WordPress技巧(9): 未着装Theme Starkers
假如你是新手,又不想从头写那些反复的theme基本文件,请看这里。一款未穿上衣服的theme衣架。适合初学者全面了解,wordpress theme 的文件框架。
这里还有几个测试xml,可以import一下,看看效果。
Dummy Content:
When developing themes one of the biggest frustrations can be the lack on content on a new installation of WordPress. Self Conclusion has put together an XML file with several posts and pages of dummy content with tags, categories, comments, links, lists, and everything you will need to test a theme. You can easily download this file and import it into WordPress to save the time of adding your own dummy content.
For Sandbox design competitions, a set of dummy content was released. It achieves the same purpose as the content from Self Conclusion that was just mentioned.
Think Design Blog also has a pack of dummy content that can be downloaded and imported into WordPres
WordPress技巧(8): WordPress Theme Bundle
假如你正在开发WP的theme,那么这个此篇文章正是你所需要的,这是有关wp theme bundle的tip.
假如你在使用Mac下的TextMate,或者Windows下的E-TextEditor,Check Out
1. cd ~/Library/Application\ Support/TextMate/Bundles/
2. svn co http://svn.sofanaranja.com/projects/brettbundles/trunk/Bundles/Wordpress\ Theme.tmbundle WordPress\ Theme.tmbundle或者
直接下载: Wordpress_Theme.tmbundle.zip
开发愉快!~
Vimeo的一些设计草图
有关CSS的Class命名
My Top 10 Most Used CSS Class Names
看到这篇文章以后,做下自己的整理。
在写css的过程中,Class的命名是非常重要的一项内同,简洁有语义的Class命名有利于代码的可读性。虽然伴随着HTML5的到来,会逐渐弱化,直接在HTML标签上进行简化和加强语义,但是这里还是有必要写一下。
class=”fixed”
这里是清除浮动的新写法,自动产生一个不显示的字符”.”,清除浮动,非常的实用。我自己使用class=”clearfix”
.fixed:after{
content:".";
display:block;
height:0;
clear:both;
visibility:hidden;
}
.fixed{
display:block;
}
/* \*/
.fixed{
min-height:1%;
}
* html .fixed{
height:1%;
} (more...)

