Pergunta

How to set number of pager links visible in custom query?

This code returns 9 links, but I want only 5.

$query = $query->extend('PagerDefault');
Foi útil?

Solução

I already know:

It's possible set this in theme_pager().

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top