28 reputation
13
bio website sarah-neuber.de
location Germany
age
visits member for 3 years, 8 months
seen Jun 25 '13 at 8:01

Sep
5
comment Media Library, hook on delete user action
Indeed you are right Davidj! Thanks for that. I fixed my code and it works much better.
May
15
comment Media Library, hook on delete user action
I did some searching and it looks I should be hooking on before_delete_post. Will give it a go and reposrt back here
Apr
1
comment Modify main WordPress loop with a parse_query filter
@ t31os, Thanks for this! Well, still nothing :( I can see that my variables are filled correctly: [orderby] => meta_value and [meta_key] => price but no results whatsoever (posts in that category have the "price" custom field set so I should get some results!) This can't be a bug can't it? Especially when the filtering works on the request filter.
Mar
31
comment Modify main WordPress loop with a parse_query filter
Danke! Schon gemacht! :)
Mar
31
comment Modify main WordPress loop with a parse_query filter
Ok, so I tried everything suggested but nothing seems to sort my posts with the specifc custom field but I can say that I managed to make it work using the add_filter('request', 'my_modified_query'); Still cannot understand why the same function would not work on the add_filter('parse_query', 'my_modified_query'); which is a shame as I loose the ability to use conditional tags :(
Mar
30
comment Modify main WordPress loop with a parse_query filter
I got 2 replies! That really made my day (I usually ask things and never get replies, he, he). I'll definetely try what you suggest. Thanks for that. I know about the order and ordeby switch, that was accidental but thanks for pointing that out too :)
Mar
30
comment Modify main WordPress loop with a parse_query filter
Servus kaiser, seems you know me :) Wish I knew who you are too! I triple checked the spelling but it all seems good. It bugs me that I cannot find what it is. I'll check again though. Thanks for the reply!