30 Comments on Author page wordpress plugin

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 source code and save it in a php file or get 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:

 <?php endforeach; else: ?>
 <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
 <?php endif; ?>

Replace this by :

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

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:

 <a href="index.php?author_name=<?php the_author_login(); ?>">
 <?php the_author(); ?></a>

if you do not wish to or can't use rewrite rules.

On this site, I use the following rewrite rule:

 RewriteRule ^about/? /index.php?author_name=jonathan [QSA]

With a link to the 'About' page simply like this :

 <a href="/about/">About</a>

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:

 <a href="/author/<?php the_author_login(); ?>
 <?php the_author(); ?></a>

Version 0.3+ use native Wordpress functions to display the author data, making it more compatible (I hope) with future versions of Wordpress.

En Français


Mise jour de sécurité pour Firefox 1.0PR

Disponible sur Mozillazine

Ou bien lisez la version officielle.


Parts de marché de Firefox (sur ce blog)

J'ai installé StatTraq il y a quelques temps, et je voulais faire un petit point sur les navigateurs utilisés par les visiteurs (robots exclus). Il se trouve que la semaine dernière, Firefox a passé la barre des 2 millions de téléchargements, et la popularité croissante se retrouve dans les statistiques de ce site : l'image de droite montre les principaux naviagateurs ayant accédé ce blog du 23 septembre au 2 octobre 2004.

Graphique navigateurs

On voit clairement que, avec 67% des hits, Firefox n'est pas "un petit matelot", mais est bel et bien devenu un capitaine. Mozilla figure également en assez bonne posistion, mais pas Opera, ce qui est dommage car il s'agit également d'un très bon navigateur, surtout la version 7.60 qui est superbe, avec reconnaissance des commandes vocales, etc...

Sur l'image du bas, vous pouvez voir le classement des navigateurs depuis le 23 septembre 2004, réactualisé en direct.