WordPress.org

Ready to get started?Download WordPress

Forums

advanced archives query Exclude category X (2 posts)

  1. isaac_golding
    Member
    Posted 5 years ago #

    This should "i hope" be a really easy question to answer.

    I want to use this snippit of code
    <?php wp_get_archives('type=postbypost&limit=10'); ?>

    But I want to exclude category 19 from my results.

    So in plain english I want the 10 most recent posts with the exception of any post from category 19.

    Any ideas?

  2. oldbag66
    Member
    Posted 5 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic