<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>NeoSting.net &#187; commentaire</title>
	<atom:link href="http://neosting.net/tag/commentaire/feed" rel="self" type="application/rss+xml" />
	<link>http://neosting.net</link>
	<description>Le petit journal de NeoSting</description>
	<lastBuildDate>Thu, 09 Feb 2012 00:32:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Comment désactiver les commentaires de WordPress #WordPress  #NeoSting</title>
		<link>http://neosting.net/wordpress/comment-desactiver-les-commentaires-de-wordpress.html</link>
		<comments>http://neosting.net/wordpress/comment-desactiver-les-commentaires-de-wordpress.html#comments</comments>
		<pubDate>Mon, 01 Aug 2011 20:44:13 +0000</pubDate>
		<dc:creator>NeoSting</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[commentaire]]></category>
		<category><![CDATA[désactiver]]></category>
		<category><![CDATA[discussion]]></category>

		<guid isPermaLink="false">http://neosting.net/?p=11740</guid>
		<description><![CDATA[Pour supprimer visuellement les commentaires sur votre blog WordPress, il y a plusieurs moyens, mais tous sont complémentaires. Si vous voulez les enlever du blog, la première chose à faire est d'aller chercher dans les fichiers de votre thème, la fonction qui appelle les commentaires. Elle se trouve, suivant le thème, au moins dans le [...]]]></description>
			<content:encoded><![CDATA[<p>Pour <strong>supprimer visuellement les commentaires sur votre blog WordPress</strong>, il y a plusieurs moyens, mais tous sont complémentaires. Si vous voulez les enlever du  blog, la première chose à faire est d'aller chercher dans les fichiers de votre thème, la fonction qui appelle les commentaires. Elle se trouve, suivant le thème, au moins dans le fichier "single.php" (la page principale d'un article), mais aussi éventuellement dans "index.php", dans "archive.php" et dans "page.php". La trouver et la retirer (ou la commenter). A noter qu'elle peut-être écrite un peu différemment.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> comments_template<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>A ce moment, il faudra renommer votre fichier "comments.php", ou le supprimer.<br />
<br />
Enfin, dans les réglages, dans votre panneau d'administration, à la rubrique discussion, il faudra décocher la case qui autorise les commentaires. Sachez qu'ils seront quand même toujours présents dans votre base de données, si jamais vous changez d'avis...<br />
<br />
Profitez-en désormais pour désactiver toutes les extensions qui étaient utiles aux commentaires, comme Akismet, NoSpamNX ou encore Subscribe to Comments. Elles ne servent plus à rien et seront autant de ressources libérées. Cette méthode permet de continuer à recevoir par mail les notifications de ping et de rétroliens lorsque vous en aurez sur vos articles.<br />
<br />
Enfin, si vous préférez garder en visuel ceux qui ont été postés auparavant, il ne faut surtout pas enlever l'appel à la fonction et le fichier "comments.php". Vous aurez alors juste besoin de simplement désactiver la possibilité d'en émettre (dans le panneau d'administration) et de faire cette notification via phpmyadmin (dans votre base de donnée sur l'onglet SQL) avec la commande suivante, ce qui aura pour effet de fermer les commentaires sur tous vos anciens articles. (<a href="http://digwp.com/2010/08/wordpress-sql-comments/">plus d'options sur cette page</a>).</p>
<blockquote><p>
UPDATE wp_posts SET comment_status = 'closed';
</p></blockquote>
<p>Si vous avez changé le préfixe de votre base de donnée pour éviter les failles 0-Day, pensez à remplacer "wp_" par le vôtre.</p>
<p>Partager ça sur <a target="_blank" href="http://twitter.com/home?status=RT @NeoSting: Comment désactiver les commentaires de WordPress http://goo.gl/xj0ln">Twitter</a>.
<br />Article rédigé sur le blog de <a href="http://neosting.net/">NeoSting</a> à <a href="http://neosting.net/wordpress/comment-desactiver-les-commentaires-de-wordpress.html" title="Comment désactiver les commentaires de WordPress">cette adresse</a>.
<ul>
<li><a href="http://twitter.com/neosting" title="compte officiel de Cyrille NeoSting">Me suivre sur Twitter</a></li>
<li><a href="https://plus.google.com/111927034333604064488/" title="compte personnel de Cyrille NeoSting">Me suivre sur Google Plus</a></li>
<li><a href="https://plus.google.com/111366965126067392670/" title="Page sur Google Plus dédiée au blog">Suivre la Page+ de NeoSting.net</a></li>
<li><a href="http://www.facebook.com/pages/NeoStingnet/134289813295614/" title="Page sur facebook dédiée au blog">Suivre la page du blog sur facebook</a></li>
</ul></p><img src="http://neosting.net/?ak_action=api_record_view&id=11740&type=feed" alt="" /><p>Articles en relation : <ol>
<li><a href='http://neosting.net/wordpress/numeroter-vos-commentaires-dans-wordpress.html' rel='bookmark' title='Numéroter vos commentaires dans WordPress'>Numéroter vos commentaires dans WordPress</a></li>
<li><a href='http://neosting.net/wordpress/afficher-autrement-certains-commentaires-et-trackbacks.html' rel='bookmark' title='Plugins pour commentaires et trackbacks'>Plugins pour commentaires et trackbacks</a></li>
<li><a href='http://neosting.net/wordpress/gestion-des-commentaires-et-gravatar.html' rel='bookmark' title='Gestion des commentaires et Gravatar'>Gestion des commentaires et Gravatar</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://neosting.net/wordpress/comment-desactiver-les-commentaires-de-wordpress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hadopi: commentaire chez Korben, Free et SFR&#8230; #Brèves  #NeoSting</title>
		<link>http://neosting.net/breves/7001.html</link>
		<comments>http://neosting.net/breves/7001.html#comments</comments>
		<pubDate>Tue, 05 Oct 2010 22:43:09 +0000</pubDate>
		<dc:creator>NeoSting</dc:creator>
				<category><![CDATA[Brèves]]></category>
		<category><![CDATA[commentaire]]></category>
		<category><![CDATA[fai]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[hadopi]]></category>
		<category><![CDATA[korben]]></category>
		<category><![CDATA[mails]]></category>
		<category><![CDATA[sfr]]></category>

		<guid isPermaLink="false">http://neosting.net/?p=7001</guid>
		<description><![CDATA[Mise à jour : gràce à Aenor01 et à MyOther, j'ai pu saisir la nuance sur le fait que la hadopi doit se baser sur l'envoi des mails, et non sur le fait qu'elle ait demandé l'envoi des recommandations, ce que je pensais. Une Faille pour cette loi anti-culturelle qui crédite Free d'un bon point. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Mise à jour :</strong> gràce à <a href="http://twitter.com/Aenor01/statuses/26546505994">Aenor01</a> et à <a href="http://twitter.com/MyOther/statuses/26546868120">MyOther</a>, j'ai pu saisir la nuance sur le fait que la hadopi doit se baser sur l'envoi des mails, et non sur le fait qu'elle ait demandé l'envoi des recommandations, ce que je pensais. Une <strong>Faille</strong> pour cette loi anti-culturelle qui crédite Free d'un bon point. Au final, à moins que ce ne soit toujours plus subtile, la hadopi ne pourrait pas se moquer de cette absence d'envoi, puisque de cet envoi dépendrait la suite de la riposte graduée. Ce dont la hadopi se moque, en revanche, c'est que les mails soient lus ou pas, tant qu'ils sont envoyés.<br />
<br />
Normalement, je ne le fais pas, ou de manière extrêmement rare, mais comme le site de Korben rencontre quelques bonnes difficultées en ce moment, alors je vais copier/coller mon commentaire que j'ai émis (mais qui n'est pas passé) sur son excellent article "<a href="http://www.korben.info/drame-dans-la-maison-close.html">drame à la maison close</a>". Il y explique <strong>en gros</strong>, que Free n'a pas transmis les mails de l'hadopi à ses clients les privant de cette information qui peut être précieuse. Mais il explique aussi que c'est peut-être une bonne chose que ces internautes ne soient pas au courant de leur "problème" avec cette loi, et qu'au final, hadopi ne prendrait pas de risque à les couper. Je le rejoins sur beaucoup de choses, mais je tenais à lui donner un point que j'estime important concernant Free :</p>
<blockquote><p>
Merci Korben pour ce très bel article.<br />
<br />
Concernant Free, la hadopi s'en fout au final que les mails ne soient pas parvenus avec Free. La HADOPI a quand même les coordonnées des pirates, et le seconde fois, ce sera un mail (toujours potentiellement pas reçu) mais accompagné d'une LAR qui, elle sera inévitablement reçue. Donc qu'importe, Free ne change rien à la donne sur ce coup, sauf à se faire un coup de pu(b)tte ;)<br />
<br />
Et ça tombe bien que l'internaute soit prévenu tard. Je pense qu'hadopi tentera surement quelques coupures de connexion bien ciblées pour que sa "prévention" fonctionne. mais c'est un risque qu'elle ne prendra au final peut-être pas, car il n'est pas impossible que cette merde de loi finisse invalidée si les coupés ont du répondant. Reste que la coupure peut très bien être d'un mois, histoire de passer pour une "petite" coupure de rien du tout, mais propageant la peur...
</p></blockquote>
<p>
Puisqu'on est dans le sujet, sauriez-vous pourquoi SFR non plus n'aurait pas joué le jeu de l'envoi des mails ? C'est une rumeur pour le moment, mais c'est plutôt étonnant, puisque comme je le dénonce dans cet article, le FAI était plutôt <a href="http://neosting.net/actualite/sfr-cest-lui-qui-la-fait-monsieur.html">pour une dénonciation rapide et gratuite</a>. Retournement de veste suite au fait que ce soit le goupe qui fournisse l'<strong>une des seules offres légales françaises</strong> importantes avec son <strong>SFR Music, d'Universal Music</strong> ?</p>
<p>Partager ça sur <a target="_blank" href="http://twitter.com/home?status=RT @NeoSting: Hadopi: commentaire chez Korben, Free et SFR&#8230; http://goo.gl/qGoO">Twitter</a>.
<br />Article rédigé sur le blog de <a href="http://neosting.net/">NeoSting</a> à <a href="http://neosting.net/breves/7001.html" title="Hadopi: commentaire chez Korben, Free et SFR&#8230;">cette adresse</a>.
<ul>
<li><a href="http://twitter.com/neosting" title="compte officiel de Cyrille NeoSting">Me suivre sur Twitter</a></li>
<li><a href="https://plus.google.com/111927034333604064488/" title="compte personnel de Cyrille NeoSting">Me suivre sur Google Plus</a></li>
<li><a href="https://plus.google.com/111366965126067392670/" title="Page sur Google Plus dédiée au blog">Suivre la Page+ de NeoSting.net</a></li>
<li><a href="http://www.facebook.com/pages/NeoStingnet/134289813295614/" title="Page sur facebook dédiée au blog">Suivre la page du blog sur facebook</a></li>
</ul></p><img src="http://neosting.net/?ak_action=api_record_view&id=7001&type=feed" alt="" /><p>Articles en relation : <ol>
<li><a href='http://neosting.net/actualite/avec-free-le-wifi-fait-sa-revolution.html' rel='bookmark' title='Avec Free, le wifi fait sa révolution !'>Avec Free, le wifi fait sa révolution !</a></li>
<li><a href='http://neosting.net/actualite/free-detient-sa-licence-mobile-4g.html' rel='bookmark' title='Free détient sa licence mobile 4G  ?'>Free détient sa licence mobile 4G  ?</a></li>
<li><a href='http://neosting.net/actualite/free-et-tva-resiliation-pas-sans-frais.html' rel='bookmark' title='Free et TVA : résiliation (pas) sans frais'>Free et TVA : résiliation (pas) sans frais</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://neosting.net/breves/7001.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plugins pour commentaires et trackbacks #WordPress  #NeoSting</title>
		<link>http://neosting.net/wordpress/afficher-autrement-certains-commentaires-et-trackbacks.html</link>
		<comments>http://neosting.net/wordpress/afficher-autrement-certains-commentaires-et-trackbacks.html#comments</comments>
		<pubDate>Wed, 04 Mar 2009 13:34:25 +0000</pubDate>
		<dc:creator>NeoSting</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[commentaire]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[trackback]]></category>

		<guid isPermaLink="false">http://www.neosting-press.fr/?p=951</guid>
		<description><![CDATA[Après Get Recent Comments, bhCalendarchives et Page-Navi, voici deux petits plugins qui rentrent désormais dans la famille sur mon blog ! Il va falloir que je refasse un article nommant ceux qui sont encore actifs si ça continue. Ces extensions concernent tous les deux l'espace dédié aux commentaires. Le premier va s'occuper d'afficher mes commentaires [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://images.neosting.net/2009/03/3066802489_963788217e_m.jpg" alt="3066802489_963788217e_m" title="3066802489_963788217e_m" width="240" height="134" class="alignright" />Après <a title="billet de NeoSting à propos de Get Recent Comments, le plugin wordpress" href="http://neosting.net/wordpress/get-recent-comments-sur-mon-blog.html">Get Recent Comments</a>, <a title="billet de NeoSting sur les extensions wordpress, bhcalendarchives et page-navi" href="http://neosting.net/wordpress/un-beau-calendrier-et-une-navigation-googlee.html">bhCalendarchives et Page-Navi</a>, voici deux petits plugins qui rentrent désormais dans la famille sur mon blog ! Il va falloir que je refasse un article nommant ceux qui sont encore actifs si ça continue.<br />
<br />
Ces extensions concernent tous les deux l'espace dédié aux commentaires. <strong>Le premier</strong> va s'occuper d'afficher mes commentaires avec un fond de couleur différent afin que les lecteurs qui passent comprennent rapidement qui est le maitre ici - non partez pas, je déconne ! Il est vrai qu'on pourrait même faire plus qu'une simple couleur de fond, mais ce n'est pas trop mon but. <strong>Le second</strong> s'occupe de reprendre les trackbacks, afin de les afficher à la fin du billet, et non plus à la fin des commentaires comme avant.<br />
<br />
Comme vous pouvez peut-être le voir, quelques modifications substantielles de ce coté ont été faites, notamment concernant la mise en forme, qui colle un peu plus avec l'ensemble du thème de mon blog. Pour cela, j'ai fais quelques tests en interne, sur différents plugins du genre, mais rien ne s'intégrait vraiment avec mon template, qui a subi pas mal de modifications depuis le temps, jusqu'à aujourd'hui.</p>
<h3>Les commentaires de l'auteur du blog</h3>
<p>Mon choix s'est porté vers <a title="Author Highlight sur le plugin Directory" href="http://wordpress.org/extend/plugins/author-highlight/">Author Highlighit</a>. qui semble au premier regard assez léger, et sans fioriture. Détrompez-vous ! Il est très puissant et surtout très simple à mettre en place. Vous trouverez ici l'<a title="Wiki de Author Highlight" href="http://plugins.trac.wordpress.org/wiki/AuthorHighlight">espace Wiki du plugin</a> dans lequel vous trouverez les informations importantes à sa mise en place. Au passage, on remercie bien son auteur, <a title="site officiel de Jonathan Leighton" href="http://jonathanleighton.com/">Jon Leighton</a>.<br />
<br />
Le principe est simple, on modifie le code de l'extension dans le panneau d'administration afin de déterminer la classe à appliquer dans le template. Il faut par conséquent entourer la section dédiée à l'affichage des commentaires par une DIV dans laquelle on appelle la fonction du plugin qui se chargera alors comme un grand de mettre la bonne classe suivant les règles instaurées.<br />
<br />
Si, celles proposées concernent l'essentiel, à savoir, appliquer une classe si l'auteur du commentaire est l'auteur du blog, il est tout à fait possible d'étendre ses fonctions, pour peu qu'on s'intéresse de beaucoup plus près au php. Une grande réussite qui fait donc ce qu'on lui demande. Merci.</p>
<h3>Du côté des trackbacks</h3>
<p>Je me suis ici tourné vers <a title="Trackbacks Template sur le Plugin Directory"  href="http://wordpress.org/extend/plugins/trackbacks-template/">Trackbacks Template</a>, et ce, toujours pour les mêmes raisons. Une grande simplicité d'utilisation. <a href="http://blog.slaven.net.au/wordpress-plugins/trackbacks-template-wordpress-plugin/" title="billet officiel de trackbacks template" >Le billet du plugin est ici</a>. pour l'utiliser, on l'active, bien sûr, mais ensuite, on a juste à appeler la fonction <strong>trackbacks_template()</strong>.<br />
<br />
Pour finir, même si un template est utilisé d'origine, il est tout à fait possible et conseillé de copier le fichier trackbacks.php dans le repertoire de son thème et de lemodifier à sa guise. C'est alors celui-ci qui sera prioritaire ; astucieux ! On remercie donc <a title ="site officiel de Glenn Slaven" href="http://blog.slaven.net.au/">Glenn Slaven</a> pour sa production, <a title="Les plugins wordpress de Glenn Slaven" href="http://wordpress.org/extend/plugins/profile/dalziel">qui n'est pas toute seule</a>.</p>
<p>Partager ça sur <a target="_blank" href="http://twitter.com/home?status=RT @NeoSting: Plugins pour commentaires et trackbacks http://goo.gl/vWwr3">Twitter</a>.
<br />Article rédigé sur le blog de <a href="http://neosting.net/">NeoSting</a> à <a href="http://neosting.net/wordpress/afficher-autrement-certains-commentaires-et-trackbacks.html" title="Plugins pour commentaires et trackbacks">cette adresse</a>.
<ul>
<li><a href="http://twitter.com/neosting" title="compte officiel de Cyrille NeoSting">Me suivre sur Twitter</a></li>
<li><a href="https://plus.google.com/111927034333604064488/" title="compte personnel de Cyrille NeoSting">Me suivre sur Google Plus</a></li>
<li><a href="https://plus.google.com/111366965126067392670/" title="Page sur Google Plus dédiée au blog">Suivre la Page+ de NeoSting.net</a></li>
<li><a href="http://www.facebook.com/pages/NeoStingnet/134289813295614/" title="Page sur facebook dédiée au blog">Suivre la page du blog sur facebook</a></li>
</ul></p><img src="http://neosting.net/?ak_action=api_record_view&id=951&type=feed" alt="" /><p>Articles en relation : <ol>
<li><a href='http://neosting.net/wordpress/jquery-twitter-trackbacks-widget-un-must.html' rel='bookmark' title='jQuery Twitter Trackbacks Widget ; un must'>jQuery Twitter Trackbacks Widget ; un must</a></li>
<li><a href='http://neosting.net/wordpress/gestion-des-commentaires-et-gravatar.html' rel='bookmark' title='Gestion des commentaires et Gravatar'>Gestion des commentaires et Gravatar</a></li>
<li><a href='http://neosting.net/wordpress/listing-de-mes-plugins-wordpress.html' rel='bookmark' title='Listing de mes plugins WordPress'>Listing de mes plugins WordPress</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://neosting.net/wordpress/afficher-autrement-certains-commentaires-et-trackbacks.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#171;&#160;Get Recent Comments&#160;&#187;, sur mon blog. #WordPress  #NeoSting</title>
		<link>http://neosting.net/wordpress/get-recent-comments-sur-mon-blog.html</link>
		<comments>http://neosting.net/wordpress/get-recent-comments-sur-mon-blog.html#comments</comments>
		<pubDate>Sat, 28 Feb 2009 00:19:08 +0000</pubDate>
		<dc:creator>NeoSting</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[commentaire]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[get recent comments]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[récent]]></category>

		<guid isPermaLink="false">http://www.neosting-press.fr/?p=899</guid>
		<description><![CDATA[Bon, un dernier billet, histoire d'expliquer que j'ai encore fait évoluer mon blog avec une interface un peu remodelée, qui j'espère vous plaira (un petit commentaire au cas où, sur le sujet ça fait plaisir). Je l'ai fais afin de mieux profiter de mon nouveau plugin, Get Recent Comments. Comme vous pouvez le voir, il [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://images.neosting.net/uploads/2009/02/livre_et_stylo.jpg" alt="livre_et_stylo" title="livre_et_stylo" width="150" height="113" class="alignright" />Bon, un dernier billet, histoire d'expliquer que j'ai encore fait évoluer mon blog avec une interface un peu remodelée, qui j'espère vous plaira (un petit commentaire au cas où, sur le sujet ça fait plaisir). Je l'ai fais afin de mieux profiter de mon nouveau plugin, <a title="Fiche sur le Plugin Directory de Wrodpress.org" href="http://wordpress.org/extend/plugins/get-recent-comments/">Get Recent Comments</a>.<br />
<br />
Comme vous pouvez le voir, il est capable de faire pas mal de choses, mais c'est surtout du côté de l'interface d'administration et de personnalisation qu'il est incroyable. Doté d'un affichage très intuitif, on pourra se faire plaisir avec les feuilles de style pour afficher presque tout ce que l'on veut et où l'on veut, dès l'instant que ça concerne les commentaires.<br />
<br />
Les fonctions a appeler sont nombreuses ; il y en a quand même 17 exploitables, mais il manque peut-être celle qui précise le nombre de commentaires d'un même auteur. Je contacterai l'auteur du plugin pour lui demander. Pour la personnalisation, on aura juste besoin de quelques bases très simples en xhtml (et en css) et c'est tout. Encore un plugin qu'on peut qualifier de valeur sûre.<br />
<br />
C'est par ailleurs pour ça que j'ai déplacé quelques "widgets" en haut, afin de faire de la place pour vous qui, avec amour, allez déposer vos commentaires. Toujours à ce propos, ça fait plusieurs évolutions que je fais, et sur mon cahier de route, je dois revoir un peu l'affichage des commentaires. A part l'ajout du Gravatar, je n'ai pas fais grand chose depuis pas mal de temps, mais je vais essayer la semaine prochaine de le rendre un peu plus propre, clair et attractif.<br />
<br />
Au final, ce genre de panneau de commande tout en haut me parait idéalement placé. Voilà @+ !</p>
<p>Partager ça sur <a target="_blank" href="http://twitter.com/home?status=RT @NeoSting: &laquo;&nbsp;Get Recent Comments&nbsp;&raquo;, sur mon blog. http://goo.gl/T6S1O">Twitter</a>.
<br />Article rédigé sur le blog de <a href="http://neosting.net/">NeoSting</a> à <a href="http://neosting.net/wordpress/get-recent-comments-sur-mon-blog.html" title="&laquo;&nbsp;Get Recent Comments&nbsp;&raquo;, sur mon blog.">cette adresse</a>.
<ul>
<li><a href="http://twitter.com/neosting" title="compte officiel de Cyrille NeoSting">Me suivre sur Twitter</a></li>
<li><a href="https://plus.google.com/111927034333604064488/" title="compte personnel de Cyrille NeoSting">Me suivre sur Google Plus</a></li>
<li><a href="https://plus.google.com/111366965126067392670/" title="Page sur Google Plus dédiée au blog">Suivre la Page+ de NeoSting.net</a></li>
<li><a href="http://www.facebook.com/pages/NeoStingnet/134289813295614/" title="Page sur facebook dédiée au blog">Suivre la page du blog sur facebook</a></li>
</ul></p><img src="http://neosting.net/?ak_action=api_record_view&id=899&type=feed" alt="" /><p>Articles en relation : <ol>
<li><a href='http://neosting.net/wordpress/afficher-autrement-certains-commentaires-et-trackbacks.html' rel='bookmark' title='Plugins pour commentaires et trackbacks'>Plugins pour commentaires et trackbacks</a></li>
<li><a href='http://neosting.net/actualite/le-forum-du-blog-des-neonauts-est-en-place.html' rel='bookmark' title='Le forum du blog des Néonauts est en place.'>Le forum du blog des Néonauts est en place.</a></li>
<li><a href='http://neosting.net/wordpress/nouveau-theme-unique-sur-mon-blog.html' rel='bookmark' title='Nouveau thème unique sur mon blog'>Nouveau thème unique sur mon blog</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://neosting.net/wordpress/get-recent-comments-sur-mon-blog.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Afficher Gravatar ou Wavatar dans les commentaires #Aides et Tutoriels  #WordPress  #NeoSting</title>
		<link>http://neosting.net/wordpress/afficher-gravatar-ou-wavatar-dans-les-commentaires.html</link>
		<comments>http://neosting.net/wordpress/afficher-gravatar-ou-wavatar-dans-les-commentaires.html#comments</comments>
		<pubDate>Thu, 26 Feb 2009 10:55:48 +0000</pubDate>
		<dc:creator>NeoSting</dc:creator>
				<category><![CDATA[Aides et Tutoriels]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[avatar]]></category>
		<category><![CDATA[commentaire]]></category>
		<category><![CDATA[gravatar]]></category>
		<category><![CDATA[thèm wavatar]]></category>

		<guid isPermaLink="false">http://www.neosting-press.fr/?p=868</guid>
		<description><![CDATA[Je vous ai proposé récemment, sur ce billet, de voir comment on pouvait afficher le gravatar, dans les commentaires avec un thème réalisé manuellement. Il était même possible de créer une image vous-même et de la déclarer dans la valeur $default. Aujourd'hui, je vous propose une méthode un peu différente qui consiste encore à afficher [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://images.neosting.net/2009/02/wavatar.png" alt="wavatar" title="wavatar" width="180" height="180" class="alignright" />Je vous ai proposé récemment, <a title="Gestion des commentaire avec Gravatar uniquement" href="http://neosting.net/wordpress/gestion-des-commentaires-et-gravatar.html">sur ce billet</a>, de voir comment on pouvait afficher le gravatar, dans les commentaires avec un thème réalisé manuellement. Il était même possible de créer une image vous-même et de la déclarer dans la valeur <strong>$default</strong>.<br />
<br />
Aujourd'hui, je vous propose une méthode un peu différente qui consiste encore à afficher le gravatar, ou l'image générée automatiquement, comme <strong>Wavatar</strong>, si le premier n'est pas disponible. Ainsi, au lieu d'avoir une image identique pour tous les commentateurs qui n'auraient pas envoyé d'image sur Gravatar, vous aurez une image "signée" en fonction de leur adresse e-mail.<br />
<br />
C'est vrai que c'est un peu plus sympathique et je n'y avais pas pensé jusqu'à ce matin, après une courte nuit. Pour que ça marche, c'est encore plus simple que la méthode précédente. Il faut aller dans le fichier <em>comments.php</em>, et toujours dans la boucle, à l'endroit où le nom doit s'afficher, il faut appeler l'avatar comme ceci :</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'get_avatar'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> get_avatar<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$comment</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">80</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Voila, c'est tout, car WordPress gère comme un grand tout seul. il ne vous reste plus qu'à vérifier le système choisi dans votre panneau d'administration, dans "discussion". Ah au fait, le chiffre correspond à la taille de l'avatar souhaité.</p>
<p>Partager ça sur <a target="_blank" href="http://twitter.com/home?status=RT @NeoSting: Afficher Gravatar ou Wavatar dans les commentaires http://goo.gl/G5oWm">Twitter</a>.
<br />Article rédigé sur le blog de <a href="http://neosting.net/">NeoSting</a> à <a href="http://neosting.net/wordpress/afficher-gravatar-ou-wavatar-dans-les-commentaires.html" title="Afficher Gravatar ou Wavatar dans les commentaires">cette adresse</a>.
<ul>
<li><a href="http://twitter.com/neosting" title="compte officiel de Cyrille NeoSting">Me suivre sur Twitter</a></li>
<li><a href="https://plus.google.com/111927034333604064488/" title="compte personnel de Cyrille NeoSting">Me suivre sur Google Plus</a></li>
<li><a href="https://plus.google.com/111366965126067392670/" title="Page sur Google Plus dédiée au blog">Suivre la Page+ de NeoSting.net</a></li>
<li><a href="http://www.facebook.com/pages/NeoStingnet/134289813295614/" title="Page sur facebook dédiée au blog">Suivre la page du blog sur facebook</a></li>
</ul></p><img src="http://neosting.net/?ak_action=api_record_view&id=868&type=feed" alt="" /><p>Articles en relation : <ol>
<li><a href='http://neosting.net/wordpress/gestion-des-commentaires-et-gravatar.html' rel='bookmark' title='Gestion des commentaires et Gravatar'>Gestion des commentaires et Gravatar</a></li>
<li><a href='http://neosting.net/wordpress/numeroter-vos-commentaires-dans-wordpress.html' rel='bookmark' title='Numéroter vos commentaires dans WordPress'>Numéroter vos commentaires dans WordPress</a></li>
<li><a href='http://neosting.net/wordpress/afficher-du-code-dans-un-article-sous-wordpress.html' rel='bookmark' title='Afficher du code dans un article sous WordPress'>Afficher du code dans un article sous WordPress</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://neosting.net/wordpress/afficher-gravatar-ou-wavatar-dans-les-commentaires.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gestion des commentaires et Gravatar #Aides et Tutoriels  #WordPress  #NeoSting</title>
		<link>http://neosting.net/wordpress/gestion-des-commentaires-et-gravatar.html</link>
		<comments>http://neosting.net/wordpress/gestion-des-commentaires-et-gravatar.html#comments</comments>
		<pubDate>Tue, 10 Feb 2009 13:46:41 +0000</pubDate>
		<dc:creator>NeoSting</dc:creator>
				<category><![CDATA[Aides et Tutoriels]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[avatar]]></category>
		<category><![CDATA[commentaire]]></category>
		<category><![CDATA[gestion]]></category>
		<category><![CDATA[gravatar]]></category>
		<category><![CDATA[wavatar]]></category>

		<guid isPermaLink="false">http://www.neosting-press.fr/?p=618</guid>
		<description><![CDATA[Comme vous pourrez peut-être le constater, après cette mise à jour de mon thème, je continue de le peaufiner un peu, et aujourd'hui, je me suis occupé de la section dédiée aux commentaires. J'en ai même profité pour appliquer le plugin Nofollow Free, pour mieux vous servir. Après quelques recherches sur le web, afin de [...]]]></description>
			<content:encoded><![CDATA[<p>Comme vous pourrez peut-être le constater, après cette mise à jour de mon thème, je continue de le peaufiner un peu, et aujourd'hui, je me suis occupé de la section dédiée aux commentaires. J'en ai même profité pour appliquer le <a title="Extension WordPress pour le référencement des commentaires" href="http://www.michelem.org/wordpress-plugin-nofollow-free/">plugin Nofollow Free</a>, pour mieux vous servir. Après quelques recherches sur le web, afin de trouver le code d'origine séparant les trackbacks et les commentaires, je suis tombé sur cet excellent tutoriel de <a title="code, compteurs et séparation des trackbacks" href="http://www.wordpress-fr.net/blog/wordpress/separer-commentaires-trackbacks-wordpress-compteur">Amaury</a>.<br />
<br />
Grâce à lui, on peut partir d'une base saine et dépourvu d'artifices et ainsi y appliquer la mise en forme que l'on veut grâce aux feuilles de style (CSS). La séparation des commentaires humains, des tracbacks est alors fluide et parfaitement gérable.<br />
<br />
Voici le code récupéré :</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #666666; font-style: italic;">// Do not delete these lines</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'comments.php'</span> <span style="color: #339933;">==</span> <span style="color: #990000;">basename</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'SCRIPT_FILENAME'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
		<span style="color: #990000;">die</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Merci de ne pas lancer cette page directement.'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_password</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">// if there's a password</span>
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$_COOKIE</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'wp-postpass_'</span> <span style="color: #339933;">.</span> COOKIEHASH<span style="color: #009900;">&#93;</span> <span style="color: #339933;">!=</span> <span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_password</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>  <span style="color: #666666; font-style: italic;">// and it doesn't match the cookie</span>
		<span style="color: #000000; font-weight: bold;">?&gt;</span>
			&lt;p class=&quot;nocomments&quot;&gt;Cet article est protégé par un mot de passe. Entrez ce mot de passe pour voir les commentaires.&lt;/p&gt;
		<span style="color: #000000; font-weight: bold;">&lt;?php</span>
		<span style="color: #b1b100;">return</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">function</span> comments_human_number<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$zero</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">,</span> <span style="color: #000088;">$one</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">,</span> <span style="color: #000088;">$more</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">,</span> <span style="color: #000088;">$deprecated</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #000088;">$number</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$number</span> <span style="color: #339933;">&gt;</span> <span style="color: #cc66cc;">1</span> <span style="color: #009900;">&#41;</span>
			<span style="color: #000088;">$output</span> <span style="color: #339933;">=</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'%'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$number</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#40;</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #339933;">===</span> <span style="color: #000088;">$more</span> <span style="color: #009900;">&#41;</span> ? __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'% Comments'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$more</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$number</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">0</span> <span style="color: #009900;">&#41;</span>
			<span style="color: #000088;">$output</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #339933;">===</span> <span style="color: #000088;">$zero</span> <span style="color: #009900;">&#41;</span> ? __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'No Comments'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$zero</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">else</span> <span style="color: #666666; font-style: italic;">// must be one</span>
			<span style="color: #000088;">$output</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #339933;">===</span> <span style="color: #000088;">$one</span> <span style="color: #009900;">&#41;</span> ? __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'1 Comment'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$one</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #b1b100;">echo</span> apply_filters<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'comments_number'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$output</span><span style="color: #339933;">,</span> <span style="color: #000088;">$number</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">function</span> comments_trackback_number<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$zero</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">,</span> <span style="color: #000088;">$one</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">,</span> <span style="color: #000088;">$more</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">,</span> <span style="color: #000088;">$deprecated</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #000088;">$number</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$number</span> <span style="color: #339933;">&gt;</span> <span style="color: #cc66cc;">1</span> <span style="color: #009900;">&#41;</span>
			<span style="color: #000088;">$output</span> <span style="color: #339933;">=</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'%'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$number</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#40;</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #339933;">===</span> <span style="color: #000088;">$more</span> <span style="color: #009900;">&#41;</span> ? __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'% trackbacks'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$more</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$number</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">0</span> <span style="color: #009900;">&#41;</span>
			<span style="color: #000088;">$output</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #339933;">===</span> <span style="color: #000088;">$zero</span> <span style="color: #009900;">&#41;</span> ? __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'No trackback'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$zero</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">else</span> <span style="color: #666666; font-style: italic;">// must be one</span>
			<span style="color: #000088;">$output</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #339933;">===</span> <span style="color: #000088;">$one</span> <span style="color: #009900;">&#41;</span> ? __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'1 trackback'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$one</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #b1b100;">echo</span> apply_filters<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'comments_number'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$output</span><span style="color: #339933;">,</span> <span style="color: #000088;">$number</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">/* This variable is for alternating comment background */</span>
	<span style="color: #000088;">$oddcomment</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'class=&quot;alt&quot; '</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
&lt;!-- You can start editing here. --&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$comments</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">&lt;?php</span>
	<span style="color: #000088;">$trackbacks_counter</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$comments_human_counter</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$comments</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$comment</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span>		
		<span style="color: #000088;">$type</span> <span style="color: #339933;">=</span> get_comment_type<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$type</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">'comment'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$trackbacks</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$comment</span><span style="color: #339933;">;</span>
			<span style="color: #000088;">$trackbacks_counter</span><span style="color: #339933;">++;</span>
		<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$comments_human</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$comment</span><span style="color: #339933;">;</span>
			<span style="color: #000088;">$comments_human_counter</span><span style="color: #339933;">++;</span>
		<span style="color: #009900;">&#125;</span>	
	<span style="color: #b1b100;">endforeach</span><span style="color: #339933;">;</span>
	<span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
&lt;h3 id=&quot;comments&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> comments_human_number<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Aucun commentaire'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'Un commentaire'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'% commentaires'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #000088;">$comments_human_counter</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span> pour &amp;#8220;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&amp;#8221;&lt;/h3&gt; 
	&lt;ol class=&quot;commentlist&quot;&gt;
		<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$comments_human</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$comment</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			&lt;li <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$oddcomment</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>id=&quot;comment-<span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt; 
				&lt;cite&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_author_link<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/cite&gt; dit :
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_approved</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'0'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
				&lt;em&gt;Votre commentaire est en attente de modération.&lt;/em&gt;
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
				&lt;br /&gt;
				&lt;small class=&quot;commentmetadata&quot;&gt;&lt;a href=&quot;#comment-<span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; title=&quot;&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_date<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'j F Y'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> à <span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_time<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/a&gt; <span style="color: #000000; font-weight: bold;">&lt;?php</span> edit_comment_link<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Editer'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'-- '</span><span style="color: #339933;">,</span><span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/small&gt;
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_text<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			&lt;/li&gt;
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #666666; font-style: italic;">/* Changes every other comment to a different class */</span> <span style="color: #000088;">$oddcomment</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$oddcomment</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> ? <span style="color: #0000ff;">'class=&quot;alt&quot; '</span> <span style="color: #339933;">:</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
		<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endforeach</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">/* end for each comment */</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	&lt;/ol&gt;
&nbsp;
	&lt;h3 id=&quot;trackbacks&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> comments_trackback_number<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Aucun trackback'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'Un trackback'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'% trackbacks'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #000088;">$trackbacks_counter</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/h3&gt; 
	&lt;ol class=&quot;trackbacklist&quot;&gt;
		<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$trackbacks</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$comment</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			&lt;li <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$oddcomment</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>id=&quot;comment-<span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_author_link<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/li&gt;
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #666666; font-style: italic;">/* Changes every other comment to a different class */</span> <span style="color: #000088;">$oddcomment</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$oddcomment</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> ? <span style="color: #0000ff;">'class=&quot;alt&quot; '</span> <span style="color: #339933;">:</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
		<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endforeach</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">/* end for each trackback */</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	&lt;/ol&gt;
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">else</span> <span style="color: #339933;">:</span> <span style="color: #666666; font-style: italic;">// this is displayed if there are no comments so far ?&gt;</span>
  <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'open'</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_status</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> 
		&lt;!-- If comments are open, but there are no comments. --&gt;
	 <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">else</span> <span style="color: #339933;">:</span> <span style="color: #666666; font-style: italic;">// comments are closed ?&gt;</span>
		<span style="color: #339933;">&lt;!--</span> <span style="color: #b1b100;">If</span> comments are closed<span style="color: #339933;">.</span> <span style="color: #339933;">--&gt;</span>
		<span style="color: #339933;">&lt;</span>p <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;nocomments&quot;</span><span style="color: #339933;">&gt;</span>Les commentaires sont fermés<span style="color: #339933;">.</span> <span style="color: #339933;">&lt;/</span>p<span style="color: #339933;">&gt;</span>
	  <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'open'</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_status</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;h3 id=&quot;respond&quot;&gt;Laisser un commentaire &lt;/h3&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'comment_registration'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #339933;">!</span><span style="color: #000088;">$user_ID</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;p&gt;Vous devez être  &lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'siteurl'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>/wp-login.php?redirect_to=<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #990000;">urlencode</span><span style="color: #009900;">&#40;</span>get_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;connecté&lt;/a&gt; pour publier un commentaire.&lt;/p&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">else</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;form action=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'siteurl'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>/wp-comments-post.php&quot; method=&quot;post&quot; id=&quot;commentform&quot;&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$user_ID</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;p&gt;Connecté en tant que &lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'siteurl'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>/wp-admin/profile.php&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$user_identity</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/a&gt;. &lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'siteurl'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>/wp-login.php?action=logout&quot; title=&quot;Se déconnecter du site.&quot;&gt;Se déconnecter  &amp;raquo;&lt;/a&gt;&lt;/p&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">else</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;p&gt;&lt;input type=&quot;text&quot; name=&quot;author&quot; id=&quot;author&quot; value=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$comment_author</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; size=&quot;22&quot; tabindex=&quot;1&quot; /&gt;
&lt;label for=&quot;author&quot;&gt;&lt;small&gt;Nom <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$req</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;(obligatoire)&quot;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/small&gt;&lt;/label&gt;
&lt;/p&gt;
&lt;p&gt;&lt;input type=&quot;text&quot; name=&quot;email&quot; id=&quot;email&quot; value=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$comment_author_email</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; size=&quot;22&quot; tabindex=&quot;2&quot; /&gt;
&lt;label for=&quot;email&quot;&gt;&lt;small&gt;Adresse e-mail (ne sera pas publié) <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$req</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;(obligatoire)&quot;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/small&gt;&lt;/label&gt;
&lt;/p&gt;
&lt;p&gt;&lt;input type=&quot;text&quot; name=&quot;url&quot; id=&quot;url&quot; value=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$comment_author_url</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; size=&quot;22&quot; tabindex=&quot;3&quot; /&gt;
&lt;label for=&quot;url&quot;&gt;&lt;small&gt;Site Web&lt;/small&gt;&lt;/label&gt;
&lt;/p&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;!--&lt;p&gt;&lt;small&gt;&lt;strong&gt;XHTML:&lt;/strong&gt; Vous pouvez utiliser ces tags: &lt;code&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> allowed_tags<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/code&gt;&lt;/small&gt;&lt;/p&gt;--&gt;
&lt;p&gt;&lt;textarea name=&quot;comment&quot; id=&quot;comment&quot; cols=&quot;100%&quot; rows=&quot;10&quot; tabindex=&quot;4&quot;&gt;&lt;/textarea&gt;&lt;/p&gt;
&lt;p&gt;&lt;input name=&quot;submit&quot; type=&quot;submit&quot; id=&quot;submit&quot; tabindex=&quot;5&quot; value=&quot;Dites-le !&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;comment_post_ID&quot; value=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$id</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; /&gt;
&lt;/p&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> do_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'comment_form'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/form&gt;
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// If registration required and not logged in ?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// if you delete this the sky will fall on your head ?&gt;</span></pre></td></tr></table></div>

<p>
Ensuite, puisque l'on peut embellir un peu les commentaires et créer des repères visuels importants, on peut utiliser des avatars. Concernant le module d'affichage de ces images, je voulais utiliser le <a title="Inscription et explications" href="http://www.gravatar.com/">système Gravatar</a>, implémenté automatiquement dans WordPress. Quelques plugins permettent aussi cette gestion mais il y a une fonction assez simple à mettre en place, surtout lorsqu'on gère un thème créé de ses propres mains.<br />
<br />
J'ai donc trouvé une première explication <a href="http://www.cours-de-maths-78.fr/blog/2008/12/gravatar-totalement-inutile-mais-amusant/" title="Prof particulier expliquant comment utiliser Gravatar">sur ce blog</a>, ce qui m'a conduit, merci à lui, sur cette magnifique explication de <a href="http://www.wordpress-fr.net/blog/wordpress/integrer-gravatar-sans-plugin">Benoit</a>. Toutefois, le code qu'il propose n'est pas tout à fait le bon et son billet n'a pas été mis à jour. Il faut parcourir les commentaires pour que l'appel de la fonciton fonctionne sans erreur de syntaxe. Cette erreur est due au fait que le script WordPress interprète mal le code. Voici donc le lien vers <a title="Code Gravatar à insérer dans le fichier comments.php" href="http://pastebin.ca/743979">le code qui fonctionne</a>.<br />
<br />
Le voici copier/coller à placer avant l'appel du contenu des commentaires :</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> 
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_author_email</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$md5</span> <span style="color: #339933;">=</span> <span style="color: #990000;">md5</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_author_email</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$default</span> <span style="color: #339933;">=</span> <span style="color: #990000;">urlencode</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'http://use.perl.org/images/pix.gif'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;img style='float: right; margin-left: 10px;' src='http://www.gravatar.com/avatar.php?gravatar_id=<span style="color: #006699; font-weight: bold;">$md5</span>&amp;amp;size=60&amp;amp;default=<span style="color: #006699; font-weight: bold;">$default</span>' alt='' /&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Celui-ci propose un style intégré, mais il est facile de l'enlever afin de gérer l'affichage grâce à la feuille de style. Pour la taille de l'avatar, on peut voir que le "<strong>size=</strong>" est ici à 60. libre à vous de le mettre à la taille que vous voulez.<br />
<br />
Il ne reste qu'à activer Gravatar dans les réglages de discussion du panneau d'administration.</p>
<p>Partager ça sur <a target="_blank" href="http://twitter.com/home?status=RT @NeoSting: Gestion des commentaires et Gravatar http://goo.gl/HhTyB">Twitter</a>.
<br />Article rédigé sur le blog de <a href="http://neosting.net/">NeoSting</a> à <a href="http://neosting.net/wordpress/gestion-des-commentaires-et-gravatar.html" title="Gestion des commentaires et Gravatar">cette adresse</a>.
<ul>
<li><a href="http://twitter.com/neosting" title="compte officiel de Cyrille NeoSting">Me suivre sur Twitter</a></li>
<li><a href="https://plus.google.com/111927034333604064488/" title="compte personnel de Cyrille NeoSting">Me suivre sur Google Plus</a></li>
<li><a href="https://plus.google.com/111366965126067392670/" title="Page sur Google Plus dédiée au blog">Suivre la Page+ de NeoSting.net</a></li>
<li><a href="http://www.facebook.com/pages/NeoStingnet/134289813295614/" title="Page sur facebook dédiée au blog">Suivre la page du blog sur facebook</a></li>
</ul></p><img src="http://neosting.net/?ak_action=api_record_view&id=618&type=feed" alt="" /><p>Articles en relation : <ol>
<li><a href='http://neosting.net/wordpress/afficher-gravatar-ou-wavatar-dans-les-commentaires.html' rel='bookmark' title='Afficher Gravatar ou Wavatar dans les commentaires'>Afficher Gravatar ou Wavatar dans les commentaires</a></li>
<li><a href='http://neosting.net/wordpress/afficher-autrement-certains-commentaires-et-trackbacks.html' rel='bookmark' title='Plugins pour commentaires et trackbacks'>Plugins pour commentaires et trackbacks</a></li>
<li><a href='http://neosting.net/wordpress/numeroter-vos-commentaires-dans-wordpress.html' rel='bookmark' title='Numéroter vos commentaires dans WordPress'>Numéroter vos commentaires dans WordPress</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://neosting.net/wordpress/gestion-des-commentaires-et-gravatar.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 2/70 queries in 0.061 seconds using memcached
Object Caching 1529/1626 objects using memcached

Served from: neosting.net @ 2012-02-09 06:39:44 -->
