Linking to Page Showing Only Comments Without Parent Post

You could probably just create a new page in WordPress, and give that page a custom template. Then the url would just be whatever it normally would be to get to that page. The only difference is that the custom template you are using would be setup to accept the comment_id via the querystring, and then just get the details for the specific comment, and in the template code echo out the details of the comment.

So, if you have a page in wordpress called “Comment Details” that you create, you could access that page via http://www.domain.com/comment-details (assuming you have permalinks enabled). So your link would look like this:

<a href = "https://wordpress.stackexchange.com/questions/277/<?php bloginfo("url');?>/comment-details?comment_id=$comment_id">View single comment</a>

The “Comment Details” page would be set up to use a custom template that would contain the code to spit out the details.

Leave a Comment