lairdf
Forum Replies Created
-
Forum: Alpha/Beta/RC
In reply to: “Sticky” Qualifier for query_postsThank you MichaelH, I’ll definitely try!
Forum: Alpha/Beta/RC
In reply to: “Sticky” Qualifier for query_postsMy understanding of “caller_get_posts=1” means that it still fetches ALL posts with the category, it just doesn’t bring the sticky to the top.
So, if I have …
<?php query_posts('caller_get_posts=1&showposts=3&cat=6'); ?>
… it will still bring back the sticky posts.So, it sounds like that’s the fix for me, but it’s really not.
Help?
Forum: Alpha/Beta/RC
In reply to: “Sticky” Qualifier for query_postsThank you Otto42, I’ve got that example working to fetch only sticky post.
Now, on the same page (in a different loop), I’d like to fetch posts that are NOT sticky. So, I’d like to exclude those marked as sticky.
My front page has a feature box at the very top that I’d like to designate as the sticky spot, and then, I have separate blocks for the posts within each category. Right now, the sticky-spot is working great, thanks to your suggestion, but I can’t figure out a way to exclude sticky posts from the others.
Specifically, I have code that looks somewhat like this:
<?php query_posts('showposts=3&cat=6'); ?> <?php while (have_posts()) : the_post(); ?> ... stuff ... <?php endwhile; ?>I’m wondering how I can modify my query_posts so that I can exclude those marked as sticky