I have paginated comments activated on my blog. I also have it styled within a div. Problem is, if there isn’t enough comments to separate them into more than one page, I have an empty div.
Is there some sort of ‘if has paginated comments’ function or workaround I can use that will only display the div if the post has enough comments to paginate?
Here’s my code:
<div id="paginate_comments"><?php paginate_comments_links(); ?></div>
- The topic ‘If has paginated comments’ is closed to new replies.