WordPress.org

Ready to get started?Download WordPress

Forums

Setup plugin wp-pagenavi for Thesis 2.x (3 posts)

  1. nxthemes
    Member
    Posted 1 year ago #

    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

  2. wpthemerview
    Member
    Posted 1 year ago #

    very cool
    wpthemereview.info

  3. ThisWebGuy
    Member
    Posted 1 year ago #

    Nice one thanks, I'm in the process of setting up thesis 2 on my blog This Web Guy - I hate the older -> newer buttons.

    By any chance do you know how to setup posts like: http://www.copyblogger.com/blog/ so two full width and the rest in square 2 column boxes?

Topic Closed

This topic has been closed to new replies.

About this Topic