You can use wordpress as a simple Content Management System for a non-blog website. That’s what I am doing on one of my other websites. But I wanted to enable comments on my static pages. I figured just by enabling “Allow comments” under “Discussion” did not work. Then I found this wordpress.org thread

All you need to do is edit the “Page Template” and insert the following code

<?php if ((‘open’ == $post-> comment_status)) { comments_template(); } ?>

somewhere in between the following two lines.

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php endwhile; endif; ?>
 

Share:
  • Digg
  • del.icio.us
  • Slashdot
  • StumbleUpon
  • Technorati

Related posts:

  1. HTML sitemap Wordpress plugin
  2. How to change “Blogroll” to “Links” in Wordpress
  3. How to insert comments in email messages in Outlook?
  4. Sorting pages in Worpress
  5. How to enable autocorrect feature in Outlook 2003?