Simply create a guestbook for Wordpress

Guestbook of wordpress

It is very useful to have a guestbook. We could make it by using Pages in WP.

My WP Version is 2.7.1 right now.  Please check your Wordpress Version before you read this article.

1. Add a new page, Give a name of this page and write something to welcoming your visitors.

guestbook_1

2. Remember to tick Allow comments

guestbook_2

3. Publish this page

 

4. Now you have a GUESTBOOK in your index page. However, People cannot leave comment for your guestbook. I think this is a bug for WP. You need to modify page.php to active this function.

Use Editplus, UltraEdit or other Editor to open the page.php ( in the template folder which you use)

DO NOT USE WINDOWS NOTEPAD (it is not good for UTF-8)

Find code

<?php endwhile; ?>

Add this code in front of it

<?php comments_template(); ?>

 
5. Now you have a simple GUESTBOOK.

Leave a Reply

XHTML: 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>