fmueller
Member
Posted 3 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?
admin - settings - discussion
fmueller
Member
Posted 3 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?
check each post individually I suppose to see if they are enabled
fmueller
Member
Posted 3 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
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.
fmueller
Member
Posted 3 years ago #
http://www.ohiocichlid.com
I am using the default theme.
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
fmueller
Member
Posted 3 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(); ?>
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!
sunsationalgreen
Member
Posted 3 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
After a week of tearing my hair out, I, too, declare my undying love for Samboll and fmeuller!
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
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.
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!
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!
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
talentluo
Member
Posted 2 years ago #
rtarrant
Member
Posted 2 years ago #
Excellent solution! Works like a charm. Thanks Samboll!