Home › Forum › Problemi Vari con WP › un aiutino per implementare codice visualizzazione tag in tema che non ce l’ha
-
AutorePost
-
-
25 Gennaio 2009 alle 9:02 #9212AvelixPartecipante
Ciao a tutti,
Nonostante abbia letto la pagina dedicata del wiki che riporto qui sotto
http://www.wpitaly.it/wiki/Main/ComePassareParametriAiTag
ed abbia cercato di comprendere come modificare il tema che sto utilizzando (o2 4 colonne di: http://blog.eches.net/themes/o2-20-wordpress-theme-to-be-downloaded/)
Mi trovo a non capire quali siano le stringhe da inserire che mi permettano di fare visualizzare i tag ( e non i topics)
Nota: aprendo il vecchio tema, dove i tag che io sceglievo venivano visualizzati,assieme a quelli dei topics, ho trovato dei riferimenti ad una pagina apposita che si chiama tag.php (il tema era Zoxengen)
La cosa più assurda infatti è che da quando utilizzo il nuovo tema, se vado sulla bacheca nella voce: Gestione>>Tag, mi accorgo che le ultime due pagine sono completamente vuote!
Questa cosa sta penalizzando l’andamento del Blog e lo riscontro in un calo di accessi, quindi vorrei risolverlo (poi magari mi sbaglio, ma dalle statistiche ho una conferma che sia con il primo tema di eches *langit* che con questo…gli utenti sono calati.)
Riassumendo:
Non ho una stringa che mi permetta di visualizzare i tag che io imposto in un articolo e nonostante abbia letto la pagina del wiki non ho idea delle modifiche da effettuare.
Ultima nota: ho lavorato parecchio su questo tema per la customizzazione e mi piacerebbe tenerlo, però cosi com’è lo trovo penalizzante.
PS: ho letto anche le pagine non ancora tradotte, sempre nel wiki, ed ho cercato con google (in italiano) senza esito positivo.
Se qualche anima pia mi indicasse una strada da percorrere gliene sarei grato
Buon WP a tutti!!
Avelix
-
25 Gennaio 2009 alle 9:27 #61717wollyAmministratore del forum
-
25 Gennaio 2009 alle 10:13 #61719AvelixPartecipante
http://codex.wordpress.org/Template_Tags/the_tags
Ciao Paolo e grazie inanzitutto per il link che ho subitissimo letto.
A quanto mi pare di capire basta che aggiungo nel loop questo:
<?php if (get_the_tags()) the_tags(); ?>
Giusto?
Ma a quante birre e pizze sono arrivato a doverti offrire diamine ehehheeh )
-
25 Gennaio 2009 alle 10:47 #61720wollyAmministratore del forum
no basta:
<?php the_tags('before', 'separator', 'after'); ?>
-
25 Gennaio 2009 alle 15:41 #61722AvelixPartecipante
no basta:
<?php the_tags('before', 'separator', 'after'); ?>
Eccomi
Scusa ma ho letto ora il messaggio.
Mi consigli quindi questa stringa, ok.
Nel frattempo avevo testato già l’altra e funzionava, andandomi a ripescare tutti i tag che sino ad ora non mi visualizzava.
Che dici, conviene cambiare o lascio cosi?
Ps: aggiungo il profitterols alla pizza e alla birra!
Ciau
Teo
-
25 Gennaio 2009 alle 15:50 #61723wollyAmministratore del forum
la prima se non trov i tags non stampa nulla la seconda se i tag non ci sono stampa “tags” o quello che hi deciso tu.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.