• Resolved jvazjr1979

    (@jvazjr1979)


    i am trying to disable comments on my blog pages only

    i just want comments for the posts themselves and thats it

    can anyone help?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Create a page.php file in your theme and copy the contents of the index.php file to the newly create page.php file.

    Then remove the comment code in the page.php file.

    <?php comments_template(); ?>

    This is just one way of doing that I find very easy

    Thread Starter jvazjr1979

    (@jvazjr1979)

    i have no idea how to do that

    If you have access to the files via FTP then you have something to work with.

    The only other thing I can see you doing in enabling comments on the site in settings. Then when you don’t want comments for a page you can clicked to disabled comments in the page options tab at the top while editing a page.

    jvazjr1979, can be be more specific about what you don’t know how to do?

    If you can let us know which part you can’t do I (or we) can write detailed instructions for a step-by-step process.

    Try to follow the following steps and if you still aren’t sure let us know.

    1. Open up notepad on your computer and save the blank document as page.php (not page.php.txt). Minimize this window and open your brower.

    2. Log into your host control panel. Go to your ftp folder (where all your files are stored), go to /wp-content/ -> /themes/ -> /whichever theme is the theme you are using/ -> open the index.php file.

    3. Copy (highlight all content then press ctrl + c) the content and paste it into the blank notepad file you created earlier titled page.php

    4. Once you have it pasted (ctrl + v) press ctrl + f and search for comments_template. When you find it delete “<?php comments_template(); ?>” then save the file

    5. Return to your ftp folder and upload the page.php file.

    Complete 🙂

    If you are unsure about the technical stuff like how to access your ftp folder call your hostcompanies technical support line. All hosting companies are set up differently so they are the best ones to walk you through that process.

    Hope this helps 🙂 let us know if it doesn’t

    Thread Starter jvazjr1979

    (@jvazjr1979)

    i was able to disable the comments on my other pages except for the contact page

    Thread Starter jvazjr1979

    (@jvazjr1979)

    i figured it out

    thanks for the help

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘need help’ is closed to new replies.