HostOnNet Blog

WordPress Author Profile not showing a link to older posts

Looking for Linux Server Admin or WordPress Expert? We can help.

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 Sibi Antony

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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.