BACK TO DIRECTORY

Page Style

by viniciusbo

0.0
(0 ratings)

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!

Plugin Details

Active Installs
10
Total Downloads
3,209
Version
1.0
Requires WP
2.8.2
Requires PHP
Tested Up To
2.8.4
Added
2009-07-24
Last Updated
2009-08-27 2:13pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0