• Resolved cam_dgat

    (@cam_dgat)


    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!

Viewing 5 replies - 1 through 5 (of 5 total)
  • <?php if(have_comments()) : ?><?php comments_popup_link( ... ); ?><?php endif;?>

    Thread Starter cam_dgat

    (@cam_dgat)

    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.

    Thread Starter cam_dgat

    (@cam_dgat)

    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/

    Thread Starter cam_dgat

    (@cam_dgat)

    Fixed it! I went to the index.php page and found everything.

    Thanks so much!!!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Hide comments on main page’ is closed to new replies.