Comment RSS and Trackback Links Added
I added links just below the comment box for a trackback link and for the comment RSS feed. This feature was missing from this theme.
In case you’re wondering about how it was done, here are the technical details. First, I went to the Presentation|Theme Editor screen and then opened the Comment template. Next, I scrolled down to the bottom where the “if you delete this” warning comment is found. Then, I entered the following PHP code:
<?php endif; // if you delete this the sky will fall on your head ?>
<?php if ($post-> comment_status == "open" && $post->ping_status == "open") { ?>
<p><a href="<?php trackback_url(display); ?>">Trackback this post</a> | <?php comments_rss_link('Subscribe to the comments via RSS Feed'); ?></p>
<?php } elseif ($post-> comment_status == "open") {?>
<p><?php comments_rss_link('Subscribe to the comments via RSS Feed'); ?></p>
<?php } elseif ($post->ping_status == "open") {?>
<p><a href="<?php trackback_url(display); ?>">Trackback this post</a></p>
<?php } ?>
And that was it.
Let me know if you have any questions or comments on this. While I am a programmer I’m not an expert in PHP or WordPress but if you have a question I’ll try my best to answer or point you in the right direction. If you’re an expert in PHP and notice a problem I missed, I would appreciate you letting me know.








Hello everybody, my name is Damion, and I’m glad to join your conmunity,
and wish to assit as far as possible.
This is very good information which I’ll be able to apply to my sites. I’m still confused about RSS feeds and the like.
* Phyllis *
Thanks for the informative post.. and thanks for adding our comment to the blog. I am subscribing to your feed so I don’t miss the next post!
shhhh…..be really really quite. I’m trying to sneak in a bad neighborhood link on this blog. Don’t you think my spam comment is convincing? Aren’t I soooo sneaky!