I am building a new wordpress blog, My blog posts doesn't show the author link. How to put a link to author profile page? I want to allow some authors to post in my blog. please help me
Just add the following code where you want it to be displayed within the loop: <?php _e('By','options'); ?> <?php the_author_posts_link(); ?> Code (markup): This will return - By <AUTHOR PROFILE LINK>
Well, if you want it on your main index page simply edit your template file home.php Place the code anywhere after this code: <?php if(have_posts()) : while(have_posts()) : the_post(); ?> Code (markup): but before this: <?php endif; ?> Code (markup): This bit is called the "loop." To place the author on your single posts, edit your single post template "post.php" The code works anywhere within the loop but where you put it really depends on where you want it shown. I hope this has given you enough information to continue.
My blog will be having multiple authors. So where should i put the code? i want their name to be linked to their respective profile.