• We will need Wp Page Navigation Plugin to add pagination in Thesis 2.x. To add pagination in Thesis 2.x download and install Wp Page Navigation Plugin from wordpress plugins repository
    The steps to add pagination in Thesis 2.x

    • We visit the HTML section of the Thesis Skin Editor, and on our Home core template remove boxes: Previous Posts Link and Next Posts Link
    • Find Box Container contain WP Loop and click the “gear” icon of the this Box

    • In the pop-up, add a Unique Hook Name: add_pagenavi — then close the pop-open panel, and (off-screen in the below) click the green “Save Template” button to finalize this change to our Home post template:
    • Our Unique Hook Name is ready — now to find, edit, and save the the following PHP to add to the custom.php file for the active skin; again, that’s the Classic skin in this example:
    function pagination_below () {
    ?>
    <div align="left">
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
    <br />
    </div>
    <?php
    }
    add_action('thesis_hook_container_add_pagenavi_bottom', 'pagination_below');

    You’re done!
    see more NXthemes.com

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Setup plugin wp-pagenavi for Thesis 2.x’ is closed to new replies.