Beta 10 - Post Pagination element not displaying

I can see the element space in the builder but nothing shows on the front end.

in the back end it only shows like this

on the front end, when inspecting elements… I get this

Hey @scotbaston, the pagination element only outputs when involved in a main WordPress loop like in the Archive builder. That might be what you’re seeing there.

Fixed this now… for some reason I had done this as a page, not an archive

Thanks for the heads up…

on another note, it would be nice to be able to style the ‘dots’ between the pagination. ie use icon/image etc. Currently it only allows colour changes

Thanks for confirming! Will keep that in mind about the dots. We’re wrapping the paginate_links WordPress function and they don’t have any options for customizing the dots but we could probably find a way to replace their span with something else

3 Likes

Any chance of getting pagination on pages within the looper we are creating?

At the moment I have a site with specific pages and custom post types where we are listing all the post for a specific category. We didn’t want to use an archive page.

I’m sorry, there won’t be a way to do that. Our pagination element is a wrapper for the WordPress paginate_links function which requires the main query. To support what you’re saying we’d need to write a new paginate links function, and introduce a bunch of logic to handle routing between the pages. It’s a bit too much overlap with native WordPress functionality of simply using an archive to be worth it.

At a minimum I’d like to revisit allowing dynamic content in the query builder so you could do things like providing offset, and also powering that by dynamic content so you could potentially pull it from a a URL parameter.