WordPress - PageNavi

WordPress - . , . :

  WordPress -  PageNavi

:

  WordPress -  PageNavi

, :

  WordPress -  PageNavi

CSS , , :

  WordPress -  PageNavi

:

: http://wordpress.org/extend/plugins/wp-pagenavi/
: 2.30
WordPress: 2.5 .
2.50 WordPress 2.8 .

:

:
1. ( wp-pagenavi).
2. wp-pagenavi /wp-content/plugins/.
3. "" .

, . ( Default):

<div class="navigation">
	<div class="alignleft"><?php next_posts_link(__('&laquo; Older Entries', 'kubrick')) ?></div>
	<div class="alignright"><?php previous_posts_link(__('Newer Entries &raquo;', 'kubrick')) ?></div>
</div>


:

<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>


. PageNavi. , ( ), :

Text For Number Of Pages (" x x", )
%CURRENT_PAGE% %TOTAL_PAGES%

Text For Current Page ( , )
%PAGE_NUMBER%

Text For Page ( , )
%PAGE_NUMBER%

Text For First Post ( , "1")
1

Text For Last Post ( , )
%TOTAL_PAGES%

Text For Next Post ( , )


Text For Previous Post ( , )


Text For Next ... ( . )


Text For Previous ... ( . )


, :

  WordPress -  PageNavi

, / - . .. .

wp-pagenavi.php wp-pagenavi, :

previous_posts_link($pagenavi_options['prev_text']);


. :

if ($start_page >= 2 && $pages_to_show < $max_page) {


:

echo '<span class="next-prev">'; 
previous_posts_link($pagenavi_options['prev_text']);
echo '</span>';


. :

next_posts_link($pagenavi_options['next_text'], $max_page);


. :

echo '<a href="'.clean_url(get_pagenum_link($max_page)).'" title="'.$last_page_text.'">'.$last_page_text.'</a>';


:

echo '<span class="next-prev">'; 
next_posts_link($pagenavi_options['next_text'], $max_page);
echo '</span>';


, :

  WordPress -  PageNavi

. pagenavi-css.css wp-pagenavi :

.wp-pagenavi  {
	font-family: Sans-Serif; /* IE fix */
}
 
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:visited {
	padding: 5px 8px 5px 8px; 
	margin: 2px 0px 2px 0px;
	border-top: 1px solid black;
	color: #FFFFFF;
	background-color: #4f4f4f;	
	font-weight: bold;
}
.wp-pagenavi a:hover {	
	border-top: 1px solid black;
	color: #FFFFFF;
	background-color: black;
	font-weight: bold;
}
.wp-pagenavi span.pages {
	padding: 5px 8px 5px 8px;
	margin: 2px 0px 2px 0px;
	color: #FFFFFF;
	border-top: 1px solid black;
	background-color: #4f4f4f;
	font-weight: bold;
}
.wp-pagenavi span.current {
	padding: 5px 8px 5px 8px;
	margin: 2px 0px 2px 0px;
	font-weight: bold;
	border-top: 1px solid black;
	color: #FFFFFF;
	background-color: black;
	font-weight: bold;
}
.wp-pagenavi span.extend {
	padding: 5px 0px 5px 0px;
	margin: 2px 0px 2px 0px;
	border-top: 1px solid black;
	color: #FFFFFF;
	background-color: #4f4f4f;
	font-weight: bold;
}
.wp-pagenavi span.next-prev {	
}


:

  WordPress -  PageNavi

! → ←, css , . , Internet Eplorer-er 1 . , , IE . css , PageNavi Style, , css.

. :)