• From readme.html:

    <?php next_post() ?>
    Displays a link to the next post(s). (Generally you might want to use that tag only in single-post templates)

    How would you integrate such a template?
    [I have ideas, and I’m probably going to test them tonight, but I’m open to suggestions.]

Viewing 3 replies - 1 through 3 (of 3 total)
  • If you have a layout that you only want the current entry to show, you would use that feature. You would change your options to 1 post and then put the code you have at the bottom outside of the b2 loop.
    I had a blog like that once, it was nice actually! 🙂

    I did something like the following on site I built for a friend. This goes in blog.header.php before the part that sends headers.
    if (!$p && !$m) {
    $p = $wpdb->get_var("SELECT ID FROM $tableposts WHERE post_status = 'publish' ORDER BY post_date DESC LIMIT 1");
    $more = 1;
    $c = 1;
    }

    Thread Starter gfmorris

    (@gfmorris)

    Oooooooooh, I like that.
    I figure I’m eventually going to work up an “archives” page that’s a single-post template and have it be all happy and such.
    And by “eventually”, I mean “I have nothing else to do tonight, so why not?”
    GFM

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Single-post Templates?’ is closed to new replies.