GatsbyCentral / gatsby-awesome-pagination

An opinionated, more awesome approach to pagination in Gatsby
MIT License
109 stars 27 forks source link

Pagination doesn't work inside taxonomy archive template #32

Closed italoiung closed 4 years ago

italoiung commented 4 years ago

Hello! I am using gatsby-source-wordpress plugin to fetch data from a wordpress based blog. I can easely paginate the main blog page, the post archive. Although, I'm facing problems when I try to do the same with taxonomy archives. All the posts are fetched fine, the items per page works fine, but, when I dump the pageContext, I see the numberOfPages is always 1 and the links for next page and previous page don't show up :( How can I fix that and what might me causing it?

Ps: Here's a link to the repository https://github.com/italoiung/amanda.iung

chmac commented 4 years ago

I'm afraid we don't provide free-of-charge technical support here. I recommend trying stack overflow.