Viewing 4 replies - 1 through 4 (of 4 total)
  • find the line with endwhile; of the wordpress loop in your templates, and tr to add the plugin code after that line.

    Plugin Author Eric

    (@emartin24)

    If you don’t have those functions, how are you currently accessing other pages of posts?

    Either way, you can just drop the wp_paginate() function in your theme, wherever you want the pagination links to be displayed:

    <?php if(function_exists('wp_paginate')) {
        wp_paginate();
    } ?>
    Thread Starter dcloud

    (@dcloud)

    The theme I’m using (2010 Weaver) has navigation links at the top and bottom of the pages. They are referred to in the code as “nav-prev” and “nav-next”. They’re not very attractive so I was looking for an alternative.

    I was actually looking for a way to display my weekly comics using “next” and “previous” links, but I don’t think this will work for that. Appreciate the comments, though.

    Thanks.

    Plugin Author Eric

    (@emartin24)

    With WP 3.0, the updates now are in loop.php. For example, you’d need to change:

    <?php /* Display navigation to next/previous pages when applicable */ ?>
    <?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">&larr;</span> Older posts', 'twentyten' ) ); ?></div>
    		<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?></div>
    	</div><!-- #nav-above -->
    <?php endif; ?>

    with the code mentioned in my previous post.

    That’s if you want numbered pagination. If you want previous and next, just modify the text that is displayed in the default code mentioned above.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WP-Paginate] No previous or next links?’ is closed to new replies.