Before you ask please READ THIS

How to remove comment number on blog page?

edited June 2013 in Spaceship Posts: 139
Hello air,

I'd like to remove the little grey "flag" that shows comment number on top left of each article on the blog page, can you tell me how to do that?

Thank you

Comments

  • AirAir
    Posts: 10,970
    Hello:-)

    With CSS?:-)

    article .post-info a.comments{
    display: none;
    }
    With regards.
  • Posts: 139
    OK, thank you. And on php files? Because with CSs it is first displayed then not.

    Thank you
  • AirAir
    Posts: 10,970
    What do you mean by that?

    With regards.
  • Posts: 139
    I've used your css. When the blog page is loaded, comment number is displayed. At the end of the loading, it disappears.
  • AirAir
    Posts: 10,970
    That is rather odd, cause CSS is run on start.

    Anyway if you wish PHP solution go to advance/utilities.php line ~55 and remove whole this line
    <?php echo ' <a class="comments" href="' . get_comments_link() . '" title="' . get_comments_number() . ' ' . __fe( 'comment(s)' ) . '"><em>' . get_comments_number() . '</em></a>'; ?>
    With regards.
  • Posts: 139
    Thank you !
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion