Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hi, Im not sure. I’ve tested with about 10 and it works. how many are you adding?
    Can you post your shortcode?

    Thread Starter bit-web

    (@bit-web)

    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.'”]’);

    Plugin Author Darren Cooney

    (@dcooney)

    Oh interesting.

    Can you post a sample of the output of the dynamic query?

    Thread Starter bit-web

    (@bit-web)

    The query output is: 2345,2346,2348,2350 etc…(more then 1000 numbers separate by comma. The last number has no comma after.)

    Plugin Author Darren Cooney

    (@dcooney)

    Ok i got you.
    Yea that is correct. Sounds like you may have broke the limits of the post__in query.

    Thread Starter bit-web

    (@bit-web)

    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?

    Plugin Author Darren Cooney

    (@dcooney)

    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

    Thread Starter bit-web

    (@bit-web)

    Thanks! I wait the new version.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘post__in limit’ is closed to new replies.