Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

Page Style

Skildring

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!

Installasjon

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

Vanlege spm.

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

Omtalar

There are no reviews for this plugin.

Bidragsytarar og utviklarar

“Page Style” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

1.0

  • First plugin release.

1.1

  • Some improvements