RenoJohn
Member
Posted 2 years ago #
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')) {
wp_paginate();
} ?>
------------
But what specifically am I replacing?
Thanks much!
http://wordpress.org/extend/plugins/wp-paginate/
RenoJohn
Member
Posted 2 years ago #
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:
http://www.graceaustin.com
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