• symbolic

    (@symbolic)


    Hi all.

    I need to place an object between each post excerpt in the blog list to behave as a separator. I achieved this by slipping a div into index.php just above <?php endwhile; ?>

    It works, but the problem is that it also places one at the very bottom of the page under the last post in the list, separating it from… well nothing!

    My question is – What can I do to make my separator object appear BETWEEN post previews, and not AFTER them?

    http://www.foxandboy.com.au

    Thanks, RM

Viewing 1 replies (of 1 total)
  • gerbilk

    (@gerbilk)

    <?php if ($post != 'set') { echo '';  } else {
    	echo "<div id='sample'>divider goes here</div>";
    $post='set';
    }
     ?>

    use this at the top rather than the bottom, it will miss out the first post. code untested but the logic should be sound

Viewing 1 replies (of 1 total)
  • The topic ‘Inserting a blog-list post separator ?’ is closed to new replies.