WordPress theme: FreshPress

作者

Weborithm (FreshPress Theme)

介绍

FreshPress 主题是基于 WordPress 2.5 “Brecker” 的管理面板样式制作。

下载

使用

如何设置推荐内容?
FreshPress 主题允许你在博客首页显示推荐的内容。创建步骤:

  1. 建立一个“推荐内容”分类,例如“featured”,将推荐文章归类到此类别下;
  2. 打开 index.php 模板文件;
  3. 修改第 7 行的 WP_Query() 中的参数 category_name 的值为 featured ,即推荐类别的名称;
  4. 修改第 29 行的 get_posts() 的参数 category 为 featured 分类的编号,你也可以修改要显示的文章列表数目;

发表评论

可以使用下列 XHTML 标签:<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>