SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Sep 2010
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help removing 'comment box' from WP site

    I have a new website I'm setting up using the Mystique theme in WordPress. assisted living albuqueque (dot) org

    I've done everything I can think of under the discussion tab (unchecked the box for 'allow people to post...') to remove the comment box. I'm using a static first page. The rest of the site will be pages, not posts. I don't know if this part matters.

    What am I forgetting?

    Thanks.

  2. #2
    Mazel tov! bronze trophy kohoutek's Avatar
    Join Date
    Aug 2004
    Location
    Hamburg, Germany
    Posts
    4,248
    Mentioned
    30 Post(s)
    Tagged
    0 Thread(s)
    Have you looked at your theme's files? You'll likely have to edit the files that come with your theme.

    If you go to the administration panel and open the page that is used as your frontpage, then you'd need to check on the right side what template is being used for it. If it says "default template", then you need to go to the directory where WordPress is installed on your server and choose /wp-content/themes/Mystique/ and open page.php or the file that has been specified as the default theme for that page.

    In there you'll have something like:

    Code PHP:
    <?php comments_template( '', true ); ?>

    If you remove that line, it should not render the comments template anymore.
    Maleika E. A. | Rockatee | Twitter | Dribbble




Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •