I am trying to make this function in Plogger witch allow me next and previous looping . When you got last image then click next button then go to first image .. and when you got first image then click to previous button then you go to last
Go to your plog\includes\plog-functions.php in function: plogger_get_next_picture_url() C&P this: if($current_picture==sizeof($image_list)-1) { $next_link = generate_url('picture', $image_list[0]); } before return $next_link;
and in: plogger_get_prev_picture_url() C&P this: if($current_picture==0) { $prev_link = generate_url('picture', $image_list[sizeof($image_list)-1]); } before return $prev_link;