<?php if(have_comments()) : ?><?php comments_popup_link( ... ); ?><?php endif;?>
Thanks, but I’m having trouble using this code. It doesn’t seem to affect the comments at all. Is there anything else I can do?
That code should work. Did you remember to press CTRL and F5 simultaneously when viewing the updated page? Or try emptying your browser cache? This should ensure that your web browser fetches a fresh copy of the page rather than serving up an out-dated copy from your own cache.
Hey,
I’m refreshing the page as I’m updating and still not seeing the change. I even emptied the browser cache. Just to be clear, I put the above code in “comments.php” and I replace the “(…)” with something like “( ‘One comment’, ‘% comments’, ‘comments-link’, ‘Comments are closed )?” I tried it both ways to no success. Do you think it’s just the theme? Am I putting the code on the wrong page maybe?
Thank you!
PS- This is the site in question: http://0307438.netsolhost.com/dgirls/
Fixed it! I went to the index.php page and found everything.
Thanks so much!!!
(@cam_dgat)
15 years, 10 months ago
Hi,
I’m using the InuiTypes theme and I’m having trouble hiding the comments on the main page. I want the number of comments to either not show or only show when there is one or more comment. Does anyone know how I can achieve this? Is it even possible?
Thx!