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 11-11-2008, 12:07 PM
comander1987 comander1987 is offline
Registered User
Pro Plus Member
 
Join Date: Nov 2008
Posts: 30
Default Category problem help !

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

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
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


All times are GMT -5. The time now is 07:49 PM.

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