Visualizzazione 4 filoni di risposte
Visualizzazione 4 filoni di risposte
- Devi essere connesso per rispondere a questo topic.
Email: info@wpitaly.it
Home › Forum › Problemi Vari con WP › Gestire articoli recenti per categoria
Salve a tutti, sto realizzando un sito per una scuola media (sono uno studente informatico e sono ancora alle prime armi con wordpress), devo gestire nella home un riquadro che contiene le circolari di recente pubblicazione (ad esempio le ultime 10). Per fare questo mi servirebbe un plugin (o qualcosa altro) che gestisca gli ultimi artiloli pubblicati ma per categoria dato che le circolari avranno tutte la stessa categoria in modo che non si mescolino anche altri articolo.
Grazie in anticipo dell’aiuto e della disponibilità .
Si ma oltre al widget che ho già aggiunto vorrei anche gestire la pagina che contiene tutte le circolari. Ho creato un template apposito (chiamato archivio.php) e vorrei fare in modo che vengano li elencate tutte le circolari (articoli) ordinate per data.
Sapete come fare o avete un link dove sia spiegata bene questa cosa perché fino ad ora in rete non ho trovato molto, grazie.
EDIT:
Ho trovato la funzione
<?php query_posts( 'cat=5');?>
Che però mi stampa solo il contenuto dell’articolo (già un risultato però), io vorrei invece modificarlo in modo che metta un link all’articolo, sapete come fare?
Come sempre: grazie dell’aiuto e della disponibilità
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0