hocam yok bulamadım :S
<?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
?>
<h2><?php _e("This post is password protected. Enter the password to view comments."); ?></h2>
<?php
return;
}
}
$commentalt = '-alt';
$commentcount = 1; ?>
<div id="comments-template">
<?php if ( $comments ) : ?>
<h6 id="comments"><?php comments_number('Yorum Yok', '1 Yorum Var', '% Yorum Var' );?></h6>
<? // Begin Comments ?>
<?php foreach ($comments as $comment) : ?>
<? if ($comment->comment_type != "trackback" && $comment->comment_type != "pingback" && !ereg("<pingback />", $comment->comment_content) && !ereg("<trackback />", $comment->comment_content)) { ?>
<div class="comment-list" id="comment-<?php comment_ID() ?>">
<div class="comment-block<?php echo $commentalt; ?>">
<div class="comment-author"><?php comment_author(); ?> dediki ;</div>
<div class="comment-date"><?php comment_date('F jS, Y') ?> <?php comment_time() ?> <?php edit_comment_link('edit','',''); ?></div>
<div class="comment-text">
<?php if ($comment->comment_approved == '0') : ?>
<strong>Yorumunuz Site Yöneticileri Tarafından Denetlemeye Alındı. </strong>
<?php else: ?>
<?php comment_text(); ?>
<?php endif; ?>
</div>
</div>
</div>
<?php
($commentalt == "-alt")?$commentalt="":$commentalt="-alt";
$commentcount++;
?>
<? } ?>
<?php endforeach; /* end for each comment */ ?>
<? // Begin Trackbacks ?>
<?php foreach ($comments as $comment) : ?>
<? if ($comment->comment_type == "trackback" || $comment->comment_type == "pingback" || ereg("<pingback />", $comment->comment_content) || ereg("<trackback />", $comment->comment_content)) { ?>
<? if (!$runonce) { $runonce = true; ?>
<h5><a href="<?php trackback_url() ?>">Pingback & Trackback</a></h5>
<? } ?>
<div class="comment-list" id="comment-<?php comment_ID() ?>">
<div class="comment-block<?php echo $commentalt; ?>">
<div class="comment-author">Pingback url <?php comment_author_link(); ?></div>
<div class="comment-date"><?php comment_date('F jS, Y') ?> <a href="#comment-<?php comment_ID() ?>"> <?php comment_time() ?></a> <?php edit_comment_link('edit','',''); ?></div>
</div>
</div>
<?php
($commentalt == "-alt")?$commentalt="":$commentalt="-alt";
$commentcount++;
?>
<? } ?>
<?php endforeach; /* end for each comment */ ?>
<? if ($runonce) { ?>
<? } ?>
<? // End Trackbacks ?>
<?php endif; ?>
<? // End Comments ?>
<?php if ('open' == $post->comment_status) : ?>
<?php if (get_option('comment_registration') && !$user_ID) : ?>
<h2>Comments are closed.</h2>
<?php else : ?>
<h6 id="comments">Yorum Yaparmısınız :</h6>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="comment-form">
<?php if (!$user_ID) : ?>
<p><input name="author" type="text" class="comment-box" value="<?php echo $comment_author; ?>"/><label>İsminiz (zorunlu)</label></p>
<p><input name="email" type="text" class="comment-box" value="<?php echo $comment_author_email; ?>"/><label>Mail (zorunlu)(Gizli Kalıcak) </label></p>
<?php endif; ?>
<p><textarea name="comment" id="comment" cols="58" rows="10" tabindex="4"></textarea></p>
<p><input name="sbm" type="submit" value="Yorum Gönder" class="comment-submit"/><input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
</p>
</form>
<?php endif; // If registration required and not logged in ?>
<?php endif; // if you delete this the sky will fall on your head ?>
</div>