3rd request for help for simple code….
-
Hi! thanks for clicking on me….
Im sorry for using an eye-catching title, but this may be the only way to get ppl to help..
Here’s my issue:
I was getting feedback that the comment link on the bottom of each post was being ignored because it blended in to everything else.
Thus, I wanted to create a comment button.
I succeeded in making a button that displays the amount of comments on each post with the following code in index.php:
<button type="button"> <?php comments_popup_link('No Comments ?', '1 Comment ?', '% Comments ?'); ?></button></p>
Problem is that the button doesn’t link anywhere.
Simple question—-what do I have to add to make the button link to each post’s comments?
Someone suggested that I put in the followiing code instead:
<a href="<?php comments_link(); ?>"><button type="button"><?php comments_number('No comments »','1 comment »','% comments »'); ?></button></a></p>
All that did was make the text underlined in the button…
I sincerely appreciate any insight…Thanks
- The topic ‘3rd request for help for simple code….’ is closed to new replies.