The Blog Posts element is used on one page five times—each instance has 4 to 6 blogs showing and pagination enabled. Each instance has unique settings such as the categories that display.
The problem is that if you click to page 2, 3, 4, 5, 6, etc. in the pagination of any Blog Post element, the pagination changes for all instances. The result is that some sections are blank because they don’t have as many blog posts in them and the page resultantly looks broken.
What needs to happen for only the clicked on instance’s pagination to change when it is clicked on, without affecting the other instances on the page?
Hey Tanja,
Thank you for the inquiry.
What needs to happen for only the clicked on instance’s pagination to change when it is clicked on, without affecting the other instances on the page?
Unfortunately, individual pagination for each instance of the blog posts element is not possible due to the way pagination works in WordPress. The pagination is determined by the value of the “page” query parameter, which changes whenever a different page is accessed. As a result, all instances of the blog posts element on the same page respond to this change and display the corresponding posts.
As an alternative, you can replace the Blog Posts element with the Masonry element and enable the “load more” button.
Best regards,
Ismael
Thank you, the Masonry element works well.
Hi Sandy,
I’m glad that Ismael could help you :)
Thanks for using Enfold and have a great day!
Best regards,
Nikko