Inherit query from template issues
-
Hi to anyone who can help,
I’m having trouble with the “inherit query from template” toggle in my home page’s post grid query loop. I was previously not using this option because I wanted to customize the number of posts that would appear in the query using WYSIWYG editor, and filter by category. But doing that prevented the search and archive functions from working, so I’ve toggled it on now.
But now I can’t seem to change the number of posts that appear in the query by editing the index template. I’ve changed the number that follows the “perPage” field to 21, but it continues to only show 10 posts on my homepage. I thought this might be down to cacheing, but I’ve cleared the cache multiple times, and the issue persists. One weird quirk though is that within the site editor view, it’s showing all 21 posts, but when I load the site itself, it’s still only loading 10 posts. Gutenberg version is updated, and I can’t think of anything else to try to fix this.
Any help would be very appreciated! Thanks
The page I need help with: [log in to see the link]
- The topic ‘Inherit query from template issues’ is closed to new replies.