Step1:Activate WP-PageNavi
Step2: find the following code in your loop.php
<?php /* Display navigation to next/previous pages when applicable */ ?>
Step3:
=============DELETE Star=============
<?php if ( $wp_query->max_num_pages > 1 ) : ?>
<div id=”nav-above” class=”navigation”>
<div class=”nav-previous”><?php next_posts_link( __( ‘<span class=”meta-nav”>←</span> Older posts’, ‘twentyten’ ) ); ?></div>
<div class=”nav-next”><?php previous_posts_link( __( ‘Newer posts <span class=”meta-nav”>→</span>’, ‘twentyten’ ) ); ?></div>
</div><!– #nav-above –>
<?php endif; ?>
=============DELETE END==============
Step4:
Add
<?php wp_pagenavi(); ?>
instead of the DELETED code in Step3,Then update loop.php.Finished!!!
PS:It has 2 places to change In loop.php, if all changed , one PageNavi button will display in top of the page and an other PageNavi Button will display in bottom of the page.
My personal blog https://hh.0745666.com was in trouble like yours, and now, works fine!
Hope can help you ??