added link to RSS for comments to comments forms
git-svn-id: https://develop.svn.wordpress.org/trunk@396 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e0e5c5ba23
commit
f2eddbb520
@ -21,6 +21,8 @@
|
||||
|
||||
<h2>Comments</h2>
|
||||
|
||||
<p><a href="<?php echo $siteurl; ?>/wp-commentsrss2.php?p=<?php echo $id; ?>">RSS feed for comments on this post.</a></p>
|
||||
|
||||
<?php if ('open' == $post->ping_status) { ?>
|
||||
<p>The URL to TrackBack this entry is:</p>
|
||||
<p><em><?php trackback_url() ?></em></p>
|
||||
|
@ -20,6 +20,9 @@ foreach ($posts as $post) { start_b2();
|
||||
<h1 id="header"><a href="" title="<?php echo $blogname ?>"><?php echo $blogname ?></a></h1>
|
||||
|
||||
<h2>Comments</h2>
|
||||
|
||||
<p><a href="<?php echo $siteurl; ?>/wp-commentsrss2.php?p=<?php echo $post->ID; ?>">RSS feed for comments on this post.</a></p>
|
||||
|
||||
<ol id="comments">
|
||||
<?php /* this line is b2's motor, do not delete it */
|
||||
$comments = $wpdb->get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $id ORDER BY comment_date");
|
||||
|
Loading…
Reference in New Issue
Block a user