You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Query Block: cannot change number of items for "default" query type #77886
This might be more of a feature request than a bug. Let's say you want your normal default reading settings to 10 (Admin > Settings > Reading > Blog pages show at most), but you create a author template and you want to show some info about the author and just a few posts from this author. You cannot do this without custom code. I should be able to drop in the query block on the author template and adjust the number of items to show while still using the default query type.
Step-by-step reproduction instructions
set (Admin > Settings > Reading > Blog pages show at most) to 10
view blog index page and see 10 posts
create template in site editor for "author archives"
add query block to author template
see there is no option to change query results to [anything]
Screenshots, screen recording, code snippet
No response
Environment info
wp 6.9.4
gutenberg 23.01
mac
chrome
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Please confirm which theme type you used for testing.
Default type refers to the default WP query and inherits all its properties, including per_page. I think this has been discussed a couple of times, though I can't find the issue.
I haven't had a chance to look at this for a while, but I agree that this should be improved. There's another issue here with a mockup, maybe we could work towards something like this next: #63660
Thanks for the report! As @Mamaduka explained, the default query type inherits the main query, including posts per page, so this is a feature request, and it's already tracked in #41548. Closing as a duplicate.
Activity
Mamaduka commentedon May 6, 2026
Default type refers to the default WP query and inherits all its properties, including
per_page. I think this has been discussed a couple of times, though I can't find the issue.cc @mikachan, @ntsekouras
mikachan commentedon May 14, 2026
Here are some related issues and discussions:
I haven't had a chance to look at this for a while, but I agree that this should be improved. There's another issue here with a mockup, maybe we could work towards something like this next: #63660
youknowriad commentedon Sep 25, 2026
Thanks for the report! As @Mamaduka explained, the default query type inherits the main query, including posts per page, so this is a feature request, and it's already tracked in #41548. Closing as a duplicate.