Stickys not working when specifying category with query_posts()
-
Hi,
Having trouble getting stickys to appear at the top when using query_posts(‘cat=x’) in both my main and multiple loops.
I’m specifying a category in query_posts in my main loop like so:
query_posts('posts_per_page=4&cat=1');
And in my multiple loop, I’m doing this:
$my_query = new WP_Query('cat=7&showposts=4');
But stickys don’t appear at the top of my loop. If I remove the category then stickys do appear, but obviously I get posts from all categories.
Is there a way around this? I’ve tried adding ‘caller_get_posts’ but nothing happens…
Thanks for any help
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Stickys not working when specifying category with query_posts()’ is closed to new replies.