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.

Add More Body Classes

Skildring

«Add More Body Classes» adds classes to the body tag. The tags added are

  • locale-[locale]: ex.) locale-ja for Japanese sites, locale-en-US for default English sites.
  • page slug: page-slug-[slug]: ex.) page-slug-about for about page.
  • post type slug: ex.) testimonial-slug-nobil for a singular( «testimonial» ) page with post_name «nobil».

Installasjon

  1. Upload the entire more-body-classes folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the «Plugins» menu in WordPress.
  3. Enjoy!

Omtalar

There are no reviews for this plugin.

Bidragsytarar og utviklarar

“Add More Body Classes” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

1.0

First Commit