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

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
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
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.)
Mar
12
comment Include and Exclude Taxonomies From Archives & Feeds Using 'pre_get_posts'
Yes, the latest version of WordPress (always!). And for the debug, you want me to replace return $query; with print_r($query);? Is that what you want me to do?
Mar
12
comment Include and Exclude Taxonomies From Archives & Feeds Using 'pre_get_posts'
Just tried that. It didn't change anything. No debug errors/suggestions either. Thanks for trying. :)
Mar
12
comment Include and Exclude Taxonomies From Archives & Feeds Using 'pre_get_posts'
@bueltge Is this what you want me to try? If so, I tried it. It didn't work. If not, can you be a bit more clear? Thanks!
Mar
11
comment Modify Taxonomy pages to exclude items in child taxonomies
Looks like I am stuck with this problem too. :-/
Mar
10
comment Include and Exclude Taxonomies From Archives & Feeds Using 'pre_get_posts'
@birgire I just noticed your comment as I was about to make an edit. There wasn't any missing ) initially either (the set is actually closed, and the closing ); is in another line further below). Can you please take a good look at the code?
Mar
10
comment Some wordpress questions as a Starter
One question at a time, please. Never couple all your questions into a single overly broad question.
Mar
10
comment How to use is_feed() to target a category feed?
@Vivienne Thanks for trying to help, but I'd done all that background work before asking the question.
Mar
10
comment How to use is_feed() to target a category feed?
Oh, thank you so much. It didn't occur to me that I'd indeed use the && operator
Mar
10
comment How to use is_feed() to target a category feed?
@Vivienne I'd prefer modifying the feed itself rather than use a different URL for my use-case in which I am making drastic changes to the posts displayed (and loop) for a custom taxonomy.
Mar
9
comment Yoast custom feed template as add_feed function?
(Note to self) Relevant links: wordpress.org/support/topic/feed-modification and wordpress.org/support/topic/creating-a-custom-rss-feed
Mar
1
comment How do I alter the comment form 'allowed tags' text in a plugin?
A relevant link with lots more information for those interested: justintadlock.com/archives/2010/07/21/…
Feb
27
comment How do I remove Pages from search?
Somewhat relevant link with a little more information: codex.wordpress.org/…
Feb
9
comment What are PHP extensions and libraries WP needs and/or uses?
Can you redo this with the latest version when you get time? :)
Feb
7
comment New categories are now going to 404s
Did you disable all plugins and check? This is among the first things I'd do when I have no clue.
Feb
6
comment 404 Error on Activate / Deactivate Plugin
try setting the permalink structure to default, then check if still the way it is.