• Resolved creolejazz

    (@creolejazz)


    This will be yet another newb question from me but I’m trying to learn my way around WP. I’m building a website (not a blog) around the Twenty Ten theme. At the bottom is an area that reads, “Leave a Reply” with a space to type. I don’t need that text nor that area. How do I edit it out? Do I edit the THEME? Or is there a “template” area to modify?

    Sorry, I’ve used Dreamweaver for years and am having trouble making the trasition to WP. Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Don’t edit the Twenty Ten theme. Your changes will be over-written the next time you upgrade WordPress. For this reason, it is recommended that you consider creating a child theme for your customisations. Once your child theme is active, we should be able to help with the customisation.

    Thread Starter creolejazz

    (@creolejazz)

    Thanks! That is very cool. OK, I’ve got my child theme created. Now how do I go about deleting the “Leave a Reply” section? Thanks again for the assistance.

    In your child theme’s copy of loop-page.php, remove <?php comments_template( '', true ); ?>.

    Do you intend to use any post page or just static Pages?

    Thread Starter creolejazz

    (@creolejazz)

    “child theme’s copy of loop-page.php”? Where do I find this file? Right now all I have is style.css. And is it editable within WP or do I need to edit in a text editor and FTP it?

    I will not have a post page, no.

    You need to copy the loop-page.php template file from the Twenty Ten theme and place it in your child theme’s folder. I’d also suggest that you create an empty functions.php file in the child theme that just has <?php at the very top. You’ll probably need it sooner or later.

    Thread Starter creolejazz

    (@creolejazz)

    Yes, that did it. Thanks.

    Now, how did you KNOW to do that? Is there a document that explains what to alter to get the desired results?

    And, is there a way to edit, copy, move, etc. those files within WP, or do I need to use an FTP program (like I just did)?

    Thanks again.

    Now, how did you KNOW to do that?

    5 years of tinkering with and creating WordPress themes. 🙂

    Is there a document that explains what to alter to get the desired results?

    Not as such – as the range of what people want to do is too wide. However, the Codex (the WordPress documentation) is an excellent resource for tracking down these kinds of things. Type in “comment form” in the search box at the top of the main page and the very first result on the list references (and explains) the code that I suggested removing.

    is there a way to edit, copy, move, etc. those files within WP, or do I need to use an FTP program (like I just did)?

    WordPress only offers basic file editing right now. If you really want to start tweaking themes and creating child themes, then FTP (or similar) is a must-have.

    Thread Starter creolejazz

    (@creolejazz)

    Got it. Thanks again.

    I had this same problem the other day I am also working on a website with only pages no blog content wanted. I was told when after I create a new page to go to that page, edit and up in the right hand corner there is a grey box that says “screen options”, put a check mark in the discussion box then scroll down to the bottom of the page and make sure both boxes are unchecked for discussion options. That removes it for me.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘"How do I remove the "Leave a Reply" area?’ is closed to new replies.