Ciao ragazzi, sto usando un template che nel template “archive” utilizza il seguente codice per tirare fuori la lista degli articoli con una foto e due righe del post per ogni singolo articolo.
(inserisco solo il pezzo di codice interessato)
<?php if ( is_category($bnews_options["blogID"]) ) { the_content(); } else { ?>
">"
class="alignleft" alt="<?php the_title(); ?>" />
<?php the_excerpt(); ?>
<?php } ?>
il codice precedente tira fuori tutti i post di quella categoria. Come faccio a dirgli che i POST n° X e n° Y, che fanno parte sempre della stessa categoria, devono utilizzare una class css diversa?
esempio:
elenco della categoria "APPARTAMENTI", gli appartamenti 5 e 6 (quindi POST n° 5 e n° 6) devono essere evidenziati rispetto a tutti gli altri.
Sto cercando di capire coma fare ma sinceramente non ne ho la +pallida idea...
in attesa di un vostro suggerimento, vi ringrazio.
Lory