Questa pagina è aperta ai tuoi interventi. Puoi contribuire cliccando su "Modifica" dal menu in alto.
Tag Template: in_category
Descrizione
Returns true if the current post is in the specified category.
Utilizzo
<?php if ((in_category('5'))): ?>
Del codice HTML per una specifica categoria
<?php endif; ?>
Correlati
the_category, the_category_rss, the_category_ID (Sconsigliato), the_category_head (Sconsigliato), single_cat_title, category_description, dropdown_cats, list_cats, wp_list_cats, in_category
Ultima modifica il 04/03/2006 ore 11:26