-
mveleski
Hello,
I stumbled upon a problem where when I click on the pagination > on the blog post page, it pulls the same latest blog posts, and not the next page. https://imgur.com/xtUEQN7
Also, when I click on the pagination >, is there a way to remove this section (https://imgur.com/CQ6oW40), so only this one appears on page 2 (https://imgur.com/kNd3UmR)
Thank you in advance.
Mihail.
-
Hi there,
Since you are using a Block Element – Loop template for the blog page, the pagination should be added through the Query Loop block: https://docs.generateblocks.com/article/query-loop-overview/#pagination
Let’s solve this issue first then move on to the next one.
Let me know 🙂
-
mveleski
Thanks for the reply Leo,
Thanks for the explanation, I just added the pagination as you mentioned. Now it works as it should.
What should I do next?
Thanks
-
Also, when I click on the pagination >, is there a way to remove this section (https://imgur.com/CQ6oW40), so only this one appears on page 2 (https://imgur.com/kNd3UmR)
It’s not possible with a Loop template unfortunately.
To achieve that, you would need to replace the Loop Template with a Content Template.
Then add the category section as a Block Element Page Hero with Paginated results as Exclusion.
-
mveleski
Thanks Leo for the help and explanation.
This was exactly what I was looking for.
Have a great day 🙂
-
No problem 🙂
- You must be logged in to reply to this topic.