StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-15-2009, 01:43 AM
mark77 mark77 is offline
Registered User
Genesis Member
 
Join Date: Mar 2009
Posts: 9
Default Problem with posts

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -5. The time now is 03:46 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.