You can – I believe that those sections are in the “editor” mode under area1.php, area2.php
Best of luck!
Thanks brlbeagle
excuse my ignorance in wordpress
I looged into admin page, Apperance -> Editor (correct?)
if I look at the files list on the right, I can’t find area1 and area.php
Does this disable comments for the whole website or only specific categories?
Please help
Thank You so much
Edit page.php in your theme and replace:
<?php comments_template();?>
with:
<?php if( have_comments() || ‘open’ == $post->comment_status ) : ?>
<?php comments_template();?>
<?php endif;?>
this is my page.php code, i didn’t find that line.
thanks for ur patience.
<?php get_header(); ?>
<div class="span-24" id="contentwrap">
<div class="span-16">
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2 class="title"><?php the_title(); ?></h2>
<div class="entry">
<?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(300,225), array("class" => "alignleft post_thumbnail")); } ?>
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
</div>
<?php endwhile; endif; ?>
<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
</div>
</div>
<?php get_sidebars(); ?>
</div>
<?php get_footer(); ?>
Thanks I got an answer
Settings >> Discussion >> uncheck “Allow people to post comments on new articles”
This applies to new posts that you will publish from now on. To disallow comments from already publish posts:
Posts >> select them all and “Edit” under bulk actions and hit apply >> choose “do not allow” next to comments and hit update posts.