added link to RSS for comments to comments forms
git-svn-id: http://svn.automattic.com/wordpress/trunk@396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5ff45466a7
commit
1a77d22ca5
|
@ -21,6 +21,8 @@
|
||||||
|
|
||||||
<h2>Comments</h2>
|
<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) { ?>
|
<?php if ('open' == $post->ping_status) { ?>
|
||||||
<p>The URL to TrackBack this entry is:</p>
|
<p>The URL to TrackBack this entry is:</p>
|
||||||
<p><em><?php trackback_url() ?></em></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>
|
<h1 id="header"><a href="" title="<?php echo $blogname ?>"><?php echo $blogname ?></a></h1>
|
||||||
|
|
||||||
<h2>Comments</h2>
|
<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">
|
<ol id="comments">
|
||||||
<?php /* this line is b2's motor, do not delete it */
|
<?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");
|
$comments = $wpdb->get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $id ORDER BY comment_date");
|
||||||
|
|
Loading…
Reference in New Issue