It should work. The only possibility could be the wrong category number. You used cat=-10 Its better you check that.
It should work. The only possibility could be the wrong category number. You used cat=-10 Its better you check that.
But it can’t work. π GENEL category’s id number is 1. If i change cat variable to cat=-1 (to GENEL category’s id number) then loop doesn’t work again (screenshot is here: http://uploads.screenshot-program.com/upl0414383045.jpg)
can I see your blog online? So that I can give suggestion easily.
I’m working on WAMP. May you see my work in there: http://88.228.41.76:81/sinemalardan/
I cannot see your local server. If you can set up a test blob online, it will be better.
Add me to messenger if you require.
MSN – muthukswamy at hotmail.com
I’m uploading to my host. I will be back when it complete. Thanks for your replies. π
I tried the same code on my blog as well. It worked well. I think the category ID might be the problem.
What is your category ID number? And can you show your code?
I just tested it on my local server. Used:
<?php query_posts("cat=-4");?>
My category ID is 4 so I used it. This worked very well. This displayed the posts eliminating the posts from category 4.
But my codes doesn’t work. Why, why, why? π