Posts per page overrides taxonomy templates
-
It seems that despite what it says under appearances/edit/blog home
“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.
- The topic ‘Posts per page overrides taxonomy templates’ is closed to new replies.