Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+8 votes
335 views
in Q2A Core by
How can I add pagination (infinite scroll) to tags page ?

1 Answer

0 votes
by
edited by

add this code to the footer html

<script src="https://unpkg.com/@webcreate/infinite-ajax-scroll/dist/infinite-ajax-scroll.min.js"></script>

<script>

let ias = new InfiniteAjaxScroll('.qa-q-list', {

  item: '.qa-q-list-item',

  next: '.qa-page-next',

  pagination: '.qa-page-links'

});

</script>

...