![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
i have created a category named Fitness. And in the website page the category show a linkof "http://www.healthblogtips.com/category/fitness/"
so i change the cat=1 ?php $recent = new WP_Query("cat=1&showposts=8"); while($recent->have_posts()) : $recent->the_post();?> into ?php $recent = new WP_Query("fitness&showposts=8"); while($recent->have_posts()) : $recent->the_post();?> but when i post an article under that category, it automatically post the left , right and bottom. What should i do about it? i don really get it. If i change my permalink to the original where the category 'fitness' will show a link of http://www.healthblogtips.com/?cat=13 and <?php $recent = new WP_Query("cat=13&showposts=8"), it works ! how come it doest work when i change the permalink ? |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Category Problem | plongmire | General Discussion | 1 | 02-24-2010 05:12 PM |
| Category Problem | Romance Divino | General Discussion | 1 | 07-01-2009 10:40 AM |
| Featured Category Problem | Wickwire | General Discussion | 2 | 02-24-2009 12:19 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