Im not able to reproduce this.
Can you post your entire shortcode?
Yes,
Here is my code, thanks for the help
$date_today = date(“Y-m-d”);
echo do_shortcode(‘[ajax_load_more meta_compare=”<” post_type=”conference” meta_key=”ending_date” meta_value=”‘.$date_today.'” meta_type=”DATE” orderby=”meta_value_num” posts_per_page=”8″ button_label=”More Events”]’);
Looks fine, sorry im not sure what would be causing this.
Is there any way to solve this problem,
I cant get this to work, any idea ?
You can’t get the ‘<‘ to work either?
I can’t reproduce the issue so Im having a hard time debugging.
Yes,
Do you want me to send you a link for the site ?
It seems someone had this problem and solved it, but cant understand his answer.
I don’t think he actually solve it.
Sure, send me a link. Do you think it’s an encoding issue?
Did anyone figure this out? I’m having the same issue now. Greater than works fine but less than breaks the shortcode.
Ah, I found this article that talks about a workaround.
AKdigital, the workaround is essentially using the HTML number for the less than symbol, instead of the Symbol itself.
change this
meta_compare=”<“
to this
meta_compare=”<“
It’s working for me.
You can use ‘lessthan’ or ‘lessthanequalto’ in the shortcode.
I convert this on the backend to the symbol.
This isn’t documented yet.