PageForge 1.3: Verifique todas as corridas antes de escrever, atualize as páginas geradas, SpinTax e lotes reumáveis. Veja o que mudou
Ambrosite Body Class Enhanced icon
Possivelmente abandonado Tested up to 3.2.1 #5 in body

Ambrosite Body Class Enhanced

When activated, this plugin causes the body_class template tag to output five additional classes.

Instalações ativas200+100+ nível
Downloads · 30d189▲ +41% vs prev. 30d
Classificação5/55 comentários
Pontuação da saúde38/100Em risco
Downloads de todos os tempos9.4KSince Apr 2010
Suporte resolvido—Sem tópicos recentes
RequerWP 2.8Php qualquer
Downloads · 7d56▲ +36.6% week over week
Nosso veredicto

Considere uma alternativa

Ambrosite Body Class Enhanced shows warning signs in 2026 — compare the alternatives below before installing. It runs on 200+ sites, is rated 5/5 and was last updated 15 years ago, and scores 38/100 on our health check.

  • Pequena base de usuários (mais de 200 instalações ativas)
  • Nenhuma atualização em 15 anos
  • Only tested up to WordPress 3.2 (latest is 7.1)

Como ele se acumula?

Lado a lado em instalações, atualizações, avaliações e suporte

Downloads diários

3710Aug 28Oct 11Nov 25
Ontem10
Média diária (1y)3
Dia de pico14Nov 22, 2026
Últimos 12 meses1.2K

Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.

Rankings

Where Ambrosite Body Class Enhanc… stands today

WordPress.org Classificações de pesquisa

Posição ao vivo na pesquisa de plugins, top 100
Palavra chavePosiçãoPlugins concorrentesCategoria
body >100 4,474 Best body plugins →
body_class #33 36 Best body_class plugins →
classes >100 5,260 Best classes plugins →
página >100 10,000 Melhores plug-ins de página →
post >100 10,000 Best post plugins →

Adoção da versão

Compartilhamento de sites ativos por lançamento.

  • 1.3100.0%

Divisão de classificação

★★★★★ ★★★★★ 5 de 5 comentários

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Ambrosite Body Class Enhanced

Do Leiame Oficial · v1.3

Descrição

When activated, this plugin causes the body_class template tag to output five additional classes.

On single posts (is_single) :
postname-[permalink slug]
single-[category slug]
parent-[parent category slug] (all parent and grandparent categories in a hierarchy of any depth)

On pages (is_page) :
pagename-[permalink slug]

On category archives (is_archive and is_category) :
parent-category-[parent category slug] (all parent and grandparent categories in a hierarchy of any depth)

Taxonomias personalizadas

As of version 1.3, the plugin now supports custom hierarchical taxonomies. The new body classes take the following form:

On single posts (is_single) :
single-[taxonomy]-[term slug]
parent-[taxonomy]-[parent term slug] (all parent and grandparent terms in a hierarchy of any depth)

On taxonomy archives (is_archive and is_tax) :
parent-term-[parent term slug] (all parent and grandparent terms in a hierarchy of any depth)

For single posts, the taxonomy name is included in the class name, because I felt it was important to be able to distinguish between taxonomies in cases where a post is assigned to more than one custom taxonomy, and when the same term might appear in two or more taxonomies. For example, suppose you had a real estate site with property listings in New York City, and you had two custom taxonomies defined: City and State. Then the classes would look like this:

single-city-new-york single-state-new-york

Multisite Support

As of version 1.3, the plugin now supports multisite installations. If a multisite install is detected, the plugin will output the follow additional body class on every page of the site:

site-[site ID]

Exemplos

If you have a post titled “Top 10 Decorating Ideas”, in category “Christmas”, with a parent category of “Holidays” and a grandparent category of “Calendar”, the additional body classes will be as follows:

postname-top-10-decorating-ideas single-christmas parent-holidays parent-calendar

Why is this useful? Because it enables you to style individual posts and pages, as well as entire categories of posts, using only CSS, without having to edit the template files or create new templates.

Continuing the above example, if I wanted to give all of the posts in the Christmas category a green heading (to give them some extra holiday cheer), I could use a CSS selector like this:

body.single-christmas h1 {
    color: green;
}

Going further, suppose I want to attach a background image of a Christmas tree ONLY to the “Top 10 Decorating Ideas” post:

body.postname-top-10-decorating-ideas div.post {
    background: url('images/xmas_tree.gif') no-repeat left top;
}

What if I want all posts categorized under Holidays (Christmas, Thanksgiving, Easter, whatever) to have a sidebar with a gold border?

body.parent-holidays div#sidebar,  /* all posts assigned to a subcategory of Holidays */
body.single-holidays div#sidebar { /* any posts assigned directly to the Holidays category */
    border: solid 2px gold;
}

These are just a few examples. If you are experienced in writing CSS selectors, you will find many more uses for the new body classes. For further discussion, check this support forum thread: https://wordpress.org/support/topic/393942

Instalação

  • Upload ‘ambrosite-body-class.php’ to the ‘/wp-content/plugins/’ directory.
  • Ative o plugin através do menu 'Plugins' em WordPress.
  • Verify your theme has the body_class function on the body element in header.php, as explained in the WordPress Codex: https://codex.wordpress.org/Template_Tags/body_class

Log de Changes

1.3

  • Added support for custom hierarchical taxonomies.
  • Added multisite support.

1.2

  • Added category archive parent categories.
  • Finds all parent and grandparent categories in a hierarchy of any depth.

1.1

  • Added single parent categories.
  • Added prefix variables for easier customization.

1.0

  • Initial version.

Registro de change completo em WordPress.org →

Para desenvolvedores

Este é o seu plugin? Mostre os números.

Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.

Selo de Instalações Ativas Selo de classificação Distintivo de pontuação de saúde

Best Ambrosite Body Class Enhanced alternatives

All body plugins →
Alternativas
Classificação Plugin Instalações ativas Classificação Atualizada Saúde
1 Head & Footer Code Head & Footer Code Easy add site-wide, category and article specific custom code before the closing and , or… by Aleksandar Urošević 100K+ ★★★★★★★★★★ 5 (51) 3 meses atrás 77
2 Custom Body Class Custom Body Class A plain simple plugin which allows you to add a custom CSS class the HTML body tag. by Andrei Lupu 10K+ ★★★★★★★★★★ 5 (21) 1 ano atrás 45
3 Header Footer Script Adder Header Footer Script Adder Easily insert custom HTML, CSS, and JavaScript into your WordPress site's header, body, and… by mahethekiller 1K+ ★★★★★★★★★★ 4.1 (7) 4 meses atrás 63
4 Add URL Slugs as Body Classes Add URL Slugs as Body Classes Add URL Slugs to body Class by Aaron T. Grogg 700+ ★★★★★★★★★★ 4.8 (5) 12 anos atrás 38
6 Slug as body class Slug as body class Add a unique class to the body tag for easy styling of individual pages by Carlo Roosen 100+ ★★★★★★★★★★ 5 (6) 12 anos atrás 37
7 LH Add Roles to Body Class LH Add Roles to Body Class Adds the currently logged in users role (or roles) to the body class in both the front and… por ShawFactor 30+ ★★★★★★★★★★ 5 (1) 4 anos atras 31
8 Gerenciador de Códigos de Rastreamento Convr Gerenciador de Códigos de Rastreamento Convr Instale e gerencie códigos de rastreamento e pixels de um jeito fácil e simples. Compatível… by multiversoweb 10+ ★★★★★★★★★★ Sem comentários 6 anos atrás 23
9 Background Changer Background Changer Background Changer helps you change very easy and very fast the background color of your… by Ciprian Turcu 10+ ★★★★★★★★★★ Sem comentários 17 anos atrás 23
10 CSS Classes For WooCommerce – customize the WooCommerce cart and checkout via CSS CSS Classes For WooCommerce CSS classes depending on the cart to customize the checkout. por José Mortellaro 10+ ★★★★★★★★★★ 5 (1) 2 meses atrás 69
11 Vücut Kitle Endeksi Vücut Kitle Endeksi Cinsiyet, boy ve kilo girilerek; Vücut Yüzey Alanı, Yağsız Vücut Ağırlığı, İdeal Vücut… by sustun 10+ ★★★★★★★★★★ Sem comentários 16 anos atrás 31

FAQ

Ambrosite Body Class Enhanced: quick answers

Respostas diretas, extraídas de dados ao vivo WordPress.org.

Fonte: WordPress.org

Is Ambrosite Body Class Enhanced free?

Yes. Ambrosite Body Class Enhanced is free to download and use from the official WordPress.org plugin directory.

Is Ambrosite Body Class Enhanced safe to use in 2026?

Ambrosite Body Class Enhanced shows warning signs in 2026 — compare the alternatives below before installing. It runs on 200+ sites, is rated 5/5 and was last updated 15 years ago, and scores 38/100 on our health check.

How many websites use Ambrosite Body Class Enhanced?

Ambrosite Body Class Enhanced is active on 200+ WordPress websites and has been downloaded 9,412 times since it launched in April 2010. It was downloaded 189 times in the last 30 days.

Does Ambrosite Body Class Enhanced work with WordPress 7.1?

Ambrosite Body Class Enhanced is officially tested up to WordPress 3.2.1, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Ambrosite Body Class Enhanced last updated?

The latest version, 1.3, was released on July 3, 2011 (15 years ago).

Who makes Ambrosite Body Class Enhanced?

Ambrosite Body Class Enhanced is developed and maintained by ambrosite.

What are the best alternatives to Ambrosite Body Class Enhanced?

The most popular alternatives to Ambrosite Body Class Enhanced are Head & Footer Code (100K+ installs), Custom Body Class (10K+ installs) and Header Footer Script Adder (1K+ installs).

Alimentado por PageForge

Um modelo e uma planilha. Uma página real para cada pesquisa.

PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.

  • CSV e XLSX, mais Google Sheets em Profissional e Empresarial
  • Seu próprio título, URL, SEO campos e esquema para cada página
  • Funciona com o editor de blocos, Elementor, Divi e Avada
  • Gratuito em WordPress.org, sem cartão de crédito

↑↓ mover↵ abrir