WordPress.org

Ready to get started?Download WordPress

Forums

Guestbook code (5 posts)

  1. ecinus
    Member
    Posted 8 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:
    ---------------------------------------------
    <?php
    /*
    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', ''); ?>
    </div>
    <?php comments_template(); // Get wp-comments.php template ?>

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

    </div>
    <!-- /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
    Member
    Posted 8 years ago #

    http://geeksmakemehot.com/wordpress-guestbook/

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

  4. craigatkinson
    Member
    Posted 8 years ago #

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

  5. rab
    Member
    Posted 7 years ago #

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

    http://www.rabbrown.co.uk/blog/room-101-guest-book/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags