// On entry.multiple.php

next_page_link('« Entrades anteriors'); ?> prev_page_link('Next Entries »'); ?>

//On theme.php, inside "public function add_template_vars()" parent::add_template_vars(); //visiting page/2, /3 will offset to the next page of posts in the sidebar $page=Controller::get_var( 'page' ); $pagination=Options::get('pagination'); if ( $page == '' ) { $page= 1; } $this->assign( 'more_posts', Posts::get(array ( 'status' => 'published','content_type' => 'entry','offset' => ($pagination)*($page), 'limit' => 5, ) ) );