How to determine if theres a next page

You can use get_previous_posts_link and get_next_posts_link to determine if they exists like this: $prev_link = get_previous_posts_link(__(‘&laquo; Older Entries’)); $next_link = get_next_posts_link(__(‘Newer Entries &raquo;’)); // as suggested in comments if ($prev_link || $next_link) { echo ‘<ul class=”navigation”>’; if ($prev_link){ echo ‘<li>’.$prev_link .'</li>’; } if ($next_link){ echo ‘<li>’.$next_link .'</li>’; } echo ‘</ul>’; } Hope This Helps

Changing pagination list class

paginate_links() doesn’t offer a parameter and there are no hooks – see source – available to change the class(es). Which means you can do it like you have done it or you create your own pagination function based on paginate_links().

techhipbettruvabetnorabahisbahis forumutaraftarium24edueduedusedueduedusedusedueduedu