![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hello fellow Studiopressers,
I have been trying to get the posts to show up in their respective categories and have had the following two problems. When I add the post ID # after the "cat="(as seen below), then try to post, the post does not show up. <?php $recent = new WP_Query("cat=24".$feature_cat_1."&showposts=5".$f eature_cat_1_num); while($recent->have_posts()) : $recent->the_post();?> <?php $recent = new WP_Query("cat=25".$feature_cat_2."&showposts=5".$f eature_cat_2_num); while($recent->have_posts()) : $recent->the_post();?> NOW, when I change the category number 24 + 25 (as seen below) and then try a test post, the post gets listed under the left and right columns!!!?? <?php $recent = new WP_Query("cat=".$feature_cat_24."&showposts=5".$fe ature_cat_1_num); while($recent->have_posts()) : $recent->the_post();?> <?php $recent = new WP_Query("cat=".$feature_cat_25."&showposts=5".$fe ature_cat_2_num); while($recent->have_posts()) : $recent->the_post();?> Can anyone help me? I would greatly appreciate it. Thank you! |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Posts Per Page Problem | dereksdomain | General Discussion | 12 | 10-26-2010 05:32 PM |
| FCG showing up on POSTS problem | juedmdesigns | General Discussion | 2 | 06-22-2009 03:34 AM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us