Problem with “><?php comments_popup_link(‘0’, ‘1’, ‘%’); ?>
-
Hi there:-
I am trying to setup comments. The desired design is that I would get a total number of comments, but as a default the comments are hidden. By clicking on the number of comments, the comments are revealed on the page. I see this design on many blogs including the default and classic themes. So I copied the code, but it doesn’t work. The function does return the number of columns, but clicking on the link doesn’t hide/show the comments. The comments always appear.I have now spent 4 hours trying to fix this. I have read docs, checked out standard themes to no avail. I am wondering if I need to install a plug-in or do something not so obvious to get this to work. Below is a piece of code.
If someone could help, I would appreciate it. Thanks.<div id=”commentStatus”>
<h3 class=”commentsHeading”>Reader comments:
<span class=”commentsCounter”><?php comments_popup_link(‘0’, ‘1’, ‘%’); ?><span>
</h3><?php comments_template(); // Get wp-comments.php template ?>
</div><?php endwhile; else: ?>
- The topic ‘Problem with “><?php comments_popup_link(‘0’, ‘1’, ‘%’); ?>’ is closed to new replies.