
ruyago
Gamma
Verificación en dos pasos activada
Verificado por Whatsapp
Me gustaría saber como hacer para quitar el campo "Web" a la hora de rellenar el formulario para comentar.
Este es mi comments.php:
Este es mi comments.php:
<?php if ( post_password_required() ) { return; } ?>
<?php if ( comments_open() || get_comments_number() ) : ?>
<div id="comments" class="herald-comments">
<?php
ob_start();
comments_number(__herald('no_comments'), __herald('one_comment'), __herald('multiple_comments'));
$comments_title = ob_get_contents();
ob_end_clean();
$args = array(
'title' => '<h4 class="h6 herald-mod-h herald-color">'.$comments_title.'</h4>',
'actions' => get_comment_pages_count() > 1 && get_option( 'page_comments' ) ? paginate_comments_links( array('echo' => false)) : ''
);
echo herald_print_heading( $args );
?>
<?php if( strpos( 'above', herald_get_option('single_comment_form') ) !== false ) : ?>
<?php get_template_part( 'template-parts/single/comment-form' ); ?>
<?php endif; ?>
<?php if ( have_comments() ) : ?>
<ul class="comment-list">
<?php $args = array(
'avatar_size' => 60,
'reply_text' => 'Responder'
); ?>
<?php wp_list_comments($args); ?>
</ul>
<?php endif; ?>
<?php if( strpos( 'below', herald_get_option('single_comment_form') ) !== false ) : ?>
<?php get_template_part( 'template-parts/single/comment-form' ); ?>
<?php endif; ?>
</div>
<?php endif; ?>