NO BUG: Two issues in query loop property

Browser: Chrome 137.0.7151.120
OS: Windows

Hi,

1- If we have default settings for the query loop property and for example we select the post type Products as the default, the properties section will still display posts, while products should be displayed. If I’m not mistaken, I’ve reported this before. But it seems to be related to the next issue.

2- Let’s go step by step to reproduce.

  • Create a property for the query loop and select only the product post type as the default setting.
  • At this stage, the products are well displayed.
  • Now in the Query Loop property, change one option (other than Post Type) For example, Posts per page

At this point the query breaks. If you explicitly select the post type, the problem will be resolved.

query loop component

Hi Hosein,
Thanks so much for your report!

I don’t think it’s a bug. For example, if you change the posts per page in the property, all query parameters are replaced, including post type, which is “post” by default.

Best regards,
timmse