Wordpress

Tips: Enable Comments in Wordpress Pages

So just recently I changed my theme into this very nice theme PassionDuo theme, it’s much lighter than the previous amazinggrace, so I decided to use it for awhile. But something just goes wrong, all the pages are by default, comment-locked, means that visitors couldn’t possibly post comment at the pages.

Because I have a guest book page in this blog, I decided to look what went wrong in the theme, and I found out by some unapparent reason, this theme removes the function to call comment. I’m pretty sure some of you might also experience this, there are some themes where comments are not enabled.
I’m not php expert, so I just compare the difference between the page template of this theme with other themes which have the comments enabled by default. It’s actually very simple.

If you happen to find pages without comment, open your page.php just take a look at this line:

<?php endif; ?>

<?php endwhile; ?>

In normal themes, there should be function to call “comments”, but for some reason, it’s not present in my current theme, so all we need is, adding a function between these line, so it will be looked like this:

<?php endif; ?>

<div class=”commentsblock”>

<?php comments_template(); ?>

</div>

<?php endwhile; ?>

Dont ask me what php endif or php endwhile mean, I’m still blind to these php language. I have plan to take web design class, but due time constraint, I couldnt do it for the moment.

Anyway, I hope this tips useful, if you are gonna move from wordpress.com to self-hosted blog using wordpress.org, you might encounter this problem sometimes, it’s when this guide comes handy.

Random Posts

6 Comments

speak up

Add your comment below, or trackback from your own site.

Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*Required Fields