WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to enable comments? (20 posts)

  1. fmueller
    Member
    Posted 5 years ago #

    I've recently created a new site at http://www.ohiocichlid.com, and would like to allow people to leave comments. If I check under 'manage pages', I can see that 'allow comments' is ticked on each and every page, but still there is no option to leave comments. What am I doing wrong? I thought comments were enabled by default?

  2. Samuel B
    moderator
    Posted 5 years ago #

    admin - settings - discussion

  3. fmueller
    Member
    Posted 5 years ago #

    Many thanks - I checked there and 'allow people to post comments on the article' is enabled. So that doesn't seem to be the problem. What else could it be?

  4. Samuel B
    moderator
    Posted 5 years ago #

    check each post individually I suppose to see if they are enabled

  5. fmueller
    Member
    Posted 5 years ago #

    I don't have posts, only pages. On each and every page 'allow comments' is enabled. The whole thing is a bit of a mystery to me, especially since I am also running another site (www.fmueller.com) and there comments work just fine.

    Frank

  6. Samuel B
    moderator
    Posted 5 years ago #

    can you supply a link?

  7. Samuel Wood (Otto)
    Tech Ninja
    Posted 5 years ago #

    Most themes don't have the comments code on Pages by default. You'll probably need to alter the theme's page.php file to add the comments_template call.

  8. fmueller
    Member
    Posted 5 years ago #

    http://www.ohiocichlid.com

    I am using the default theme.

  9. Samuel B
    moderator
    Posted 5 years ago #

    Otto42 pegged it
    you will need to grab the code from the theme's single.php and add it to the theme's page.php
    always backup 1st

  10. fmueller
    Member
    Posted 5 years ago #

    That did it! Many thanks. In case anybody else of experiencing the same problem, the code that needs to be inserted in page.php is:

    <?php comments_template(); ?>

  11. kerre
    Member
    Posted 5 years ago #

    THIS IS THE MOST EXCITING post I've read! IT WORKED, IT FRIGGIN WORKED! I have some post pages and some pages pages and I couldn't get comments on the pages. That little bit of code worked! My gosh, I LOVE YOU Samboll and fmeuller!

  12. sunsationalgreen
    Member
    Posted 5 years ago #

    I am having the exact same problem but I have a stupid question....
    Where do i find the page.php to put the code into?
    Sorry and thanx~!
    Sunsationalgreen

  13. 2much
    Member
    Posted 5 years ago #

    After a week of tearing my hair out, I, too, declare my undying love for Samboll and fmeuller!

  14. uncdon
    Member
    Posted 5 years ago #

    I too have the same problem and being a newbie I need detailed instructions on how to do this. I have managed to make changes to other files with peoples help so I am not entirely hopeless. I khnow cPanel a bit and can find *.php files, open them, copy and paste etc. I would appreciate a little help. I am on MSN if that helps. uncdon1114@live.com

  15. uncdon
    Member
    Posted 5 years ago #

    grab the code from the theme's single.php and add it to the theme's page.php

    I am unable to find either of those. Can you tell me where they are located? I am using WEb2_11 theme.

    Thank you.

  16. uncdon
    Member
    Posted 5 years ago #

    I found it. I was going thru cPanel when I should have been using the admin page. I was able to resolve the problem. Thanks!

  17. uncdon
    Member
    Posted 5 years ago #

    OK, I thought I had it but evidentally not. Where is the Single.php and the page.php located? How do I get to them? So I go to single.php, find the "code" comments_template call? copy and paste it? How about if you copy and paste it here so I will know what to look for.

    Does it matter what line I paste in on within the page.php? Before or after????????????????

    Sorry, I am very new and you can consider me a greenie. But I have learning potential. LOL

    Thanks!

  18. reymon
    Member
    Posted 5 years ago #

    Hi uncdon

    Simply browse to directory where the theme files are installed. The directory must be somewhere on your own sever(computer) or the web hosting company your using. In my case the directory was:
    public_html/blog/wp-content/themes/neonglow/page.php
    (nenoglow was the name of the theme I am using). In the same directory was and single.php. Anyway I just opened page.php and added the code:

    <?php comments_template(); ?> in it (within the body of the page just before the closing body tag). It works now but unfortunately the comments appear on the right site in my blog:
    http://chottomatte.net/blog/nishinomiya-gardens/ and i wanted them to be below the main text/pictures fragment.
    Anyway if I found how to fix this bug I will repost

    Cheers

  19. talentluo
    Member
    Posted 5 years ago #

    thanks

  20. rtarrant
    Member
    Posted 5 years ago #

    Excellent solution! Works like a charm. Thanks Samboll!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.