• Resolved albinas

    (@albinas)


    Ok , so in the end in every post there is written who did posted it:

    Posted by <b><?php the_author() ?></b>

    I want to make like this is the link and when you click on it, only that author posts are shown. I understood, that the URL of one of the authors is:

    …/index.php?author=34

    But what i have to do in a code to make that on every author name there would be a link to his posts ?

    thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter albinas

    (@albinas)

    anyone? ?? i searched, did not find anything …

    Try <?php the_author_posts_link(); ?>

    Thread Starter albinas

    (@albinas)

    thanks – it worked !

    Ok,

    so i got another question related.

    How to make that when you click on an author all his posts are shown and in whatever place on a site there would be some info about him (i could write that info mannually) ?

    thnx

    One option would be to look into Author_Templates. Also, search around there as this has been a somewhat common topic lately.

    Thread Starter albinas

    (@albinas)

    Hey,

    thanks for help, but i dont understand why did the wordpress made the author page to make by yourself and in such a difficult way? i dont understand nothing in that tutorial, because i have to do such a primitive job – make an every author page with a bit of info about them and all his posts, but in that tutorial there is so much things and for example, where i should to put all those php codes in my theme template? its not written there.

    Thread Starter albinas

    (@albinas)

    and maybe anyone could post an example of his author.php ?

    Thread Starter albinas

    (@albinas)

    hello,

    one more question with that author page: how to connect it to the whole wordpress system, how to make that when click on a author name it would gather information from author.php file ?

    Please, answer me this.

    Thank you.

    Thread Starter albinas

    (@albinas)

    problem is resolved. thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Posts by the author’ is closed to new replies.