Pagination in shortcode view

Support MB Views Pagination in shortcode view

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35964
    Dennis De CockDennis De Cock
    Participant

    Hello,

    I am using:
    {% set args = { post_type: 'tests', posts_per_page: 100, meta_key: 'date', orderby: 'meta_value', order: 'DESC', tax_query: [{taxonomy: 'category', field: 'term_id', terms: '1'}] } %}
    {% set tests = mb.get_posts( args ) %}

    Now I want to include a pagination after the loop, but when I use {{ mb.get_the_posts_navigation() }} I don't get any pagination.
    I include the view as a shortcode in a page.

    How can I include a pagination? Am i doing something wrong?

    tnx

    #35972
    Long NguyenLong Nguyen
    Moderator

    Hi Dennis,

    If you want to display the pagination with MB Views, please refer to these topics https://support.metabox.io/topic/pagination-on-views/#post-29728
    https://support.metabox.io/topic/show-pagination-for-query/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.