WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP-Paginate] where do I put the code block?

[Plugin: WP-Paginate] where do I put the code block?

  • here’s the end of my index.php file

    <div class="more_entries">
                        <?php if (function_exists('wp_pagenavi')) wp_pagenavi(); else { ?>
                        <div class="fl"><?php next_posts_link(__('&laquo; Older Entries', 'woothemes')) ?></div>
    					<div class="fr"><?php previous_posts_link(__('Newer Entries &raquo;', 'woothemes')) ?></div>
                        <br class="fix" />
                        <?php } ?>
                    </div>		
    
    		</div><!-- /#main -->
    
            <?php get_sidebar(); ?>
    
        </div><!-- /#content -->
    
    <?php get_footer(); ?>

    what do I need to replace.

    Thank you very much.

    http://wordpress.org/extend/plugins/wp-paginate/

Viewing 1 replies (of 1 total)
  • Plugin Author Eric Martin

    @emartin24

    Replace:

    <?php if (function_exists('wp_pagenavi')) wp_pagenavi(); else { ?>

    with:

    <?php if (function_exists('wp_paginate')) wp_paginate(); else { ?>

    -Eric

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP-Paginate] where do I put the code block?’ is closed to new replies.