Forums

[resolved] Remove (7 posts)

  1. salkal
    Member
    Posted 1 year ago #

    Hey!

    I want to remove "Leave a Reply" and the comment section from my static pages. I'm using 2010 theme. Help please :)

    Thnx!

  2. Samuel B
    moderator
    Posted 1 year ago #

    to remove comment section
    open loop-page.php and find
    <?php comments_template( '', true ); ?>
    comment it out or delete it

  3. salkal
    Member
    Posted 1 year ago #

    Perfect! It worked like a charm. many thanks.

    A follow-up.. I understand that if I update the theme I will lose modifications, and that I'm supposed to create a child theme. Can make all modifications then create the child theme ? Or will I have to re-do the changes when creating the child theme?

  4. Samuel B
    moderator
    Posted 1 year ago #

    http://codex.wordpress.org/Child_Themes
    yes - it's better to make a child theme as a twenty ten update will kill your mods

  5. salkal
    Member
    Posted 1 year ago #

    What if I don't update it? or is it automatic?

  6. Samuel B
    moderator
    Posted 1 year ago #

    you choose whether to update it or not
    I would keep a copy of any modified files on your computer for quick change out when updating if you don't do the child theme

  7. salkal
    Member
    Posted 1 year ago #

    Great idea.. Thanks a dozen!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags