1,519 reputation
734
bio website
location
age
visits member for 1 year, 5 months
seen yesterday
stats profile views 301

May
20
awarded  Popular Question
May
16
revised Change the default-view of Media Library in 3.5?
Localized code from the linked gist.
May
16
suggested suggested edit on Change the default-view of Media Library in 3.5?
May
9
awarded  Popular Question
May
7
revised How to manually fix the WordPress gallery code using PHP in functions.php?
added 207 characters in body
May
4
awarded  Popular Question
Mar
27
awarded  Revival
Mar
21
awarded  Popular Question
Mar
17
awarded  Popular Question
Mar
13
revised Include and Exclude Taxonomies From Archives & Feeds Using 'pre_get_posts'
added 1 characters in body
Mar
13
revised Include and Exclude Taxonomies From Archives & Feeds Using 'pre_get_posts'
added 381 characters in body
Mar
13
answered Include and Exclude Taxonomies From Archives & Feeds Using 'pre_get_posts'
Mar
13
comment Include and Exclude Taxonomies From Archives & Feeds Using 'pre_get_posts'
@bueltge I am already doing that. Please see the first code block.
Mar
13
revised Include and Exclude Taxonomies From Archives & Feeds Using 'pre_get_posts'
A small piece missing (newbies may forget to see that it should be there from the question, so I think it's better it's there), and this answer is working!
Mar
13
accepted Include and Exclude Taxonomies From Archives & Feeds Using 'pre_get_posts'
Mar
13
comment Include and Exclude Taxonomies From Archives & Feeds Using 'pre_get_posts'
Oh my god, that worked! And without any further changes it's also modifying the feeds of the custom taxonomy terms just as it does to the terms' archives (which is, of course, what I want). Is this how it works or am I just dreaming? Don't we need to add something like something like ( is_feed() && is_.... )?
Mar
13
suggested suggested edit on Include and Exclude Taxonomies From Archives & Feeds Using 'pre_get_posts'
Mar
12
comment Include and Exclude Taxonomies From Archives & Feeds Using 'pre_get_posts'
@vancoder As per my understanding that's how it should be. The first array should say 'show posts from all categories' while the second array should override it a little and say, if post(s) belong(s) to any other custom taxonomy (edition) term than the term's archive you are looking at, don't show it. Get the idea of what I am trying to do here? Wondering if that isn't clear in my question. Let me know if you need more information.
Mar
12
comment Include and Exclude Taxonomies From Archives & Feeds Using 'pre_get_posts'
@vancoder yeah, like I said, nothing's changing i.e., it's just the same with/without the function in place. I am getting no results at all!
Mar
12
comment Include and Exclude Taxonomies From Archives & Feeds Using 'pre_get_posts'
If yes, here's what I got: paste.kde.org/694496 -- Does that say something? (I didn't understand it.)