2

I have 3 vocabularies as shown in this screenshot:

enter image description here

And I have default Taxonomy term view page with 10 items per page as shown in this screenshot:

enter image description here

I want to display 12 items per page only for the taxonomy term pages which are related to the terms of Categories vocabulary. Should I create new Taxonomy term view page for Categories vocabulary or is it possible to configure pagination using HOOK_preprocess_taxonomy_term ?

1 Answer 1

2

I've used the Taxonomy Views Integrator module which helped me set custom pagination and view modes by creating taxonomy view page for different taxonomy terms and vocabularies. Some details about this module (from its project page):

The TVI (Taxonomy Views Integrator) module allows selective overriding of taxonomy terms and/or vocabulary with the view of your choice. Using TVI you can easily create custom views to output all terms in X vocabulary.

TVI will try not to interfere with views or taxonomy/term page displays if no TVI views exist for the current page request.

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.