Northern-Web-Coders

weblog about internet, webdesign and more stuff

WordPress Pagination ohne Plugin

auf Boutros AbiChedid wird eine Möglichkeit gezeigt, wie die WordPress Pagination erweitert werden kann. Und das ohne Plugin. Super ;-) Das Ganze habe ich hier auch mal eingebaut.

Folgende Zeilen habe ich hier noch abgeändert und mit der Textdomain nwc versehen.

$pagenavi_options['pages_text'] = __('Page %CURRENT_PAGE% of %TOTAL_PAGES%', 'nwc');
$pagenavi_options['current_text'] = '%PAGE_NUMBER%' ;
$pagenavi_options['page_text'] = '%PAGE_NUMBER%';
$pagenavi_options['first_text'] = __('First Page', 'nwc');
$pagenavi_options['last_text'] = __('Last Page', 'nwc');
$pagenavi_options['next_text'] = __('Next »', 'nwc');
$pagenavi_options['prev_text'] = __('« Previous', 'nwc');

0 Kommentare zu WordPress Pagination ohne Plugin

Hinterlasse eine Antwort

Pflichtfelder sind mit * markiert

*


*

Du kannst folgende HTML Tags und Attribute benutzen: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>