1. W4 Post List
    2. How to
    3. How to use pagination

    How to use pagination

    Inside list template, use shortcode [nav]. The [nav] shortcode support two arguments – type & ajax. type=”plain” will put pagination made with a tags, nothing around it. type="list" will display pagination within a ul > li list. by default it will display previous or next page link. Now, setting ajax=1 will make the pagination work without redirecting the page. That mean it will use ajax call to get the next page content and replace the current content. Leaving it empty will make the pagination word with a query variable. The query variable is a little bit ugly, but it has been use so that you can maintain multiple list pagination used on the same page without conflict.