WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] get archives excluding a category (5 posts)

  1. oldbag66
    Member
    Posted 5 years ago #

    Hi, i thought this would be easy but i cant find a solution. All i want to do is exclude a category from the get archives tag.

    <?php wp_get_archives('type=yearly'); ?>

    I would have thought &exclude=35 would have done it but no luck

    Help please!

  2. MichaelH
    Member
    Posted 5 years ago #

  3. oldbag66
    Member
    Posted 5 years ago #

    Thanks, just had a quick look sound like the thing. I guess its beyond the normal functionality of the get archives tag?

  4. MichaelH
    Member
    Posted 5 years ago #

    I guess its beyond the normal functionality of the get archives tag?

    That is correct.

  5. oldbag66
    Member
    Posted 5 years ago #

    thanks mike

Topic Closed

This topic has been closed to new replies.

About this Topic