Support » Fixing WordPress » I'd like to remove the comments and author section

  • I’d like to remove the comments section my website and I’d also like to remove who it was posted by. I’m using the theme “Gallery”. I can’t find any option to turn off authorship. I see the option to turn off comments but when I uncheck allow comments in quick edit, instead of showing the comments section, it says “Comments Closed”. I’d like to remove that. Here’s my website: I’ve searched on this topic but I am having trouble finding solutions. So far, I haven’t been able to find the code when they say look for this specific line. Maybe it’s because of the theme I’m using? Or maybe I’m not searching correctly, I don’t know. I’m a complete noob to this. Help please!

Viewing 5 replies - 1 through 5 (of 5 total)
  • anyone?

    Hi daeyeth,
    I had the same problem. For me though my theme (suffusion) had a option to turn that off but I understand a lot of themes don’t. Which it seems like your is one of those. If thats the case you have to edit some code and go into the index.php and look for
    <small><?php the_time(‘F jS, Y’) ?> by <?php the_author() ?></small>
    then delete the “by <?php the_author() ?></small>” part so it looks like
    <small><?php the_time(‘F jS, Y’) ?>
    Should be similar for the comments but I’m not sure what that code says, though I imagine it is something like “php comments.” Hope that helps a little.

    Also I checked your site and didn’t see “author” or “comment closed” so maybe you already found a fix and this topic is null and void. But if not and it’s still showing on your end, try deleting your cache, maybe you solved your problem and didn’t even realize it.

    good luck,

    P.S. Another idea is to change the font color of “author” and “comment closed” to your background color, that way even though it is still there, no one would be able to tell since its the same color as the background. I don’t know if with your theme, if you can selectively change font colors like that though.

    Yes, I found a fix. The nice makers of the theme I use told me use the code below in the CSS. Posting it for anyone else that needs it, it removes the comments and author completely.

    #comments {
    display: none !important;

    Where EXACTLY do you place that code, and am I correct is understanding that it removes the ability to comment on the site?

    It complete removes both the author section and comments section of posts so that you don’t see them. You put this code in Appearance > Edit CSS.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I'd like to remove the comments and author section’ is closed to new replies.