Home › Forum › Problemi Vari con WP › commenti – personalizzare il form e le label
-
AutorePost
-
-
6 Febbraio 2011 alle 18:46 #16668essezetaPartecipante
ciao a tutti…
avete idea di come personalizzare il form dei commenti?
mi riferisco a ciò che viene richiamato alla fine di comments.php con il tag che segue
<?php comment_form(); ?>
l'esigenza nasce dal fatto che nel nostro nuovo blog chiamimo i commenti "note",
quindi non sarà più "1 commento a titolo-del-pos" ma "1 nota a titolo del post"...
ok, ma questo ce lo modifichiamo in comments.php,
mentre per cambiare "Lascia un Commento" con "Lascia una nota", oppure il valude dell'input (value="Commento all'articolo") bisogna agire sul core (esattamente su wp-includes/comment-template.php) e non vorremmo...
usiamo wp aggiornato ad ultima release e childe theme che si appoggia a Coraline di Matt e company...
qualche consiglio su come fare?
non c'è un modo per agire via function.php?
grazie in anticipo...
-
7 Febbraio 2011 alle 9:03 #81072SteveAglAmministratore del forum
DOvrebbe stare tutto nel comment.php… al massimo è in inglese e localizato… sicuro cnon ci sia?
-
8 Febbraio 2011 alle 15:59 #81128essezetaPartecipante
ciao Steve…
in genere è lଅ
ma nei nuovi temi (e Coraline è un nuovo tema) non c’è…
come non c’è nemmeno in twentyten…
-
8 Febbraio 2011 alle 18:43 #81132SteveAglAmministratore del forum
si vero.. solo che ora si usa comment_form che accetta infiniti pparametri:
-
9 Febbraio 2011 alle 10:03 #81146essezetaPartecipante
e già …
siamo tornati al via… c’è da sudarci un pochino… non si finisce mai di studiare…
un saluto a tutti…
gnl
-
9 Febbraio 2011 alle 10:16 #81147essezetaPartecipante
scusate, non voglio ingolfare il forum…
solo se qualcuno capita su questa discussioncina gli lascio un’utilissima risorsa da cui partire:
http://ottopress.com/2010/wordpress-3-0-theme-tip-the-comment-form/
ciauz
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.