<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Topic: Trackbacks not displaying :'(</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: Trackbacks not displaying :'(</description>
<language>en</language>
<pubDate>Tue, 24 Nov 2009 08:08:19 +0000</pubDate>

<item>
<title>kReEsTaL on "Trackbacks not displaying :'("</title>
<link>http://wordpress.org/support/topic/237926#post-983092</link>
<pubDate>Wed, 11 Feb 2009 21:44:29 +0000</pubDate>
<dc:creator>kReEsTaL</dc:creator>
<guid isPermaLink="false">983092@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Ok, I finally got it right by deactivating the plugin &#34;Separate pings and comments&#34;. Anyway my theme already seperates them, so it was useless!
&#60;/p&#62;</description>
</item>
<item>
<title>kReEsTaL on "Trackbacks not displaying :'("</title>
<link>http://wordpress.org/support/topic/237926#post-967694</link>
<pubDate>Tue, 27 Jan 2009 09:36:25 +0000</pubDate>
<dc:creator>kReEsTaL</dc:creator>
<guid isPermaLink="false">967694@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Good morning,&#60;/p&#62;
&#60;p&#62;I'm running WP 2.7 with the Sandbox them [which I highly customized] for my webzine.&#60;/p&#62;
&#60;p&#62;For the Comments template (comments.php), I deleted Sandbox original one and used my blog's instead [my blog is using Big Blue theme].&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;The problem is, if a single post actually has trackbacks, they do not display among the comments:&#60;/strong&#62; worse, the number of comments does not count the trackbacks in the comments template. The strange thing is that: &#60;/p&#62;
&#60;p&#62;1/ I'm absolutely sure there is one trackback: I got notified by email and I can see it in the admin;&#60;/p&#62;
&#60;p&#62;2/ the comments_count() function does tell there is N comments + 1 trackback!&#60;/p&#62;
&#60;p&#62;Cf. this post, which did get a trackback yesterday night:&#60;br /&#62;
&#60;a href=&#34;http://www.lalunemauve.fr/musique/news-musicales/sorties-cd-dvd/premier-album-de-spleen-arcana-the-field-where-she-died/&#34; rel=&#34;nofollow&#34;&#62;http://www.lalunemauve.fr/musique/news-musicales/sorties-cd-dvd/premier-album-de-spleen-arcana-the-field-where-she-died/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thus the problem must be in my comments template [which I replaced many times with different templates, with no success]. Here's the one I'm using:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php // Do not delete these lines
	if (&#38;#39;comments.php&#38;#39; == basename($_SERVER[&#38;#39;SCRIPT_FILENAME&#38;#39;]))
		die (&#38;#39;Ne chargez pas cette page directement SVP. Merci!&#38;#39;);

        if (!empty($post-&#38;gt;post_password)) { // if there&#38;#39;s a password
            if ($_COOKIE[&#38;#39;wp-postpass_&#38;#39; . COOKIEHASH] != $post-&#38;gt;post_password) {  // and it doesn&#38;#39;t match the cookie
				?&#38;gt;

				&#38;lt;p class=&#38;quot;nocomments&#38;quot;&#38;gt;Ce billet est protégé par mot de passe. Saisissez le mot de passe pour voir les commentaires.

				&#38;lt;?php
				return;
            }
        }

		/* This variable is for alternating comment background */
		$oddcomment = &#38;#39;odd&#38;#39;;
?&#38;gt;

&#38;lt;!-- You can start editing here. --&#38;gt;

&#38;lt;div class=&#38;quot;boxcomments&#38;quot; id=&#38;quot;bottom&#38;quot;&#38;gt;

&#38;lt;?php if ($comments) : ?&#38;gt;

&#38;lt;?php 

	/* Count the totals */
	$numPingBacks = 0;
	$numComments  = 0;

	/* Loop through comments to count these totals */
	foreach ($comments as $comment) {
		if (get_comment_type() != &#38;quot;comment&#38;quot;) { $numPingBacks++; }
		else { $numComments++; }
	}

?&#38;gt;

&#38;lt;?php 

	/* This is a loop for printing comments */
	if ($numComments != 0) : ?&#38;gt;

&#38;lt;div id=&#38;quot;comments-title&#38;quot;&#38;gt;
	&#38;lt;h4 id=&#38;quot;comments&#38;quot;&#38;gt;&#38;lt;?php comments_number(&#38;#39;Pas encore de commentaire&#38;#39;, &#38;#39;1 commentaire&#38;#39;, &#38;#39;% commentaires&#38;#39; );?&#38;gt; &#38;lt;span class=&#38;quot;addacomment&#38;quot;&#38;gt;(&#38;lt;a href=&#38;quot;#respond&#38;quot;&#38;gt;ajoutez le vôtre&#38;lt;/a&#38;gt;)&#38;lt;/span&#38;gt;&#38;lt;/h4&#38;gt;
	&#38;lt;span class=&#38;quot;rss-comments&#38;quot;&#38;gt;&#38;lt;?php comments_rss_link(__(&#38;#39;Flux &#38;lt;abbr title=&#38;quot;Really Simple Syndication&#38;quot;&#38;gt;RSS&#38;lt;/abbr&#38;gt; des commentaires&#38;#39;)); ?&#38;gt;&#38;lt;/span&#38;gt;
&#38;lt;/div&#38;gt;

	&#38;lt;ol class=&#38;quot;commentlist&#38;quot;&#38;gt;
	&#38;lt;?php foreach ($comments as $comment) : ?&#38;gt;
	&#38;lt;?php if (get_comment_type()==&#38;quot;comment&#38;quot;) : ?&#38;gt;

&#38;lt;li class=&#38;quot;clearboth&#38;quot; id=&#38;quot;comment-&#38;lt;?php comment_ID() ?&#38;gt;&#38;quot;&#38;gt;

		&#38;lt;div class=&#38;quot;readerinfo &#38;lt;?php if ( $comment-&#38;gt;comment_author_email == get_the_author_email() ) echo &#38;#39;myinfo&#38;#39;; else echo $oddcomment; ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php if(function_exists(&#38;#39;get_avatar&#38;#39;)){ echo get_avatar($comment, 63, &#38;#39;http://kreestal.free.fr/lalunemauve/gravatar-defaut_63.gif&#38;#39;);} ?&#38;gt;
&#38;lt;?php comment_author_link() ?&#38;gt;&#38;lt;span class=&#38;quot;postmetadata&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;#comment-&#38;lt;?php comment_ID() ?&#38;gt;&#38;quot; title=&#38;quot;&#38;quot;&#38;gt;&#38;lt;?php comment_date(&#38;#39;j.m.y&#38;#39;) ?&#38;gt; #&#38;lt;/a&#38;gt; &#38;lt;?php edit_comment_link(&#38;#39;Edit&#38;#39;,&#38;#39; &#38;amp;middot; &#38;#39;,&#38;#39;&#38;#39;); ?&#38;gt;&#38;lt;/span&#38;gt;
&#38;lt;/div&#38;gt;

		&#38;lt;div class=&#38;quot;readercomment &#38;lt;?php if ( $comment-&#38;gt;comment_author_email == get_the_author_email() ) echo &#38;#39;mycomment&#38;#39;; else echo $oddcomment; ?&#38;gt;&#38;quot;&#38;gt;
		&#38;lt;?php if ($comment-&#38;gt;comment_approved == &#38;#39;0&#38;#39;) : ?&#38;gt;
		&#38;lt;em&#38;gt;Merci! Votre commentaire est en attente de modération.&#38;lt;/em&#38;gt;
		&#38;lt;?php endif; ?&#38;gt;
		&#38;lt;?php comment_text() ?&#38;gt;&#38;lt;/div&#38;gt;

	&#38;lt;?php /* Changes every other comment to a different class */
	if (&#38;#39;alt&#38;#39; == $oddcomment) $oddcomment = &#38;#39;&#38;#39;;
	else $oddcomment = &#38;#39;odd&#38;#39;;
	?&#38;gt;
&#38;lt;/li&#38;gt;

	&#38;lt;?php endif; endforeach; ?&#38;gt;

	&#38;lt;/ol&#38;gt;

	&#38;lt;?php endif; ?&#38;gt;

&#38;lt;?php

	/* This is a loop for printing trackbacks if there are any */
	if ($numPingBacks != 0) : ?&#38;gt;

	&#38;lt;ol class=&#38;quot;tblist&#38;quot;&#38;gt;

	&#38;lt;li&#38;gt;&#38;lt;h2 id=&#38;quot;trackbacks&#38;quot;&#38;gt;&#38;lt;?php _e($numPingBacks); ?&#38;gt; Trackback(s)&#38;lt;/h2&#38;gt;&#38;lt;/li&#38;gt;

&#38;lt;?php foreach ($comments as $comment) : ?&#38;gt;
&#38;lt;?php if (get_comment_type()!=&#38;quot;comment&#38;quot;) : ?&#38;gt;

	&#38;lt;li id=&#38;quot;comment-&#38;lt;?php comment_ID() ?&#38;gt;&#38;quot;&#38;gt;
		&#38;lt;?php comment_date(&#38;#39;j.m.y&#38;#39;) ?&#38;gt;: &#38;lt;?php comment_author_link() ?&#38;gt;
		&#38;lt;?php if ($comment-&#38;gt;comment_approved == &#38;#39;0&#38;#39;) : ?&#38;gt;
		&#38;lt;em&#38;gt;Merci! Votre commentaire est en attente de modération.&#38;lt;/em&#38;gt;
		&#38;lt;?php endif; ?&#38;gt;
	&#38;lt;/li&#38;gt;

	&#38;lt;?php if(&#38;#39;odd&#38;#39;==$thiscomment) { $thiscomment = &#38;#39;even&#38;#39;; } else { $thiscomment = &#38;#39;odd&#38;#39;; } ?&#38;gt;

&#38;lt;?php endif; endforeach; ?&#38;gt;

	&#38;lt;/ol&#38;gt;

&#38;lt;?php endif; ?&#38;gt;

&#38;lt;?php else : 

	/* No comments at all means a simple message instead */
?&#38;gt;

&#38;lt;?php endif; ?&#38;gt;

&#38;lt;?php if (comments_open()) : ?&#38;gt;

	&#38;lt;?php if (get_option(&#38;#39;comment_registration&#38;#39;) &#38;#38;&#38;#38; !$user_ID ) : ?&#38;gt;
		&#38;lt;p id=&#38;quot;respond&#38;quot; class=&#38;quot;comments-blocked&#38;quot;&#38;gt;Vous devez être &#38;lt;a href=&#38;quot;&#38;lt;?php echo get_option(&#38;#39;siteurl&#38;#39;); ?&#38;gt;/wp-login.php?redirect_to=&#38;lt;?php the_permalink(); ?&#38;gt;&#38;quot;&#38;gt;identifié(e)&#38;lt;/a&#38;gt; pour poster un commentaire.

	&#38;lt;?php else : ?&#38;gt;

	&#38;lt;form action=&#38;quot;&#38;lt;?php echo get_option(&#38;#39;siteurl&#38;#39;); ?&#38;gt;/wp-comments-post.php&#38;quot; method=&#38;quot;post&#38;quot; id=&#38;quot;commentform&#38;quot;&#38;gt;

&#38;lt;div id=&#38;quot;comments-respond&#38;quot;&#38;gt;&#38;lt;h4 id=&#38;quot;respond&#38;quot;&#38;gt;Ajouter un commentaire&#38;lt;/h4&#38;gt;&#38;lt;/div&#38;gt;

	&#38;lt;?php if ($user_ID) : ?&#38;gt;

	&#38;lt;p class=&#38;quot;loggedin&#38;quot;&#38;gt;Vous êtes identifié(e) en tant que &#38;lt;a href=&#38;quot;&#38;lt;?php echo get_option(&#38;#39;siteurl&#38;#39;); ?&#38;gt;/wp-admin/profile.php&#38;quot;&#38;gt;&#38;lt;?php echo $user_identity; ?&#38;gt;&#38;lt;/a&#38;gt;. &#38;lt;span class=&#38;quot;logout&#38;quot;&#38;gt;(&#38;lt;a href=&#38;#39;&#38;lt;?php echo wp_logout_url(); ?&#38;gt;&#38;#39;&#38;gt;Se déconnecter?&#38;lt;/a&#38;gt;)&#38;lt;/span&#38;gt;

&#38;lt;?php else : ?&#38;gt;	

		&#38;lt;label for=&#38;quot;author&#38;quot;&#38;gt;Nom &#38;lt;span&#38;gt;ou&#38;lt;/span&#38;gt; Pseudo&#38;lt;?php if ($req) _e(&#38;#39; &#38;lt;span class=&#38;quot;obligatoire&#38;quot;&#38;gt;*&#38;lt;/span&#38;gt;&#38;#39;); ?&#38;gt; :&#38;lt;/label&#38;gt;
		&#38;lt;input type=&#38;quot;text&#38;quot; name=&#38;quot;author&#38;quot; id=&#38;quot;author&#38;quot; value=&#38;quot;&#38;lt;?php echo $comment_author; ?&#38;gt;&#38;quot; size=&#38;quot;22&#38;quot; tabindex=&#38;quot;1&#38;quot; /&#38;gt;

		&#38;lt;label for=&#38;quot;email&#38;quot;&#38;gt;Email&#38;lt;?php if ($req) _e(&#38;#39; &#38;lt;span class=&#38;quot;obligatoire&#38;quot;&#38;gt;*&#38;lt;/span&#38;gt;&#38;#39;); ?&#38;gt; &#38;lt;span class=&#38;quot;notpublished&#38;quot;&#38;gt;(ne sera pas publié)&#38;lt;/span&#38;gt; :&#38;lt;/label&#38;gt;
		&#38;lt;input type=&#38;quot;text&#38;quot; name=&#38;quot;email&#38;quot; id=&#38;quot;email&#38;quot; value=&#38;quot;&#38;lt;?php echo $comment_author_email; ?&#38;gt;&#38;quot; tabindex=&#38;quot;2&#38;quot; size=&#38;quot;22&#38;quot; /&#38;gt;

		&#38;lt;label for=&#38;quot;url&#38;quot;&#38;gt;URL de votre site web :&#38;lt;/label&#38;gt;
		&#38;lt;input type=&#38;quot;text&#38;quot; name=&#38;quot;url&#38;quot; id=&#38;quot;url&#38;quot; value=&#38;quot;&#38;lt;?php echo $comment_author_url; ?&#38;gt;&#38;quot; size=&#38;quot;22&#38;quot; tabindex=&#38;quot;3&#38;quot; /&#38;gt;

	&#38;lt;?php endif; ?&#38;gt;

		&#38;lt;label for=&#38;quot;comment&#38;quot;&#38;gt;Votre commentaire&#38;lt;?php if ($req) _e(&#38;#39; &#38;lt;span class=&#38;quot;obligatoire&#38;quot;&#38;gt;*&#38;lt;/span&#38;gt;&#38;#39;); ?&#38;gt; :&#38;lt;/label&#38;gt;
&#38;lt;textarea name=&#38;quot;comment&#38;quot; id=&#38;quot;comment&#38;quot; cols=&#38;quot;5&#38;quot; rows=&#38;quot;10&#38;quot; tabindex=&#38;quot;4&#38;quot;&#38;gt;&#38;lt;/textarea&#38;gt;

		&#38;lt;p class=&#38;quot;form-option&#38;quot;&#38;gt;&#38;lt;?php do_action(&#38;#39;comment_form&#38;#39;, $post-&#38;gt;ID); ?&#38;gt;

		&#38;lt;p class=&#38;quot;form-submit&#38;quot;&#38;gt;&#38;lt;input name=&#38;quot;submit&#38;quot; type=&#38;quot;submit&#38;quot; id=&#38;quot;submit&#38;quot; tabindex=&#38;quot;5&#38;quot; value=&#38;quot;Publier le commentaire&#38;quot; /&#38;gt;
		&#38;lt;input type=&#38;quot;hidden&#38;quot; name=&#38;quot;comment_post_ID&#38;quot; value=&#38;quot;&#38;lt;?php echo $id; ?&#38;gt;&#38;quot; /&#38;gt;

	&#38;lt;/form&#38;gt;

&#38;lt;?php endif; // If registration required and not logged in ?&#38;gt;

&#38;lt;?php else : // Comments are closed ?&#38;gt;
	&#38;lt;p id=&#38;quot;comments-closed&#38;quot; class=&#38;quot;loggedin&#38;quot;&#38;gt;Désolé, les commentaires sont fermés pour ce billet.

&#38;lt;?php endif; ?&#38;gt;&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Can anybody help me, please? (And yes, the &#34;show trackbacks&#34; options are all on.)&#60;/p&#62;
&#60;p&#62;Thanks a lot in advance!&#60;/p&#62;
&#60;p&#62;kReEsTaL
&#60;/p&#62;</description>
</item>

</channel>
</rss>
