Comment Link in single.php
Ever noticed that the comments_popup_link function doesn’t actually output anything when viewing a single post?
I have … and until recently, I ended up just not including a link to the “comments” of a post when viewing a single post, and just hoping that either 1) no one noticed, or 2) no one would care, assuming they would just scroll down to the bottom of the post to see the number of comments.
But, I don’t like to assume. I like to think of the user as a person … a person that has normal expectations when using a theme.
Therefore, I decided to figure out a way (I’m sure I’m not the only one) to keep that darn link working … even when viewing a single post. Read More