Wo ist denn in einem Theme das Autorenfeld? Das steht in meiner comments.php drin:
PHP
<?php // Do not delete these lines
if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('Please do not load this page directly. Thanks!');
if (!empty($post->post_password)) { // if there's a password
if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie
?>
<p><?php _e("Dieser Beitrag ist mit einem Passwort geschützt"); ?><p>
<?php
return;
}
}
/* This variable is for alternating comment background, thanks Kubrick */
$oddcomment = 'alt';
?>
<!-- You can start editing here. -->
<?php if ($comments) : ?>
<h2 class="comments-num">
<?php comments_number(__('Kommentare'), __('1 Kommentar'), __('% Kommentare')); ?>
<?php if ( comments_open() ) : ?>
<?php _e(' bisher '); ?><a href="#postcomment" title="<?php _e('Kommentieren'); ?>">»</a>
<?php endif; ?>
</h2>
<ol id="commentlist">
<?php foreach ($comments as $comment) : ?>
<li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
<!-- Gravatar -->
<?php if (function_exists('gravatar')) { ?>
<div class="comment-gravatar">
<a href="http://www.gravatar.com/" title="<?php _e('Gravatar'); ?>">
<img src="<?php gravatar("X", 48, get_bloginfo('template_url')."/images/default_gravatar.gif"); ?>" class="gravatar" alt=" " />
</a>
</div>
<?php } ?>
<h3 class="comment-title"><?php comment_author_link() ?> <?php _e('sagt'); ?></h3>
<p class="comment-meta">
am <?php comment_date('j. F Y') ?>
@ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a>
<?php edit_comment_link(__("Edit"), ' · ', ''); ?>
</p>
<div class="comment-text"><?php comment_text() ?></div>
</li>
<?php
if ('alt' == $oddcomment) $oddcomment = '';
else $oddcomment = 'alt';
?>
<?php endforeach; /* end for each comment */ ?>
</ol>
<p class="small">
<?php comments_rss_link(__('Komentar <abbr title="Komentare abbonieren">RSS</abbr>')); ?>
<?php if ( pings_open() ) : ?>
· <a href="<?php trackback_url() ?>" rel="trackback"><?php _e('TrackBack <abbr title="Uniform Resource Identifier">URI</abbr>'); ?></a>
<?php endif; ?>
</p>
<?php else : // this is displayed if there are no comments so far ?>
<?php if ('open' == $post-> comment_status) : ?>
<?php /* No comments yet */ ?>
<?php else : // comments are closed ?>
<?php /* Comments are closed */ ?>
<p><?php _e('Kommentarfunktion deaktiviert'); ?></p>
<?php endif; ?>
<?php endif; ?>
<?php if ('open' == $post-> comment_status) : ?>
<h2 id="postcomment"><?php _e('Hinterlasse einen Kommentar'); ?></h2>
<div class="postcomment">
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p><?php _e('Zum schreiben eines Kommentars musst Du '); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>"><?php _e('angemeldet '); ?></a> <?php _e('sein.'); ?></p>
<?php else : ?>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<?php if ( $user_ID ) : ?>
<p><?php _e('Angemeldet als '); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Abmelden') ?>"><?php _e('Logout'); ?> »</a></p>
<?php else : ?>
<p>
<strong><?php _e('Name:'); ?> <?php if ($req) _e('(erforderlich)'); ?></strong><br/>
<input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" tabindex="1" />
</p>
<p>
<strong><?php _e('eMail:'); ?> <?php if ($req) _e('(erforderlich)'); ?></strong><br/>
<input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" tabindex="2" />
</p>
<p>
<strong><?php _e('Website:'); ?></strong><br/>
<input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" tabindex="3" />
</p>
<?php endif; ?>
<?php
/****** Math Comment Spam Protection Plugin ******/
if ( function_exists('math_comment_spam_protection') ) {
$mcsp_info = math_comment_spam_protection();
?> <p><input type="text" name="mathuseranswer" id="mathuseranswer" value="" size="22" tabindex="4" />
<label for="mathuseranswer"><small>Spamschutz: Summe von <?php echo $mcsp_info['operand1'] . ' + ' . $mcsp_info['operand2'] . ' ?' ?></small></label>
<input type="hidden" name="mathresult" value="<?php echo $mcsp_info['result']; ?>" />
</p>
<?php } // if function_exists... ?>
<p>
<strong><?php _e('Kommentar:'); ?></strong><br/>
<textarea name="comment" id="comment" rows="" cols="" tabindex="4"></textarea>
</p>
<p>
<input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e('Sag es'); ?>" />
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
</p>
<?php do_action('comment_form', $post->ID); ?>
</form>
<?php endif; // If registration required and not logged in ?>
</div>
<?php endif; // if you delete this the sky will fall on your head ?>
Alles anzeigen