Sticky Posts Within Tags and Categories

  1. davepoobond

    As far as I've seen, I could not find a plugin that would do this, but I'd like to suggest that tags and categories should have their own sticky posts within themselves. It would serve as an introduction to that tag or category, or have a tag's most important post be at the very top with the rest of the posts a tag is associated with be listed as normal below it.

    This would be independent of any sort of sticky post on the front page.

    Posted: 6 years ago #
  2. Mark


    For an introduction to a tag or category, it would be better to use the existing template tags tag_description and category_description. The postMash plugin lets you order posts.

    On category and tag archives, you can then simply append an "orderby=menu_order" command to the query to get your posts in order. An example is here (snippet 1), where the order is chronological or by menu_order depending on the category type. This is the relevant piece of code:

    global $query_string;
        query_posts($query_string . "&order=ASC&orderby=menu_order");
    Posted: 6 years ago #
  3. Mark


    (Sigh. re-encode the & and " html entities.)

    Posted: 6 years ago #
  4. Joy

    The plugin Sticky Orderer does it.

    Posted: 5 years ago #

RSS feed for this topic


You must log in to post.

  • Rating

    6 Votes
  • Status

    This is not a core suggestion