Home › Forum › Problemi Vari con WP › Anteprima articolo parzile per categoria
-
AutorePost
-
-
20 Marzo 2009 alle 15:05 #9870msgraphicitPartecipante
Ciao, qualcuno sa come è possibile che se inserisco in una pagina il codice per visualizzare gli articoli di una determinata categoria, gli articoli vengono visualizzati per intero e la funzione “more” non funziona?
Grazie.
-
20 Marzo 2009 alle 15:23 #63971
-
20 Marzo 2009 alle 17:26 #63988msgraphicitPartecipante
Grazie, ma purtroppo non funziona o per lo meno non come servirebbe a me, in quanto questo codice divide si l’articolo ma non quando si inserisce il more.
-
14 Aprile 2009 alle 15:19 #64530msgraphicitPartecipante
Ho seguito tutte le istruzioni 2.21  Home Page: Visualizzare nella Home Page un Riassunto degli Articoli invece degli Articoli interi ma come posso far tagliare l’articolo dove inserisco la funzione more?
se non sbaglio io <?php the_excerpt(‘Read the rest of this entry »’); ?> interrompe l’articolo dove vuole lui, almeno è possibile scegliere a quante righe deve essere interrotto?
Aiuotooo!!!!!!!!!!!!!!!!!!!
-
14 Aprile 2009 alle 15:33 #64531degraPartecipante
no, the_excerpt mostra solo una quantità fissa di caratteri, che non può essere modificata. per decidere tu dove tagliare, usa il tasto “more” che trovi nell’editor dei post.
-
14 Aprile 2009 alle 16:41 #64539msgraphicitPartecipante
Grazie degra della tua celere risposta, ma se creo una pagina con categoria personalizzata, cioè una pagina che mostra solo gli articoli di una determinata categoria il tasto “more” non mi funziona!
è normale?
-
14 Aprile 2009 alle 18:01 #64545degraPartecipante
non vorrei dire una stupidaggine, ma mi pare che le pagine che mostrano gli articoli per categoria vengono visualizzate solo con the_excerpt e non acettano nè more nè articolo intero. Non so, magari c’è qualche plugin che potrebbe fare ciò che chiedi.
-
14 Aprile 2009 alle 18:34 #64547SteveAglAmministratore del forum
le pagine delle categorie mostrano l’excerpt o il content.. dipende da quale tag viene inserito nel template della pagina delle categorie del tema… in effetti solitamente i temi hanno per la category.php the_excerpt… ma nulla vieta di mettere the_content
-
15 Aprile 2009 alle 16:14 #64575msgraphicitPartecipante
Allora il template lo faccio io quindi non ce problema quale tag inserire,
il problema che voglio che funzioni il tasto more o si riesca impostare un tot di righe nella pagina personalizzata.
-
15 Aprile 2009 alle 16:17 #64576msgraphicitPartecipante
Cioè ho realizzato un tema è vorrei inserire una categoria in una pagina, e fino a qui tutto ok!
Ma inserendo gli articoli mi sono accorto che gli articoli venivono mostrati per intero a prescindere dal tasto more!
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.