Следующий код Из этого поста работает дисплей, и добавляет предыдущие ссылки вручную:
Код: Выделить всё
$page_links = paginate_links(array(
// Make the function never return previous or next links,
// we will add them manually.
'prev_next' => FALSE,
// Give us back an array, this is the easiest to work with.
'type' => 'array',
// + all your other arguments here
));
// Now it is just a matter of adding a previous and next link manually.
// Note: you still have to build the actual prev/next URLs.
$prev_link = '[url=#]'.__('Previous').'[/url]';
$next_link = '[url=#]'.__('Next').'[/url]';
array_unshift($page_links, $prev_link);
$page_links[] = $next_link;
// Output
echo implode($page_links);
< /code>
, где у меня проблемы, это блок кода: < /p>
// Now it is just a matter of adding a previous and next link manually.
// Note: you still have to build the actual prev/next URLs.
$prev_link = '[url=#]'.__('Previous').'[/url]';
$next_link = '[url=#]'.__('Next').'[/url]';
Вот код i собрались до сих пор: < /p>
[url=
Подробнее здесь: https://stackoverflow.com/questions/744 ... nate-links
Мобильная версия