737 reputation
926
bio website pixeline.be
location Brussels, Belgium
age 41
visits member for 4 years, 5 months
seen Jan 14 at 9:18

I'm a self-trained web designer / web developer and since 2009 web teacher. I live in Belgium.


Jan
9
answered Wordpress Plugins Don't Automatically Update
Jan
9
revised Can't Update, Delete, install Plugin
added 76 characters in body
Jan
9
answered Can't Update, Delete, install Plugin
Jan
8
answered 500 error when updating plugin option
Jan
7
asked 500 error when updating plugin option
Dec
23
accepted How to query using a combination of custom_field values?
Dec
23
revised How to query using a combination of custom_field values?
deleted 859 characters in body
Dec
23
comment How to query using a combination of custom_field values?
Let us continue this discussion in chat.
Dec
23
revised How to query using a combination of custom_field values?
added code's latest version.
Dec
23
comment How to query using a combination of custom_field values?
Sorry for my unclear comment, i'll fix it immediatly. To be clear: if a post has no event_end_date_id set, either its event_start_date_id is past, so it should not be selected, or is upcoming/current, in which case it should be selected.
Dec
23
comment How to query using a combination of custom_field values?
I have updated my question with the current code, in which I tried to address the case where event_end_date_id is empty. No dice: i don't get any result anymore. I'm really having a hard time understanding this syntax.
Dec
23
revised How to query using a combination of custom_field values?
added 776 characters in body
Dec
23
comment How to query using a combination of custom_field values?
I think the problem may occur because many posts do not have any event_end_date_id set. I guess the comparison accepts to consider that today >= ''
Dec
23
comment How to query using a combination of custom_field values?
sorry, my mistake: category is fine. Still, the parameters don't seem to matter: all posts in category are displayed, no matter the event_date_start or _end value. I'll update my question with the current code.
Dec
23
comment How to query using a combination of custom_field values?
I've updated to 4.1 and tried your suggestion: it shows all posts (not only those in the category "private"). Why is that? I tried also specifying the category as part of each meta value array. Thanks a lot for current_time(), i was unaware of its existence!
Dec
23
revised How to query using a combination of custom_field values?
added 67 characters in body
Dec
23
asked How to query using a combination of custom_field values?
Dec
11
comment the_content() shows shortcode instead of parsing it
Pull request submitted: github.com/wpninjas/ninja-forms/pull/394
Dec
11
comment the_content() shows shortcode instead of parsing it
Nice catch, I looked at the shortcode.php file and didn't see that mistake. :impressed! Will submit a patch, crediting you and your answer.
Dec
11
comment the_content() shows shortcode instead of parsing it
Wordpress is not responsible: admin-ajax.php was designed like that.