Before you ask please READ THIS

Blog Pagination

edited November 2012 in Hypershot Posts: 26
I am having some trouble to modify the active pagination format. I want to limit the amount of numbers being displayed to a maximum of 10.

Like this:
Page: 1 (active)|2|3|4|5|6|7|8|9|10 of 45 Next Page

Currently the theme will display all possible 45 numbers. In the past I was using the WP-Paginate Plugin, but somehow it has no effect on Hypershot. Do I have to modify the utilities.php to make it work?

Here is my example:
http://www.jenslumm.com/blog/

Comments

  • AirAir
    Posts: 10,970
    Hello.

    You are right, it doesn't look healthy :-) I will work on this pagination soon.

    For now to make it work(plugin I mean) if you use child theme http://apollo13.eu/docs/hypershot/#!/modification_of_theme

    add this code at end of functions.php in child theme directory
    function a13_blog_nav() {
    wp_paginate();
    }
    Fixed pagination in our theme should be added in week or so.

    Thanks for notice!
  • Thanks a lot for the fast response! Already fixed it with the child theme.
    An update with this fix would be great. Keep up the good work!
  • AirAir
    edited November 2012 Posts: 10,970
    I decided that I will leave pagination as it is now, but will add native support for this plugin, so user could decide how many pages he wish to see without need for me to reinvent the wheel:-) Of Course it will be styled to match our theme. What do you think about that?

    With regards.
    Post edited by Air on
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!