Hi there, sorry to bother you again. Hoping for some advice from you.
If i understand correctly, the current pagination component is dependent on the route path to fetch the current page number.
I am making some custom components to create post grids and was wondering how to create pagination for the said component independent of the route path since there's no need to change the route and there will be multiple grids on the single page.
Hi there, sorry to bother you again. Hoping for some advice from you.
If i understand correctly, the current pagination component is dependent on the route path to fetch the current page number.
I am making some custom components to create post grids and was wondering how to create pagination for the said component independent of the route path since there's no need to change the route and there will be multiple grids on the single page.
I have created something similar before like so:
I am a bit confused as to how to create the pagination with how the theme is currently setup. This is my grid component: