HostOnNet Blog

WordPress Author Profile not showing a link to older posts

Have you ever noticed that, there is no link to view older posts of author from author profile page http://blog.hostonnet.com/author/sibichan

wordpress-author

Copy pasted the below line from index.php to author.php and now its showing links to older Posts


<?php if ( $wp_query->max_num_pages > 1 ) : ?>
<div id="nav-below" 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-below -->


About hostonnet2

Bootstrap and Android LOVER.

I’ve been creating things for the web for over 10 years, from the period of flash and table based layout web sites till mobile and tab friendly web sites.

Posted in Wordpress