![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I am trying my damdest to do this without asking but it is driving me wild!
I am wanting to split up the posts into categories. Where the "by post" is I want, Cat 1, then the list, Cat 2, then the list etc etc. I have a fixed number of Categories so the Cat title will be hardcoded, I just need to know the code that pulls the specific categories under each heading. Ive tried this but its not working, any ideas Code:
<ul>
<?php $recent = new WP_Query("cat=1&showposts=10"); while($recent->have_posts()) : $recent->the_post();?>[*]<?php the_title(); ?>
<?php endwhile; ?>[/list]
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| simple hook code tweak hiding by line turns on page dates | jimpepe | General Discussion | 3 | 12-20-2010 11:11 PM |
| A little tweak in the footer... | labecs | General Discussion | 3 | 02-07-2010 05:39 PM |
| Home Page Tweak in Church Theme | micksay | General Discussion | 5 | 12-13-2009 03:46 PM |
| Tweak Order of Posts on Feature Page Template | ptoledo1 | General Discussion | 3 | 04-07-2009 02:37 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us