• I would like to extract the posts that are marked as sticky and show them at the top in each category (archive.php).

    When I use this function:
    query_posts(array(‘post__in’=>get_option(‘sticky_posts’)));

    I get sticky posts from all categories.

    What can I do to extract sticky posts from only the selected category?

    I need something were the current category name/ID is automatically selected.

    Thanx ??

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Show sticky posts in selected category at the top’ is closed to new replies.