Adding posts per category in seperate DIV's
I have three boxes on my homepage, each has its on Div and I would like to show posts for separate categories in each #homebox.
Eg.. #homebox1 would show posts from cat “1”, homebox2 posts from cat “2” etc…
Could someone please point me in the right direction.
Here is my current code which displays all posts in the boxes.
<?php get_template_part( ‘loop’, ‘index’ );?>
</div><!– #homebox3 –>
Thanks in advance
- The topic ‘Adding posts per category in seperate DIV's’ is closed to new replies.