Welcome to PressWork!

Want to ask a question or join the discussion? Great! Join now.

In this Discussion

help edit page navigation
  • how do I display just10-pages navigation?

    whereas in presswork displaying max num page.

    where should I edit

    please view the image _https://lh3.googleusercontent.com/-yaKaroXzvss/TiQ3MLwKVHI/AAAAAAAAAJA/3L3UDShBKIE/paginate.JPG

    maybe in the future this could become a feature in presswork.

    thank you.
    Post edited by digibomb at 2011-07-19 14:50:40
  • This is a question for @cbavota
    image Co-Founder of PressWork & Senior Designer/Evangelist
  • cbavotacbavota
    This answer was Accepted.
    If you open up functions.php you will see this around line 533:
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    $pagination = array(
    'base' => @add_query_arg('page','%#%'),
    'format' => '',
    'total' => $wp_query->max_num_pages,
    'current' => $current,
    'show_all' => true,
    'type' => 'plain',
    'next_text' => '»',
    'prev_text' => '«'
    );


    Change the "show_all" parameter to "false".
    image Senior Developer & Co-Founder of PressWork
This discussion has been closed.
← All Discussions