I am changing old WP Show Posts entries to GenerateBlocks query loops on this page. So I have five different query loops on the page, each showing a limited number of posts from different categories. The last of the query loops lists 20 posts although I have entered the number 12 in the field posts per page. The four other query loops above work fine as entered.
I also want to change the top two WP Show Posts loops to GB query loops, but each attempt always results in 20 shown posts. The number entered for posts per page seems to be ignored.
Could there be a conflict of too many GB query loops on one page?
Thanks for your help
macvet
Thank you.
]]>“Set the default number of posts to display on blog pages, including categories and tags. Some templates may override this setting.”
The posts per page variable in FSE is overriding perPage variable in theme templates.
For example, I have the posts per page set at 25 and the category template set at 40, but categories still display just 25 per page.
Of course I could use FSE to edit the query block for a category and use posts per page there to 40, but that will only work for one category because to get that variable showing on the bar I have to turn off “Inherit query from template” and when I do that I have to use filtering to get posts from categories, but that box only supports specific catagories and I have over 50, so I would have to enter them all.
And yes, I saved my FSE changes that were residing In the data base using the overwrite theme option on the create block theme plugin and then edited perPage to 40, in the category and archive templates but it still does not work.
I think this is actually a bug, but before I report it as such. Does anyone have any ideas on what I need to do to fix it?
I’m using latest version of wordpress, have tried it will all plugins turned off, and with 2024 and 2023, same thing.
]]>Is it possible to change the Post Template so that it will include more than 10 posts per page? I can’t find a way to do this within the FSE. See screenshot.
If I disable “Inherit query from template,” I can set the number of post to display but then, the template does not know what to display.
For example, if I use the Query Loop block for category pages it will show posts from all categories mixed together unless I activate that “Inherit…” setting. But if I do that, I cannot control how many posts to display per page.
I am using Twentig 1.4.7 with the Twenty Twenty Two theme. In case it matters, I also have the Gutenberg plugin 13.8.2 installed, but deactivated. (It makes no difference if the Gutenberg plugin is activated or not – same issue either way.)
]]>I am loving this plugin because so far it works perfectly. The more I am using it, the more I find I need a feature that would allow me to limit the number of posts that show up on a page with the option to go to a next page with more posts.
I have included a link to a page above. I have 14 posts on that page, but I would like to limit it to only 10 and then have a “next button” or a list of pages and and have the ability to click “next page” or “2” for the second page and to do this for as many pages as I need.
]]>Recently, the list no longer listens to posts per page. I have it set to one (1), showing in a footer widget. But now 5 records are showing. Tried recreating it, tried changing the # of posts per page – it doesn’t abide by that set value anymore.
Also tried outputting that shortcode on another page… same issue, always returns 5 posts.
]]>