Archive page view - filtered by Category and Tag (3 posts)

  1. juxprose2
    Posted 5 years ago #


    Is it possible to create a link to an archive page that will function like this:


    So i will be linking to an archive page that lists all posts in "news" category that also have a tag of "uk"

    Any thoughts much appreciated.


  2. esmi
    Forum Moderator
    Posted 5 years ago #

  3. juxprose2
    Posted 5 years ago #

    Thanks. I can use that to modify the loop on my archive page by specifying the Category and the Tag via query_posts, yep.

    but, I should explain a bit more about what I am trying to do:

    On a page with a custom loop I am listing the latest 3 posts from the "News" category that have been tagged as "Blog". Also on that page I have a list of all the "News" posts that have been tagged as "Photo". So two lists, spitting out recent "News" items, and splitting them between "Blog" and "Photo".

    On that page I would like a link that will take the user to a page that displays ALL "News" posts that have a tag of "Blog". not just the top 3.

    So I think I need to do the filtering in the URL, rather than by using query_posts on the actual page itself, is this the best way to do it?

    Thanks a lot

Topic Closed

This topic has been closed to new replies.

About this Topic