I do have a question on this: I'm wrestling on the code to capture posts from child categories versus parent categories. Any advice?
Hey,
How I did it is I replaced the <li> and </li> codes with my own html and css. The <li> codes create lists for each post, and that is usually in a vertical fashion.
------------------
<li><div><a href="<? the_permalink()?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_post_thumbnail(); ?></a></div> <div> <h3><a href="<? the_permalink()?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3> <?php the_time('M j, Y') ?> </div> </li>
------------------
I replaced the opening <li> with <div class="pleft"> and replaced the closing </li> with </div> as my html tags. Then I write my CSS to fit that specific div class needs on your website. For example, a sample pleft class could look like this:
.pleft {float:left; padding:2px; margin:10px; width:278px; height:190px;}
I use the float: selector on my CSS to move posts horizontally, and the margins and padding to give each post spacing within each other. I added in a specific width and height for additional examples.
Hope this helps.