in line no 268 in my functions.php file in twenty thirteen theme which is to be replaced with <?php wp_pagenavi(); ?> according to its documentation. but i had to replace the whole block of code looks like