Support » Plugin: WP-Paginate » [Plugin: WP-Paginate] what code in loop.php to replace?

  • I realize this is a newbie question and apologize.

    Just moved to the twenty-ten theme and I’m not sure which code to replace in the loop.php file.

    I know I need to replace with this:
    <?php if(function_exists(‘wp_paginate’)) {
    } ?>

    But what specifically am I replacing?

    Thanks much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • OK I think I figured it out. I replaced:
    <div class=”nav-previous”><?php next_posts_link( __( ‘<span class=”meta-nav”>←</span> Older posts’, ‘twentyten’ ) ); ?></div>
    <div class=”nav-next”><?php previous_posts_link( __( ‘Newer posts <span class=”meta-nav”>→</span>’, ‘twentyten’ ) ); ?></div>

    in two places in the loop.php file.

    Please let me know if I did anything that may cause problems. Also if there is an easy way to center this for the viewer that would be awesome.

    blog here:



    Forum Moderator

    edit style.css and find:

    /* =Navigation
    -------------------------------------------------------------- */
    .navigation {
    	color: #888;
    	font-size: 12px;
    	line-height: 18px;
    	overflow: hidden;

    for instance, add
    text-align: center;
    to this style

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP-Paginate] what code in loop.php to replace?’ is closed to new replies.