• I’m looking for a simple plugin. I am doing a blog with multiple authors and I just want for the author name to link to all entries by the author. In other words, under the title you’d see “By John Smith” only the John Smith is a link that takes you to a page of posts only by that author. Thanks a ton.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter samureye

    (@samureye)

    Great, going to have it tried out. Thank you!

    This doesn’t respect the permalink structure, though.

    I don’t know how well this would work in another theme, but this is how Sandbox does it:

    <span class="author vcard"><?php printf(__('By %s', 'sandbox'), '<a class="url fn n" href="'.get_author_link(false, $authordata->ID, $authordata->user_nicename).'" title="' . sprintf(__('View all posts by %', 'sandbox'), $authordata->display_name) . '">'.get_the_author().'</a>') ?></span>

    Ooh, actually, that’s deprecated. You can use the the_author_posts_link() like a normal template tag.

    From the description:

    Echo an HTML link to the author page of the author of the current post in the Loop.

    i remember there was a plugin i downloaded lately but lost with format…. you just put the number of last posts to display… anyone knows it?.. it was called “Posts-by-author” i think!!

    i found the plugin..
    This is exactly what you’re looking for, folks….

    https://www.dagondesign.com/articles/posts-by-author-plugin-for-wordpress/

    Check it out….. and damn it’s resolved now buddy

    Noooneh

    this plugin shows the last (x) posts of an author

    if you want to link name of author to all posts.. you can use this code (sorry, no plugin can help):

    just paste this within the index.php or single.php:

    <a href="/blog/index.php?author=<?php the_author_ID(); ?>">View all posts by <?php the_author_nickname(); ?></a>

    ofcourse replace /blog with your own url

    good luck everyone
    Noooneh

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Posts By Author Plugin’ is closed to new replies.