Comments plus, text box does not work!

My site: http://www.filmeshd.tv/transformers-3/

comments.php

<div id=&quot;comments&quot;>
<?php if ( post_password_required() ) : ?>
				<p class=&quot;nopassword&quot;><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyten' ); ?></p>
			</div><!-- #comments -->
<?php

		return;
	endif;
?>
<?php if ( have_comments() ) : ?>
	<h3><?php comments_number('nenhum comentario', 'um comentario', '% comentario(s)' );?> | <a rel=&quot;nofollow&quot; href=&quot;#leave-comment&quot;>Quero comentar!</a></h3>
<ol class=&quot;commentlist&quot;>
	<?php wp_list_comments(array( 'callback' => 'newsleak_comment')); ?></ol>
	<div class=&quot;navigation&quot;>
		<div class=&quot;alignleft&quot;><?php previous_comments_link() ?></div>
		<div class=&quot;alignright&quot;><?php next_comments_link() ?></div>
	</div>

<?php // End Comments ?>

 <?php else : // this is displayed if there are no comments so far 

	if ( ! comments_open() ) :
?>
		<!-- If comments are open, but there are no comments. -->

		<!-- If comments are closed. -->
		<p><?php _e('Sorry, the comment form is closed at this time.', 'news-leak'); ?></p>

	<?php endif; ?>
<?php endif; ?>

<?php comment_form(array('title_reply'=>'Deixe um comentário')); ?>
</div>

  • hitman13
    • New Recruit

    sim funcionou na template "Twenty Eleven 1.2"
    ps. vi que minha temalte puxa algumas informações da (functions.php) postarei o codigo abaixo.

    function newsleak_comment($comment, $args, $depth){
    		$GLOBALS['comment'] = $comment;
    		switch ( $comment->comment_type ){
    			case '' :
    				echo '<li ';
    				comment_class();
    				echo 'id=&quot;li-comment-';
    				comment_ID();
    				echo '&quot;>';
    				echo '<div id=&quot;comment-';
    				comment_ID();
    				echo '&quot;>';
    				echo '<div class=&quot;comment-author vcard&quot;>';
    				echo get_avatar( $comment, 45, 'http://www.filmeshd.tv/wp-content/uploads/2011/08/avatar-admin.jpg');
    				printf( __( '%s <span class=&quot;says&quot;>diz:</span>', 'newsleak' ), sprintf( '<cite class=&quot;fn&quot;>%s</cite>', get_comment_author() ) );
    				echo '</div>';
    				if ($comment->comment_approved == '0'){
    					echo '<em class=&quot;comment-awaiting-moderation&quot;>';
    					_e( 'Seu comentário esta aguardando moderação.', 'newsleak' );
    					echo '</em>';
    					echo '<br />';
    				}
    				echo '<div class=&quot;comment-meta commentmetadata&quot;><a href=&quot;'.esc_url( get_comment_link( $comment->comment_ID ) ).'&quot;>';
    				printf( __( '%1$s at %2$s', 'newsleak' ), get_comment_date(),  get_comment_time() );
    				echo '</a>';
    				edit_comment_link( __( '(Edit)', 'newsleak' ), ' ' );
    				echo '</div>';
    				echo '<div class=&quot;comment-body&quot;>';
    				comment_text();
    				echo '</div>';
    				echo '<div class=&quot;reply&quot;>';
    				comment_reply_link( array_merge( $args, array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) );
    				echo '</div>';
    				echo '</div>';
    			break;
    			case 'pingback'  :
    			case 'trackback' :
    				echo '<li class=&quot;post pingback&quot;>';
    				echo '<p>';
    				_e( 'Pingback:', 'newsleak' );
    				comment_author_link();
    				edit_comment_link( __( '(Edit)', 'newsleak' ), ' ' );
    				echo '</p>';
    			break;
    		}
    	}

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.