Codex tools: Log in
Page d'accueil du Codex en français - Télécharger WordPress en français
Les utilisateurs francophone se retrouvent sur le site WordPress-Francophone, notamment sur son forum d'entraide.
Contents |
Affiche l'identifiant utilisateur numérique (ID) unique de l'auteur de l'article ; l'ID est assigné par WordPress quand un compte utilisateur est créé. Ce marqueur doit être utilisé à l'intérieur de la Boucle.
<?php the_author_ID(); ?>
Utilise l'ID de l'auteur dans un lien pour affiche tout les articles de l'auteur.
<a href=\"/blog/index.php?author=<?php the_author_ID(); ?>>Voir tous les articles de <?php the_author_nickname(); ?></a>
Ce marqueur n'accepte aucun argument.
the_author, the_author_description, the_author_login, the_author_firstname, the_author_lastname, the_author_nickname, the_author_ID, the_author_email, the_author_url, the_author_icq, the_author_aim, the_author_yim, the_author_msn, the_author_posts, the_author_posts_link, list_authors, wp_list_authors