lipak
Forum Replies Created
-
Forum: Alpha/Beta/RC
In reply to: WP 3.1 breaks RSS customization via exclude_category?@henri, that seems to have worked. Assuming I understand the code correctly, I only need the category excluded from the main RSS feed but I am fine with having it output on the main site/blog, so I did not include:
if ($query->is_home) { $query->set('category__not_in',array(39)); }
I really appreciate your snippet since I realized shortly after my last post that what I suggested above only appeared to be working because of FeedBurner causing a delay in reflecting the change on my feed.
Thanks.
Forum: Alpha/Beta/RC
In reply to: WP 3.1 breaks RSS customization via exclude_category?@henri, I think you are trying to do the same thing as I am.
Adding Otto’s code above in \wp-content\themes\x\functions.php I excluded one category that I no longer wanted to output in my main RSS feed. This code seems to still allow you to directly access feeds for the category you have just excluded by using the following:
https://www.mydomain.com/?feed=rss2&category_name=excluded_category_name
category_name will be the same as the one used for links that allow you to view a Category.Initially I was trying to use the “Ultimate Category Excluder” plugin however it is so thorough that the excluded feed was no longer available by any means.
Hope this helps.
Forum: Fixing WordPress
In reply to: Dashboard Recent Drafts displays ‘0’ though there are draftsSo, I feel silly. If you aren’t the user (a.k.a. login) who is set as the author of the post, the post won’t show up as a recent draft for you. Makes sense. You can just get confused (like I did) if you’re in a collaborative scenario.
Forum: Fixing WordPress
In reply to: Dashboard Recent Drafts displays ‘0’ though there are draftsI have the message “There are no drafts at the moment” also (despite actually having drafts).