WordPress.org

Ready to get started?Download WordPress

Ideas

Adding a "sticky" qualifier to query_posts

  1. nathanrice
    Member

    I am loving the new "sticky" feature in WordPress 2.7 trunk, but as a theme developer, it would be nice if there was a way to use query_posts to pull only those posts that have been marked "sticky".

    I haven't heard of anyone doing this yet, but if this could make it into core by the time 2.7 launches, you're gonna make a lot of theme and plugin developers very happy.

    Thanks!

    Posted: 5 years ago #
  2. Justin Tadlock
    Member

    12345

    This is definitely a good idea, Nathan.

    I was wondering how I would integrate current theme implementations of this type of feature with the new sticky functionality.

    query_posts() with a sticky parameter (include/exclude) would be nice.

    Posted: 5 years ago #
  3. nathanrice
    Member

    Turns out, there is a workaround that actually lets you do this ...

    http://wordpress.org/support/topic/208037

    Thanks to Otto!

    Posted: 5 years ago #
  4. Alex Dunae
    Member


RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    1 Vote
  • Status

    This idea has been implemented