Hi, Im not sure. I’ve tested with about 10 and it works. how many are you adding?
Can you post your shortcode?
More then 1000. I use post__in parameter because I need to do some “where” condition into query. So I make my wp query, I get ids of result and I put ids dinamically into the shortcode:
echo do_shortcode(‘[ajax_load_more repeater=”template_2″ post_type=”myposttype” order=”ASC” orderby=”title” posts_per_page=”10″ transition=”fade” post__in=”‘.$postin.'”]’);
Oh interesting.
Can you post a sample of the output of the dynamic query?
The query output is: 2345,2346,2348,2350 etc…(more then 1000 numbers separate by comma. The last number has no comma after.)
Ok i got you.
Yea that is correct. Sounds like you may have broke the limits of the post__in query.
Wow!
For conditions I can use meta_key, meta_value and meta_compare parameters, but I can set only one condition!
Is there a way to use more then one condition?
meta_value with accept multiple comma separated value. But only if you you use the IN, NOT IN compare value I believe.
ALM 2.7.0 is going to be released on Monday (I hope) and it includes the ability to add up to four separate custom field queries.
https://www.dropbox.com/s/lutbw9s2oyu4h7x/Screenshot%202015-07-03%2009.05.45.png?dl=0
Thanks! I wait the new version.