As some of you already know TheTechJournal.com Redesign has begun. TheTechJournal.com team with our developer working together. During this time of development today i have implemented the “All Posts By Author Link”. Its simple and easy implementation, using Core WordPress Function. But most theme maker and coder seems don’t understand its importance. Actually its a mandatory feature for multi Author blog/site.
Check The Code Below
In General developer use only this <?php the_author(); ?>
Which result only Author name. But if we want to direct them to a such page where all post by that user displayed, then we need more detailed code. WordPress Author code base already covered that.
Just put this code instead of <?php the_author(); ?> This
<a href=”<?php bloginfo(‘url’); ?>/author/<?php the_author_meta(‘user_nicename’); ?>” rel=”bookmark” title=”Read All Posts By <?php the_author(); ?>”><?php the_author(); ?></a>