WIP: Posts per page is ingored inside component

Browser: Any
OS: Any

I created a component (product card for woo) with one property (query loop). Then I add it inside an archive (ex. product category) as main query, the ‘posts per page’ setting are ignored (I got 16 items instead of 9).

Hi @Illarion,

thank you for the report. I was able to replicate the issue locally, and I’ve recorded it in a bug tracker.

Best regards,
Matej

1 Like

Just to add to this @Matej:
The query_results_count seems to always = 0 when used in a main query.
I wasn’t sure if it was a bug or because I use components within the main query loops.

Hey @johnnyhatz,

this is a very late response, I’m sorry :smiley:

Can you show your setup? I can’t reproduce this locally, using latest 2.0-alpha versions.

Best regards,
Matej