Quantcast
Channel: WordPress › Support » Topic: built in category feed will not work
Browsing latest articles
Browse All 16 View Live

oncidium on "built in category feed will not work"

I have seen quite a few post on getting a specific category feed and it is built in. After looking at the category feeds page and trying the format, it does not work for me. For example:...

View Article



oncidium on "built in category feed will not work"

Ok, I finally found the link that works: http://www.divaknitting.com/blog/?feed=rss2&cat=12 However, what I'd really like to do is have any posts to this category be excluded from the regular site...

View Article

Samuel Wood (Otto) on "built in category feed will not work"

Try adding this to your theme's functions.php file: function limit_feed() { if (is_home() && !is_category()) { query_posts($query_string . "cat=-12"); } } add_action('rss2_head','limit_feed');

View Article

oncidium on "built in category feed will not work"

Thank you! Unfortunately, I tried adding the code you suggested, did a test post and it did show up in my main feed. I'm not sure if it matters where in the functions.php code I add this? I put it...

View Article

Samuel Wood (Otto) on "built in category feed will not work"

My bad. Try this: query_posts($query_string . "&cat=-12"); The ampersand is important. I forgot it.

View Article


oncidium on "built in category feed will not work"

I added the & but it still shows up in the main feed. Could it be the theme I'm using preventing this from working?

View Article

oncidium on "built in category feed will not work"

I found this thread which might be relevant: http://wordpress.org/support/topic/78474?replies=13#post-584328 Wondering if I should be editing a different file?

View Article

oncidium on "built in category feed will not work"

I had another thought. Using the Feed Locations plugin, shouldn't I just be able to change the default rss feed location from http://www.divaknitting.com/blog/feed=?rss2...

View Article


Samuel Wood (Otto) on "built in category feed will not work"

I tried it though and the category 12 posts still show up in bloglines, google reader etc. Remember that services like these cache your feed, they don't retrieve it fresh every single time. So changes...

View Article


oncidium on "built in category feed will not work"

DOH! I didn't think of that! I'll change it and leave it alone for a while to see if it works. Frustrating to not be able to see immediately. Do you think it is better to go with your original...

View Article

Samuel Wood (Otto) on "built in category feed will not work"

The only way to tell if something works is to look at the actual content of the feed. When you pull the feed from here in a normal browser: http://www.divaknitting.com/blog/?feed=rss2 then it's fresh,...

View Article

oncidium on "built in category feed will not work"

Well in that case it still isn't working. I should have been more clear that I had tried the browser too...http://www.divaknitting.com/blog/?feed=rss2 still shows category 12 with both the Feed...

View Article

Samuel Wood (Otto) on "built in category feed will not work"

Try this instead: function limit_feed() { if (is_feed() && !is_category()) { query_posts($query_string . "&cat=-12"); } } add_action('rss2_head','limit_feed');

View Article


oncidium on "built in category feed will not work"

Bummer. I tried changing to the default theme too and that had no effect.

View Article

Samuel Wood (Otto) on "built in category feed will not work"

oncisium: Sorry, I was editing. Try the new code I gave above.

View Article


oncidium on "built in category feed will not work"

HOT DOG! You got it. Huge thank you!!!!!!!!!!!!!! :)

View Article
Browsing latest articles
Browse All 16 View Live




Latest Images