Witam bardzo serdecznie. Chciał bym aby wpisy z wordpressa były obok siebie. i jeśli jest miejsce jeden wchodził pomiędzy drugiego.
  1. <div class="postbox">
  2.  
  3. <div class="box" id="post-<?php the_ID(); ?>">
  4. <a href="<?php the_permalink() ?>"><img class="boximg" src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php get_image_url(); ?>&amp;h=200&amp;w=200&amp;zc=1" alt=""/></a>
  5.  
  6. <div class="btitle">
  7. <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
  8. </div>
  9. <div class="entry">
  10. <?php wpe_excerpt('wpe_excerptlength_index', ''); ?>
  11. <div class="clear"></div>
  12. </div>
  13. <div class="titlemeta clearfix">
  14. <span class="smore"> <a href="<?php the_permalink() ?>"> Read More </a> </span>
  15. <span class="slike"><?php printLikes(get_the_ID()); ?></span>
  16. <span class="comm"><?php comments_popup_link('0 Comment', '1 Comment', '% Comments'); ?></span>
  17. </div>
  18. </div>
  19. </div>


CSS :

.postbox{
text-align:center;
position:relative;
margin:0 auto;
display: inline-block;
float:left;
}
.box{
display: inline-block;
max-width: 350px;
margin: 5px;
background:#fff;
-webkit-box-shadow: 0px 0px 0px 1px #ddd;
-moz-box-shadow: 0px 0px 0px 1px #ddd;
box-shadow: 0px 0px 0px 1px #ddd;
float:right;
}


img.boximg{
margin-top:5px;
margin-left:1%;
}


Tutaj macie linka do zdjęcia z strony : http://fotoo.pl//out.php?i=656683_screen.j...fc1323232393835