Hi Leute.
Habe hier ein Template was mich fertig macht. Ich möchte ganz simpel nur die aufforderung zur Webseiteneingabe entfernen aber ich bekomme es nicht hin obwohl es bei anderen Templates einfach ist.
Auch verwunderlich das z.B. das Wort "Webseite" wie es in dem Feld zum Ausfüllen steht gar nicht in der Sprachdatei vorhanden ist..
Hier mal die Comments.php
PHP
<?php
// Do not delete these lines
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die (esc_html__('Please do not load this page directly. Thanks!','Aggregate'));
if ( post_password_required() ) { ?>
<p class="nocomments"><?php esc_html_e('This post is password protected. Enter the password to view comments.','Aggregate') ?></p>
<?php
return;
}
?>
<!-- You can start editing here. -->
<div id="comment-wrap" class="clearfix">
<?php if ( have_comments() ) : ?>
<h3 id="comments" class="main-title"><?php comments_number(esc_html__('No Comments','Aggregate'), esc_html__('One Comment','Aggregate'), '% '.esc_html__('Comments','Aggregate') );?></h3>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
<div class="navigation clearfix">
<div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">←</span> Older Comments', 'Aggregate' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments <span class="meta-nav">→</span>', 'Aggregate' ) ); ?></div>
</div> <!-- .navigation -->
<?php endif; // check for comment navigation ?>
<?php if ( ! empty($comments_by_type['comment']) ) : ?>
<ol class="commentlist clearfix">
<?php wp_list_comments( array('type'=>'comment','callback'=>'et_custom_comments_display') ); ?>
</ol>
<?php endif; ?>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
<div class="navigation clearfix">
<div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">←</span> Older Comments', 'Aggregate' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments <span class="meta-nav">→</span>', 'Aggregate' ) ); ?></div>
</div> <!-- .navigation -->
<?php endif; // check for comment navigation ?>
<?php if ( ! empty($comments_by_type['pings']) ) : ?>
<div id="trackbacks">
<h3 id="comments"><?php esc_html_e('Trackbacks/Pingbacks','Aggregate') ?></h3>
<ol class="pinglist">
<?php wp_list_comments('type=pings&callback=et_list_pings'); ?>
</ol>
</div>
<?php endif; ?>
<?php else : // this is displayed if there are no comments so far ?>
<div id="comment-section" class="nocomments">
<?php if ('open' == $post->comment_status) : ?>
<!-- If comments are open, but there are no comments. -->
<?php else : // comments are closed ?>
<!-- If comments are closed. -->
<div id="respond">
</div> <!-- end respond div -->
<?php endif; ?>
</div>
<?php endif; ?>
<?php comment_form( array('label_submit' => esc_html__( 'Submit', 'Aggregate' ), 'title_reply' => esc_html__( 'Leave a Comment', 'Aggregate' ), 'title_reply_to' => esc_html__( 'Leave a Reply to %s' )) ); ?>
</div>
Alles anzeigen
Wenn ich unten das php comment_form lösche ist das gesamte Kommentarforular weg, wenn ich aber nur einzelne sachen in dem array lösche tut sich nichts.
Hat jemand eine Idee was ich machen kann??
Gruß Maddoc