Home › Forum › Plugin e temi di WP › ordine post diverso per home e per una categoria
-
AutorePost
-
-
28 Novembre 2010 alle 22:43 #158043dannyPartecipante
In home mi servono i post ordinati per cronologico inverso… mentre vorrei che per una categoria specifica che ho escluso dalla home con Advanced Category Excluder l’ordine fosse cronologico!?
come posso fare? grazie
-
29 Novembre 2010 alle 9:10 #79040massimo49Partecipante
ciao
puoi dirmi dove si trova la funzionalità “advanced….” e come si installa?
grazie
massimo
-
29 Novembre 2010 alle 19:50 #790783dannyPartecipante
Advanced Category Excluder è un plugin!
Idee furbe per risolvere il mio problema???
-
29 Novembre 2010 alle 19:55 #79079wollyAmministratore del forum
query_posts($query_string . “&order=ASC”)
-
29 Novembre 2010 alle 20:18 #790803dannyPartecipante
ma si può applicare questo comando solo ad una determinata categoria di post??
è cosଠcriptica questa risposta…
-
29 Novembre 2010 alle 20:26 #79081wollyAmministratore del forum
crei un template di categoria per quellacategoria e modifichi il loop con quel query post.
-
29 Novembre 2010 alle 21:50 #790843dannyPartecipante
nel root del mio tema manca il file category.php? dove ne trovo uno base da aggiungere e poi modificare?
Grazie
-
29 Novembre 2010 alle 22:50 #79085msabirPartecipante
Ciao,
Se non hai un “category.php” allora sicuramenti hai un “archive.php” che fa l’archiviazione delle categorie, tag, e per data. Quindi puoi copiare il contenuto di archive.php e modificarlo come vuoi inserendo quel query post che ti ha consigliato Wolly, se vuoi applicare il template ad una sola categoria chiamalo “category-xx.php” (xx= ID categoria).
-
30 Novembre 2010 alle 19:44 #791253dannyPartecipante
sembrerò logorroico, ma il mio tema non ha nemmeno il file archive.php… cosa mi rimane??
-
30 Novembre 2010 alle 19:49 #79127SteveAglAmministratore del forum
la index… leggere la gerarchia dei template sul wiki aiuterebbe… come anche:
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.