• Resolved sparkis70

    (@sparkis70)


    Hi, I am running in a little issue with the AQL.

    I have a loop displaying regular Posts as the main post type and an additional Custom Post Type (case studies).
    I have set the loop to display 3 posts per page but I end up with 6 items : 3 posts followed by 3 CPT

    Is there a way to limit the overall number of items to X per page, main and additional post types combined?

    Thanks in advance!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ryan Welcher

    (@welcher)

    Hi and thanks for using AQL!

    Sorry you’re running into this! I am not able to replicate it locally at this point. Can you send me the settings you have in place for AQL?

    Thread Starter sparkis70

    (@sparkis70)

    Hi,

    Thanks you for the very fast response, here are some screens of the settings applied to the AQL block :

    Here is the block structure :

    Here are the settings :

    And here is the result in the front :

    Thanks for the help!

    Plugin Author Ryan Welcher

    (@welcher)

    I was able to reproduce this with a custom post type and standard posts. Can you try Excluding sticky posts? That seemed to be the fix for me

    Thread Starter sparkis70

    (@sparkis70)

    Hi,

    Indeed that seems to fix the issue. I was hoping to display some sticky posts in the loop though.
    Going to try to find a work-around!

    Thanks for the help

    Plugin Author Ryan Welcher

    (@welcher)

    Glad to help! This is going to be an issue in general with Sticky posts and isn’t (to my knowledge) something that AQL has introduced. I’m going to close this out but please let me know if you run into any further issues!

    Plugin Author Ryan Welcher

    (@welcher)

    Marking as resolved.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.