该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Page Style

描述

Allow pages/categories to have different styles by adding a CSS Class (the Page Name or Category/Tag Slug) to the BODY.

The CSS class can be the following:

  • Home Page: “home”
  • Search Page: “search”
  • Category Page: category slug
  • Single Post/Page: page/post slug
  • Posts listed by any date: “archive”
    • If posts are listed by year: “archive year”
    • If posts are listed by month: “archive month”
    • If posts are listed by day: “archive day”
  • Posts listed by author: “author”
  • 404 Error: “404”

Please, feel free to contribute or give me any feedback!

安装

  1. Upload page-style.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Have fun!

常见问题

Any questions can be asked just by sending me an e-mail. My contacts are on my website: http://vinicius.borriello.com.br/contato.php

评价

此插件暂无评价。

贡献者及开发者

「Page Style」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Page Style」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • First plugin release.

1.1

  • Some improvements