To display comments only on one specific page, in this case a page with the "slug" (how page is named in the URL)
news, change in index.php, this
PHP Code:
<?php // Load Comments template (on single post pages, and "Page" pages, if set on options page)
if ( is_single() OR ( is_page() && $bfa_ata_comments_on_pages == "Yes") ) {
if (function_exists('paged_comments')) {
paged_comments_template(); // If plugin "Paged Comments" is activated, for WP 2.6 and older
} else {
comments_template(); // This will load either legacy comments template (for WP 2.6 and older) or the new standard comments template (for WP 2.7 and newer)
}
} ?>
to this:
PHP Code:
<?php // Load Comments template (on single post pages, and "Page" pages, if set on options page)
if ( is_single() OR is_page('news') ) {
if (function_exists('paged_comments')) {
paged_comments_template(); // If plugin "Paged Comments" is activated, for WP 2.6 and older
} else {
comments_template(); // This will load either legacy comments template (for WP 2.6 and older) or the new standard comments template (for WP 2.7 and newer)
}
} ?>
is_page('
XX') with
XX = page ID would work as well