Hello, I tried to install WP-Page Navi for my homepage, which is based on the leetpress theme.
But I couldn´t find the lines which I should replace.
This is the pagination.php:
function kriesi_pagination($pages = ”, $range = 6)
$showitems = ($range * 2)+1;
if(empty($paged)) $paged = 1;
if($pages == ”)
$pages = $wp_query->max_num_pages;
$pages = 1;
for ($i=1; $i <= $pages; $i++)
if (1 != $pages &&( !($i >= $paged+$range+1 || $i <= $paged-$range-1) || $pages <= $showitems ))
echo ($paged == $i)? “<span class=’current’>”.$i.”</span>”:”“.$i.”“;
It would be nice, if you could help me. My site name is:
- The topic ‘Leetpress installation’ is closed to new replies.