WordPress.org

Ready to get started?Download WordPress

Forums

WP-Paginate
where do I put the code block? (2 posts)

  1. mortonc
    Member
    Posted 3 years ago #

    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/

  2. Eric Martin
    Member
    Plugin Author

    Posted 3 years ago #

    Replace:

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

    with:

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

    -Eric

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic