otuatail
Member
Posted 8 months ago #
Hi I am new to word press but ok on PHP & MySQL. I have created the first page 'About us' At the bottom of the page is a Leave a reply. I don't want this as this website is not a blog website. It is a standard website with CMS added. Please help
Desmond.
settings->discussion
Uncheck that people can respond.
otuatail
Member
Posted 8 months ago #
I have un checked everything. It is still there.
Some themes appear to be able to override WP settings. But no worries, since you're well with PHP, go to the index.php of your theme in the theme editor (or edit on your computer) and just remove the call for the comments template. You might need/want to do the same for the page.php, single.php, archive.php depending on how your theme is written and where you want to get rid off the comments.
(Less subtle, but apparently working is deleting of emptying the comments.php.)
otuatail
Member
Posted 8 months ago #
I don't have any pages. The url is
http://www.des-otoole.co.uk/WP/?page_id=4
I was never allowed to create the php page about.php
That's a page alright!
Of course every theme is coded differently, but I'm not much of a coder. Since you said you're good with PHP I figured you'd find it.
WP looks for a comments template using a call that is to be found in the theme files that create the index, archives, etc. What you're looking for is this:
http://codex.wordpress.org/Function_Reference/comments_template
You can edit your theme on your computer and upload the edited files or go to appearance->editor to do this from within WP (but of course a backup can come in handy).
as much as knowing html/css/php, it is important to know the options in the dashboard -
in the 'edit page' page, there is a 'screen options' tab near the top right - click this, then tick 'discussion' to give you a 'discussion' area below the page editor;
or use 'quick-edit' below the page name, in the 'pages' page, to disable comments for an individual page.