Tema comentaris solucionats

Finalment solucionat el tema comentaris. El cas és que a l’instal·lar la nova versió de WordPress no aconseguia que em funcionessin els comentaris com normalment. No hi havia ni camp d’autor ni mail… i sempre demanava un registre a la web que tampoc volia jo. Al final el google ha sigut bon amic i m’ha trobat la solució.El comentari de la Lea ha sigut bàsic per solucionar-ho.

Actually, I figured out a way so none of this difficulty has to happen. First of all, yes, comment out or, as I did, delete:

// If the user is logged in
get_currentuserinfo();
if ( $user_ID ) :
$comment_author = addslashes($user_identity);
$comment_author_email = addslashes($user_email);
$comment_author_url = addslashes(str_replace(’http://’, ‘’, $user_url));
else :
if ( get_option(’comment_registration’) )
die( __(’Sorry, you must be logged in to post a comment.’) );
endif;

from your wp-comments-post.php file.

And then, go to Presentation > Theme Editor > Comments Template

and then comment out or delete

located right before:

imput type=”text” name=”author” id=”author” value=”” size=”22″ tabindex=”1″ />

AND VOILA!!! 🙂 It just took me an entire day of fiddling the other day on top of me just experimenting and scouring the WordPress support forums to get this. Whee!

You may also like...

Deixa un comentari

L'adreça electrònica no es publicarà. Els camps necessaris estan marcats amb *

:: Amb compte ::
Resum de la privadesa

Aquest lloc web utilitza galetes per tal de proporcionar-vos la millor experiència d’usuari possible. La informació de les galetes s’emmagatzema al navegador i realitza funcions com ara reconèixer-vos quan torneu a la pàgina web i ajuda a l'equip a comprendre quines seccions del lloc web us semblen més interessants i útils.