Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="comentarios">
- <h4>Comentarios</h4>
- <?php if ( have_comments() ) : ?>
- <?php wp_list_comments('type=comment&callback=ominid_comment');
- ?>
- <?php else : // or, if we don't have comments:
- /* If there are no comments and comments are closed,
- * let's leave a little note, shall we?
- */
- if ( ! comments_open() ) :
- ?>
- <p class="nocomments"><?php _e( 'Comments are closed.', 'twentyten' ); ?></p>
- <?php endif; // end ! comments_open() ?>
- <?php endif; // end have_comments() ?>
- <?php
- $commenter = wp_get_current_commenter();
- $fields = array(
- 'author' => '<input id="nombre" name="author" type="text" value="'.__( 'Name' ).'" size="30"' . $aria_req . ' />',
- 'email' => '<input id="email" name="email" type="text" value="'.__( 'Email' ).'" size="30"' . $aria_req . ' />',
- 'url' => '<input id="url" name="url" type="text" value="'.__( 'Website' ).'" size="30" />'
- );
- $defaults = array(
- 'fields' => $fields,
- 'label_submit' => 'Enviar comentario',
- 'comment_notes_after' => null,
- 'comment_notes_before' => null,
- 'comment_field' => '<label for="comment">' . _x( 'Comment', 'noun' ) . '<textarea id="comment" name="comment" cols="45" rows="8" aria-required="true">Comentario</textarea></label>',
- 'title_reply' => comment_form_title(false,false,false)
- ); ?>
- <div class="form-respuesta">
- <?php comment_form($defaults); ?>
- </div>
- </div>
Add Comment
Please, Sign In to add comment