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!

Google+
Classificat a General

Deixa un comentari

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>