• I am using a template tag to display my latest 5 post (excluding the latstes one):

      <?php
      global $post;
      $myposts = get_posts(‘numberposts=5&offset=1&category=1’);
      foreach($myposts as $post) :
      ?>

    • “><?php the_title(); ?>
    • <?php endforeach; ?>

    Code can also be found here: https://codex.www.ads-software.com/Template_Tags/get_posts

    What i want is a bit difficult I think..
    Now when i insert the code, the 5 posts are each one a different row..
    I want two coloms where the posts are devided into.

    Example:

    Post 1 | Post 2
    Post 3 | Post 4
    Post 5 | Post 6

    Is this possible?
    #If you dont understand my please post your question here, i would really want this to work..

    Thanks in advance,
    Daan

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘latest posts displaying in two colomms?’ is closed to new replies.