• I’ve created list of custom taxonomy term and have problem with pagination.

    Custom post type “gallery” has his own custom taxonomy “gallery_category”. The next loop lists all items of chosen Gallery category:
    [Code moderated as per the Forum Rules. Please use the pastebin]

    I’m using WP PageNavi plugin to create pagination and I’m facing the problem with “get_queried_object()” function.

    It takes term name from the link: https://domain.ltd/gallery/categories/term-slug.

    When I click on next page, link changes to: ../gallery/categories/term-slug/page/2. Because link slug has been changed I’m getting an error.

    Maybe you have any ideas how could i solve this problem? Thanks.

    https://www.ads-software.com/extend/plugins/wp-pagenavi/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Create pagination in the items list of specified custom taxonomy term’ is closed to new replies.