Grazie a quanti vorranno rispondermi.
Prima di postare ho provato a cercare nel forum ma non ho trovato risposte soddisfacenti.
Sto creando un mio template.
Vorrei visualizzare in home solo gli articoli di una determinata categoria.
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php endwhile; ?>
<?php endif; ?>
Credevo esistesse un argomento da passare a the_post() per forzarlo ad una determinata categoria, ma mi sembra dalla documentazione non sia possibile.
Qual è la classe/funzione che devo richiamare nel mio loop affinché io possa forzare la visualizzazione del contenuto di una singola categoria?
Ciao a tutti.