Probleme auf der comments.php mit dem Formular

  • Moin Leute,

    ich habe folgendes Problem: Ich bekomme keinen Zeilenumbruch hinter dem "Kommentar" hin.

    PHP
    <div id="comments">  <?php if ( post_password_required() ) : ?>  <p class="nopassword">Bitte geben Sie das Passwort ein, um Kommentare zu lesen.</p></div><?php return; endif; ?><div id="content-form">  <?php 
    $fields =  array(    'author' => '<p class="comment-form-author">                    <label for="author">Ihr Name <em>(erforderlich)</em></label><br/>                    <input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></p>',    'email'  => '<p class="comment-form-email">                    <label for="email">Ihre E-Mail-Adresse <em>(erforderlich, wird aber nicht veröffentlicht)</em></label><br/>                    <input id="email" name="email" type="text" value="' . esc_attr(  $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /></p>',    'url'    => '<p class="comment-form-url">                    <label for="url">Ihre Website</label><br/>                    <input id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></p>',);
    comment_form( array(     'fields' => apply_filters(         'comment_form_default_fields', $fields ),         'label_submit' => 'Beitrag kommentieren',         'title_reply' => '<h6>Beitrag kommentieren</h6>',         'comment_notes_before' => '',         'comment_notes_after' => ''    ) );    ?>  <hr /></div><?php if ( have_comments() ) : ?><?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?><div class="navigation">  <div class="nav-previous">    <?php previous_comments_link( '&laquo; ältere Kommentare' ); ?>  </div>  <div class="nav-next">    <?php next_comments_link( 'Neuere Kommentare &raquo;' ); ?>  </div></div><?php endif; ?><div id="content-comments">  <h6>Alle Kommentare</h6>  <ul>    <?php wp_list_comments('type=all&callback=callback_comment'); ?>  </ul></div><?php if ( ! comments_open() ) : ?><p class="nocomments">Die Kommentarfunktion ist leider deaktiviert.</p><?php endif; ?><?php endif; ?></div>

    Bitte um Hilfe :)

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!