WordPress.org

Support

Support » How-To and Troubleshooting » Comments don't show up!

Comments don't show up!

  • Website: http://tourclubdekroon.nl/gastenboek/

    Hello, I have a problem. I just adjusted my comments.php file but now my comments dont show up anymore. Can anyone please tell me the php code that will make them show up? This is what I have now:

    <?php
    $comment_args = array(
    ‘fields’ => apply_filters(
    ‘comment_form_default_fields’, array(
    ‘author’ => ‘<p class=”comment-form-author”>’ .
    ‘<label for=”author”>’ . __( ‘Your Name’ ) . ‘</label> ‘ .
    ( $req ? ‘<span class=”required”>*</span>’ : ” ) .
    ‘<input id=”author” name=”author” type=”text” value=”‘ .
    esc_attr( $commenter[‘comment_author’] ) . ‘” size=”30″‘ . $aria_req . ‘ />’ .
    ‘</p><!– #form-section-author .form-section –>’,
    ’email’ => ‘<p class=”comment-form-email”>’ .
    ‘<label for=”email”>’ . __( ‘Your Email’ ) . ‘</label> ‘ .
    ( $req ? ‘<span class=”required”>*</span>’ : ” ) .
    ‘<input id=”email” name=”email” type=”text” value=”‘ . esc_attr( $commenter[‘comment_author_email’] ) .
    ‘” size=”30″‘ . $aria_req . ‘ />’ .
    ‘</p><!– #form-section-email .form-section –>’,
    ‘url’ => ”
    )
    ),
    ‘comment_field’ => ‘<p class=”comment-form-comment”>’ .
    ‘<label for=”comment”>’ . __( ‘Let us know what you have to say:’ ) . ‘</label>’ .
    ‘<textarea id=”comment” name=”comment” cols=”45″ rows=”8″ aria-required=”true”></textarea>’ .
    ‘</p><!– #form-section-comment .form-section –>’,
    ‘comment_notes_after’ => ”,
    ‘title_reply’ => ‘Please Post Your Comments & Reviews’
    );
    comment_form( $comment_args );
    ?>

    What should I add to make the comments show up? Any help is appreciated!!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Comments don't show up!’ is closed to new replies.
Skip to toolbar