Visualizzazione 8 filoni di risposte
Visualizzazione 8 filoni di risposte
- Devi essere connesso per rispondere a questo topic.
Email: info@wpitaly.it
Home › Forum › Amministrazione WP › visualizzare il nome del creatore del post
Stiamo gestendo un blog in 2 però nei post non compare il nome di chi lo ha creato.
Stiamo utilizzando il tema “WordPress Default 1.6 di Michael Heilemann”, potrebbe essere questo il problema?
grazie
ciao
Ciao,
con <?php the_author_posts_link(); ?>
inserisci il link del nome dell’autore.
con <?php the_author(); ?>
inserisci il nome dell’autore. Deve essere all’interno del loop.
Ciao`
scusa del ritardo ma mi ero un’attimo perso…
dove devo inserire quel testo?
considera che la mia conoscenza di queste cose rasenta lo zero!
grazie
ciao
Devi andare nel file del tuo tema, index.php e anche single.php
ma lo inserisco dove? a seguire il file index e poi single
grazie
ciao
il tag relativo all’autore ce l’hai già solo che è commentato.
<!-- by <?php the_author() ?> -->
deve diventare
by <?php the_author() ?>
potevo anche arrivarci effettivamente…
ma sul file single dove lo metto?
ma sul file single dove lo metto?
esattamente dove vuoi che appaia, in qualsiasi punto tra
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
e
<?php endwhile; else: ?>
perfetto, tutto a posto.
grazie mille per la pazienza
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0