suppose I have sturucture like this:

Justin Bieber > Albums > Justice

when I visit on https://example.com/category/justin-bieber/albums/

It is showing all albums of Justin Bieber category. but the problem is that

If I have 1 Million albums(subcategories) of specific artists(parent category) then I will display that Million albums(subcategories) in one page that is what I dont want.

I want to divide that albums into multiple pages but dont know how to do that?

  • Use a taxonomy-albums.php template and custom query to limit number of albums to display and use pagination.
    – Abhik
    Mar 24, 2022 at 8:44
  • I am noob of doing this. Please can you provide me code of How to do this?
    – John Brew
    Mar 25, 2022 at 3:39

1 Answer 1


This is called pagination. If you search StackExchange, you will find a bunch of questions and answers about it, like this one which seems to be for what you are looking.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.