Buonasera.
Sto realizzando un mio tema (basandomi su uno già esistente) ed ho la necessità di eliminare l’autore dei post da ogni articolo lasciando però la data.
La dicitura “Pubblicato il 19 agosto 2012 da mio_cugino” dovrebbe diventare “Pubblicato il 19 agosto 2012”.
Ho letto la guida “dissezione di un tema WordPress” ma non ho trovato una risposta.
Da quel che ho visto la soluzione dovrebbe essere nella funzione nome_tema_posted_on() e per l’esattezza nel codice
printf( __( '<span class="%1$s">Posted on</span> %2$s <span class="meta-sep">by</span> %3$s', 'yodastudio' ),
ritenevo fosse sufficiente eliminare la parte relativa alla visualizzazione dell'autore lasciando quindi
printf( __( '<span class="%1$s">Posted on</span> %2$s', 'yodastudio' ),
ma in questo modo il testo visualizzato è in inglese (Posted on 19 agosto 2012).
Qualche aiuto?
Grazie.