Email: info@wpitaly.it
Scusa, non ho capito.
Aggiungo una precisazione.
Con i permalink personalizzati (/%categories%/%postname%/) i link generati da wp_list_categories () sono cosଠstrutturati:
http://www.miosito.it/category/nome-categoria/
Ora nel mio template esiste la pagina generica category.php quindi non dovrei aver problemi.
Eppure ottengo un bel not found…
Ciao Doz, grazie per avermi risposto.
Non funzionano più i link generati dal loop: ad esempio i link generati da wp_list_categories();
Un saluto.
Ho risolto.
<?php query_posts(‘cat=1&showposts=’.get_option(‘posts_per_page’)); ?>
La funzione query_posts(); va inserita fuori dal loop: naturalmente è necessario settare la variabile cat; il numero dei post visualizzati è dato da get_option(), a sua volta determinato da Impostazioni->Lettura->Numero di articoli da visualizzare.
Ciao a tutti.
Chiedo scusa a tutti per la banalità della domanda posta.
La risposta alla mia domanda – che mi do da solo – é: LOOP.
Un saluto a tutti.
Grazie Deeproad!
Cosଠfunziona. Rimane che non riesco a spiegarmi il perchè del mancato funzionamento con un path relativo che, fino a prova contraria, è corretto.
Un saluto.
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0