Title: Adam's Replies | WordPress.org

---

# Adam

  [  ](https://wordpress.org/support/users/addrum/)

 *   [Profile](https://wordpress.org/support/users/addrum/)
 *   [Topics Started](https://wordpress.org/support/users/addrum/topics/)
 *   [Replies Created](https://wordpress.org/support/users/addrum/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/addrum/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/addrum/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/addrum/engagements/)
 *   [Favorites](https://wordpress.org/support/users/addrum/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[NSFW] Two div's wont sit next to each other – they do without PHP](https://wordpress.org/support/topic/two-divs-wont-sit-next-to-each-other-they-do-without-php/)
 *  Thread Starter [Adam](https://wordpress.org/support/users/addrum/)
 * (@addrum)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/two-divs-wont-sit-next-to-each-other-they-do-without-php/#post-4729529)
 * I’ve realised it works in my standard HTML page because I have declared two post
   classes within twocolumnpost whereas with wordpress I have only done one. If 
   I add a second post class within twocolumnpost to my index.php it duplicates 
   the image. I don’t want that. The should sit side by side no problem. Is there
   a way I can have two posts within a div and have the second one show the next
   post?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[NSFW] Two div's wont sit next to each other – they do without PHP](https://wordpress.org/support/topic/two-divs-wont-sit-next-to-each-other-they-do-without-php/)
 *  Thread Starter [Adam](https://wordpress.org/support/users/addrum/)
 * (@addrum)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/two-divs-wont-sit-next-to-each-other-they-do-without-php/#post-4729495)
 * Sorry, the twocolumnpost ones – i.e. the middle 2 posts of a video and a half
   width image.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[NSFW] Two div's wont sit next to each other – they do without PHP](https://wordpress.org/support/topic/two-divs-wont-sit-next-to-each-other-they-do-without-php/)
 *  Thread Starter [Adam](https://wordpress.org/support/users/addrum/)
 * (@addrum)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/two-divs-wont-sit-next-to-each-other-they-do-without-php/#post-4729485)
 * Aha! No worries. I’ll switch it out just in case.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[NSFW] Two div's wont sit next to each other – they do without PHP](https://wordpress.org/support/topic/two-divs-wont-sit-next-to-each-other-they-do-without-php/)
 *  Thread Starter [Adam](https://wordpress.org/support/users/addrum/)
 * (@addrum)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/two-divs-wont-sit-next-to-each-other-they-do-without-php/#post-4729482)
 * Crap sorry: **[NSFW] ** [http://suburbia.comoj.com/wordpress/](http://suburbia.comoj.com/wordpress/)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Custom Community] Thumbnail next to excerpts](https://wordpress.org/support/topic/thumbnail-next-to-excerpts/)
 *  [Adam](https://wordpress.org/support/users/addrum/)
 * (@addrum)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/thumbnail-next-to-excerpts/#post-4727257)
 * You can do something like this:
 *     ```
       <?php if (has_post_thumbnail()) : ?>
           <div class = "post-thumb">
               <a href="<?php echo the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
           </div>
       <?php endif; ?>
       ```
   

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