Forums

Custom tag AND category based RSS feeds (2 posts)

  1. turboguy
    Member
    Posted 3 years ago #

    WordPress has the capability to generate rss feeds based on tags or categories such as:

    mywebsite/feed/?tag=film or
    mywebsite/feed/?cat=5

    I need to be able to do both of these combined. For example, I would like an RSS feed that will display all the posts in category 5 that are tagged as film. This could look like:

    mywebsite/feed/?cat=5&tag=film

    However, this breaks and displays nothing. I can only do one or the other, not both tags and categories combined. Does anyone know of a way to do this? I've looked all over and haven't been able to find anything regarding it. I appreciate any suggestions.

  2. turboguy
    Member
    Posted 3 years ago #

    Upon further investigation, it appears the problem lies within the wp_query class. This page in the codex references the bug:
    http://codex.wordpress.org/Template_Tags/query_posts#Combining_Parameters
    It has a workaround that may or may not be helpful.

    There is a ticket in for this bug, but it has a milestone of 2.9. So it might be a while until it is fixed.

Topic Closed

This topic has been closed to new replies.

About this Topic