WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove ALL mention of Comments from PAGES, not posts (6 posts)

  1. Tee_Yum
    Member
    Posted 2 years ago #

    I want to remove anything having to do with comments, as well as "Recent Posts" from all of my PAGES, but leave commenting enabled for posts.

    I am aware you can turn off the comments by disallowing in the interface, but that leaves me with all of this unprofessional clutter at the bottom of the page, which I would like to go away.

    pls halp

    Example page in question: http://www.worldinconversation.org/about-us/
    (Codium extended)

  2. wpismypuppet
    Member
    Posted 2 years ago #

    Open up page.php (I would assume this is being used for your pages... if not, it's something the think about to make them different than posts) and look for:

    comments_template();

    Remove that piece of code...

  3. Tee_Yum
    Member
    Posted 2 years ago #

    Excellent! Thanks for the help. Is there also a way to remove the "Recent Posts" jumble on the side of the page?

  4. wpismypuppet
    Member
    Posted 2 years ago #

    That would be in one of two places... either in your appearance->widgets and check your sidebars (this would be based on your theme and how the sidebars were created), or there is a file called sidebar.php that you would check to see if that section is manually coded there.

    You might have to adjust some css after you remove it to gain a full width view of the content. Again, I don't know how your template/theme is set up, so it's just a guess. Remove the sidebar first and go from there.

  5. Tee_Yum
    Member
    Posted 2 years ago #

    Found it in the sidebar.php. Thanks for all of your help!

  6. wpismypuppet
    Member
    Posted 2 years ago #

    You are welcome!

Topic Closed

This topic has been closed to new replies.

About this Topic