Ready to get started?Download WordPress


Guestbook code (5 posts)

  1. ecinus
    Posted 9 years ago #

    I just have added the guestbook template!
    but here is the problem.
    I'd like to add some sentences before the "Leave a Comment", but I can't. this is the page--> my guestbook
    this is my guestbook code:
    Template Name: guestbook
    <?php get_header(); ?>
    <!-- content ................................. -->

    <div id="content">

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

    <div class="feedback">
    <?php comments_popup_link('Add comment', '1 comment', '% comments', 'commentlink', ''); ?>
    <?php comments_template(); // Get wp-comments.php template ?>

    <?php endwhile; ?>
    <?php endif; ?>

    <!-- /content -->

    <?php get_footer(); ?>

    Does anyone know what to add in this template?
    Thank you! :)

  2. Assuming it doesn't work by just adding some content to the page in the WP Admin area, just do it before the comments template is displayed, i.e. before comments_template() is called.

  3. Jennifer Ledbetter Clay
    Posted 9 years ago #


    I actually have a premade blix guestbook template you can use.

  4. craigatkinson
    Posted 9 years ago #

    arrrgh why doesnt it work, i only have one box http://www.craigatkinson.info/?page_id=10
    i want it like this...

  5. rab
    Posted 8 years ago #

    Where does the code get pasted for that kubrick template? The result im getting is this..


Topic Closed

This topic has been closed to new replies.

About this Topic