Support » Plugin: Custom Content Shortcode » Loop-count multiple fields

  • First, i would like to thank you for your useful plugin.

    I have use loop-count for counting posts for some past date field. And it works perfect.


    [loop-count type=type field=field_1 date_format=Y/m/d value=past Author=this]

    But if i want to add some condition at the same time or another field, it not works.


    [loop-count type=Type field=limite_1 date_format=Y/m/d value=past field=Field_2 value=“yyyyyy” Author=this]

    I have tried using relation parameter, but count result is 0.

    What I doing wrong?

    Thank you in advance. 😉


Viewing 1 replies (of 1 total)
  • This is what the loop reference says:

    Multiple fields

    [loop field=color value=blue relation=or field_2=size value_2=small]

    relation – additional field query, where relation is and (default) or or

    field_2, value_2, compare_2, field_3, value_3, compare_3…

    Did you try field_2 etc.?


Viewing 1 replies (of 1 total)
  • The topic ‘Loop-count multiple fields’ is closed to new replies.