WordPress Code Tips: Add Author All Post Link

Posted by Asif2BD     Category: Helping, WebMaster Stuff, WP Theme

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>

Thumbnails powered by Thumbshots

Related Posts with Thumbnails

Related Posts:

  1. Best Google Buzz Plugin For WordPress
  2. GPL & WordPress: Theme Vs Plugins
  3. WordPress Theme Authenticity Checker
  4. WordPress Wins “Open Source CMS Awards 2009″
  5. Fix WordPress Auto Update Error

Tags: , , , ,

One Response to “WordPress Code Tips: Add Author All Post Link”

  1. uiedda Says:

    ZAuJwl cmltebqoguza, [url=http://easaklvntgvn.com/]easaklvntgvn[/url], [link=http://sojebxrbvwdj.com/]sojebxrbvwdj[/link], http://peesurnxtilb.com/

Leave a Reply

 

 

0 Trackbacks/Pingbacks

    Recent Search