• Resolved ugotta

    (@ugotta)


    If I don’t make a mistake, here’s the result of Additional Query test:

    &meta_key=_liked&meta_value=5&meta_compare=>=
    The results are 5 to 9

    &meta_key=_liked&meta_value=35&meta_compare=>=
    The results are 3 to 9

    &meta_key=_liked&meta_value=611&meta_compare=>=
    The results are 6 to 9

    Only The first digit of meta_value number returns the result.
    Any widget test results are the same.

    Is this a bug or my usage is wrong.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor alexgso

    (@alexgso)

    Hi ugotta,

    Please remove & at the start of your additional query field – we account for that by default.

    To clarify, by results, do you mean how many posts appear or the id of the posts that appear? What is the actual meta value of the returned posts?

    Thread Starter ugotta

    (@ugotta)

    Hi alexgso,

    The result is _liked meta value (plugin: WP ULike).

    &meta_key=_liked&meta_value=N&meta_compare=>=

    To show more than N liked posts, The rule of getting the result:
    _liked result
    >=5 5~9
    >=8 8~9
    >=16 1~9
    >=36 3~9
    >=66 6~9
    >=766 7~9
    More than 10 likes post don’t show.

    Plugin Contributor alexgso

    (@alexgso)

    Hi ugotta,

    To clarify, so, the expected results are output but only 10 results?
    If so, try setting the Posts Per Page value to either -0 or 99 to see if that helps.

    If not, can you please elaborate? Sorry about this!

    Thread Starter ugotta

    (@ugotta)

    Hi alexgso,

    Setting up -0 or 99 is still the same incorrectness.

    No matter how you set your _liked meta value, the result is always less than 10 (liked post, random order).

    Maybe I haven’t made it clear (English is not my mother tongue). If other users see it, please test it.

    Plugin Contributor alexgso

    (@alexgso)

    Hi ugotta,

    So, to confirm, the issue is that the total number of posts returned is less than ten or that value of the posts returned is less than ten?

    Would it be possible for you to send me a link to where I can see the output of this loop? Also, would it be possible for you to send me an export of the page that contains the post loop? To do this please open up the page in the editor and click the Layout button in the Page Builder toolbar. Then click import/export and then click download. Please upload the export to a 3rd party file hosting site such as teknik.io.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Additional Posts query Errors in the case of greater than 10’ is closed to new replies.