WordPress.org

Ready to get started?Download WordPress

Forums

Getting comments so I can get a Guestbook (6 posts)

  1. lqz
    Member
    Posted 8 years ago #

    I know I can use a page, but why do it the easy way.

    I set up a template for a page called Guestbook then copied over the code from the index file and every thing went great. Then I duplicated the comments.php and called it commentsx.php. I replaced <?php comments_template(); ?> with <?php include (TEMPLATEPATH . '/commentsx.php'); ?>, but for some reason the code won't work. I get the form but no comments, what's so special about the comments.php code that it only works when called using the <?php comments_template(); ?>. I get the same unhappy ending even if I paste the code into my guestbook.php.

    I also tried to add

  2. Comment by <?php comment_author(); ?>:

    <?php comment_text(); ?>
  3. into the guestbook.php but that didn't work also. I'm sure I got it within the loop.

    I don't know what I'm missing here, what I want is to have the submit form on top of comments for the Guestbook page.

  • bodor
    Member
    Posted 8 years ago #

    I'd like to know how to not receive any comments on my blog with wordpress.

    as I receive a lot of spams

  • lqz
    Member
    Posted 8 years ago #

    options > discussion > "Allow people to post comments on the article"

    Uncheck that and you won't have to remember to turn off comments on new posts.

    You can turn off commenting on your old posts one by one, or you can try the code here.

    Have you tried akismet ?

  • spirit892
    Member
    Posted 8 years ago #

    Try this. Also when you edit your guestbook page template, you could move the comments form around to place it where you want it on the page. There are many possiblities, so just tweak it until you find what works for you. Good Luck and I hope that helps.

  • Bhoney
    Member
    Posted 8 years ago #

    I'm hoping someone will eventually make a quality guestbook for WP.The one from GMMH has too many flaws that come with it being just like the post area.

  • lqz
    Member
    Posted 8 years ago #

    Thanks for your reply spirit892 but that's not what I'm looking for. I did find a plugin called wp-guestbook and was able to play around with it to get something I like.

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags