772 reputation
1026
bio website pixeline.be
location Brussels, Belgium
age 41
visits member for 4 years, 7 months
seen Mar 24 at 9:57

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


Feb
21
awarded  Notable Question
Feb
18
revised I want to create a custom slug in WordPress and output JSON. How do I do this?
deleted 7 characters in body
Feb
18
comment I want to create a custom slug in WordPress and output JSON. How do I do this?
@envysea not sure you'll have to. But define "on the fly". why do you integrate it inside your WP theme at all? why not specify a custom php script that receive the parameter and output what you need?
Feb
18
comment I want to create a custom slug in WordPress and output JSON. How do I do this?
It doesn't meet the functions.php requirement but it's the best solution in terms of performance and maintenance.
Feb
18
answered I want to create a custom slug in WordPress and output JSON. How do I do this?
Feb
4
revised Between functions.php, widgets and plugins, which is loaded first?
edited body
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.