Author page wordpress plugin Comments RSS feed

This plugin shows a specific page for each author, showing the number of posts published and some of the data entered in the Wordpress admin section, i.e. URL, AIM ICQ number, etc… except email! But it can provide a contact form that will send an email to the author’s address.

You can use it as an ‘About’ page for a personnal weblog or to give each author their own page in a collaborative blog.

To install it, download the gzip file and unpack it.

Upload the resulting file to your wp-content/plugins directory and activate it from the admin interface.

To use it put the author() function in you index.php template,
where it normally shows the message that there are no posts.

In the default template, it looks like this:

Replace this by :



The first optionnal boolean parameter gives you the opportunity to show or hide
a contact form for the author. Defaults to ‘true’ (show the form).

In version 0.2+, the second parameter is an integer an defines the number of latest posts to show. The default is ‘0′.
You may want to change some of the text in the plugin file to your own language.

To do a link to the author page, you have to do something like this:

About

On a multiuser blog, you could do this:

RewriteRule ^author/?(.*)/? /index.php?author_name=$1 [QSA]

and so the link to the page is like this:

En Fran?ais

Liked it? Share it!
  • del.icio.us
  • Facebook
  • Google
  • TwitThis
  • StumbleUpon

30 Responses to “Author page wordpress plugin”

  1. Stephan says:

    Hi!
    I just tried your Plugin, but it says
    Call to undefined function: lp() in …/author.php on line 130

    Should I have that function, or what is missing?

  2. littleman09z says:

    I have 2 things.. First you have an error on
    ” ?php endforeach; else: ?
    ?php author(true, 5); ? gt;
    ?php endif; ? ”
    it should be
    ” ?php endforeach; else: ?
    ?php author(true, 5); ?
    ?php endif; ? ”
    cuz when i changed it it didnt work (messed up my site) about an hour of lookin later i figured it out (basic php! lol)
    #2
    I can not get the multi user blog working.. How will i do that i am confused wit ur instructions .. sry

  3. Oleg says:

    When I use this plugin (I followed everything) and bring up the page with the author profile (/index.php?author_name=Oleg) I just get a huge page with all plog entries posted ever.

    What am I doing wrong?

  4. zuppah says:

    if I click on /index.php?author_name=admin the plugin works fine. if I click on other authors names I receive back their posts. I tried to change post names with other different form the login one (as oleg seems to soggest), but it doesn’t work :(

  5. [...] contact with the author of the post. Get the plugin with all installation instructions at the author page plugin page Contact Author | Print This Article Related Articles [...]

  6. The iWorld says:
    Author Page Plugin for Wordpress
    A cool developement for wordpress! Now you can also offer an author’s page to each of your blog authors. This authors page reports total number of posts made by each author. This also provides some of the data provided by the author in his/her profile…

  7. niss says:

    I keep trying to install this plugin, but whenever i edit the

    < ?php endforeach; else: ?>
    < ?php author(true, 5); ?>
    < ?php endif; ?>

    section in my index, i get the following error upon loading the page.

    Parse error: parse error, unexpected T_ENDFOREACH in /home/nississi/public_html/wp/index.php on line 71

    ack?

  8. [...] ??????????????????????????????? Authorpage – ????? ???????? ?????????? [...]

  9. luck_strike says:

    hi,

    very nice plug, but I have a lot of problems with other function. for example my PDF plug says

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/27/d108829608/htdocs/beta/wp-content/plugins/autor.php:248) in /homepages/27/d108829608/htdocs/beta/wp2pdf/wp2pdf.php on line 389

    there are also problem in the admin area (change templates) etc.

  10. luckyLuke says:






    uuupps – thanks! it works fine, but now I guess , I have the same problem as zuppah :) ) – It only displays a page for the admin. On sites of the other authors are just their articles….

    PS: your software told me, I have a bad karma – well I know… Bu how ever: this is the third time I try to send a message.

  11. Eric says:

    Using Wordpress 1.5. Getting error:

    Parse error: parse error, unexpected T_ENDFOREACH in
    /home/axic/public_html/tutorialz/wp-content/themes/classic/index.php on line 31

    No clue why, gone over everything a million times. Thanks in advance.

  12. Jonathan says:

    Eric, I guess it’s because they changed the ‘foreach’ in ‘while’ in the code given in the post, replace ‘endforeach’ by ‘endwhile and you should be all right.

    • Jonathan says:

      No, in your .htacces, you only need this one line:

      RewriteRule ^author/?(.)/? /index.php?author_name=$1 [QSA]

      and then the link to the author page is author/admin or author/sk8er_boy111200 or author/mylogin, where mylogin is your login name (the one you type to enter the admin interface). You can get it with the

      the_author_login()

      template tag.

  13. Christopher says:

    I’ve got it working kind of, It will show the posts for mulitple authors but I can’t get a profile page… am I doing something obviously wrong?

  14. Jonathan says:

    Christopher,

    I don’t know if you’re doing anything wrong… Which version of wordpress are you using?

  15. roland says:

    Same problem as Christopher. I use 1.5 (Maybe it is because of the same url-adresses index.php?author_name=Authorname ->it is normally for the author archives? )

  16. Jonathan says:

    Christopher and roland,

    Yes the problem is that this plugin was designed for WP 1.2, and I’m not surprised it doesn’t work with 1.5.

    You can try one thing, though, and that is change all the $author_name variables to $author_page or whatever in the plugin file and in the .htaccess (if you have one). I don’t guarantee anything, but it’s worth giving it a try.

  17. Hi,
    great script, great idea… but has anybody still solved the problem, that only the admin-profil is shown? On the pages of the other authors the script only displays a list of their articles…

    PS: I still use WP 1.2.2 (too much trouble with updateing my over-customized system ;-) ))

  18. Daniela says:

    Won’t show authors page and I don’t know why!

  19. Jonathan says:

    No, sorry, it was my fault because I just installed the language_picker plugin and modified the author plugin to use it. Download it again now and you should be all right.

  20. littleman09z says:

    ok, i have it partially set up… i have it to where you go to /author/admin or sk8er_boy111200 so i my mod rewrite i have

    RewriteRule ^author/?(.*)/? /index.php?author_name=$1 [QSA]
    RewriteRule ^author/?(.*)/? /index.php?author_name=$6 [QSA]
    but then i wanna put a link to the 2 others i tried but i dont get how the link works…?

  21. Stephan says:

    Very nice! Now it works!

  22. Jonathan says:

    Is ‘Oleg” your actual login? Capitalization is important as well.

  23. Oleg says:

    SOlved the problem. It was that you cannot have your login name as your post name or something. I just use anything but “Oleg” (even tried non caps) and it works fine. Weird bug.

    Thanks.

  24. Jonathan says:

    Hi, Could you give me the names of your other authors? I could only see your name on the posts I viewed.

  25. zuppah says:

    http://www.zuppah.it/index.php?author_name=luca
    this is the second autor! (I created other identities but I have to update my database to import old posts)

  26. zuppah says:

    hi! I see you tested an alternative link for the second author. I’m using that to generate the page by a direct link. thanks for the idea ;) , even if I can’t use it in the loop, I can create the author pages!

  27. Anonymous says:

    Hi,
    Are you sure you deleted the endforeach that was already there? Did you do any other mods to the default template?

  28. Jonathan says:

    Hi,
    It’s because you have a space either at the end or at the beginning of the author plugin file. Remove it and everything should be all right.

  29. Jonathan says:

    Yeah, pretty bad karma it seems… It was sent in moderation for whatever reason…

    Weird problem, I don’t have a clue what could be causing it. It’s true that this plugin is quite messy though.

Leave a comment

If you register, these will be filled automatically