WordPress.org

Ready to get started?Download WordPress

Forums

RSS feed for one category (6 posts)

  1. MCBO
    Member
    Posted 6 years ago #

    Hi everyone,

    I have three questions.

    1. I want to create a RSS Feed for only one category. How can I do this?
    2. I want to create a RSS Feed, which excludes one category. How can I do this?
    3. I want to exclude one category from the frontpage of my blog, although I want the posts in this category to be accesible.

    I hope someone can help!

    MCBO

  2. Chris_K
    Member
    Posted 6 years ago #

    1) Check out: http://codex.wordpress.org/WordPress_Feeds#Finding_Your_Feed_URL

    2) I know it can be done, seems like I did it with a theme functions file last time. This article looks familiar but I'm sure there are other ways.

    3) Have a look at http://wordpress.org/extend/plugins/advanced-category-excluder/

  3. MCBO
    Member
    Posted 6 years ago #

    Handysolo. Thanks for your reply.

    1) Thanks for the url. It seems like I can easy add this.

    2) I still don't know how to create a new RSS Feed, which excludes one category. So I want to remain the 'normal' RSS Feed, but I want to create a new RSS Feed which excludes one category. Do you have another tip?

    3) The plug-in is compatible op to version 2.3.3. I use version 2.5. Do you maybe know another option?

    Thanks in advance!

  4. MCBO
    Member
    Posted 6 years ago #

    To make it more clear:

    - I want to create a NEW RSS Feed, with all posts except those in category 10. How can I do this?

    - I don't want this posts from category 10 to be shown on my blog. How can I do this?

    Thanks in advance!

  5. angelxchild
    Member
    Posted 6 years ago #

    Hello

    To create a new rss feed for category 10, I have instructions at http://ever-after.org/excluding-sponsored-posts-from-feeds/.

    To exclude posts from category 10 from the main pages of your blog, I have instructions at http://ever-after.org/excluding-sponsored-posts-from-main-page/

    Hope this helps!

  6. peteraltenberg
    Member
    Posted 5 years ago #

    I have a similar problem and I still can't get it to work after trying the suggested method. The Finding Your Feed topic says to put http://example.com/wp-rss2.php?cat=42 but for one I can't for the life of me figure out where the category numbers come from and then I tried it putting this in my index page:

    http://example.com/wp-rss2.php? category_name=podcastcat

    and it just shows all the posts still, not just the ones from "podcastcat". Should I be using <?php bloginfo('rss2_url'); ?> and then find the category somehow within that? Sorry, I'm pretty new at this.

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags