En fouillant dans différents thèmes, j’ai trouvé ça:
single_comments.php
get_results(‘SELECT * FROM ‘.$wpdb->comments.’ WHERE comment_post_ID = ».$post->ID. » AND comment_approved = ‘1’ ORDER BY comment_date’);
if ($comments) :
?>
<ol class="commentlist">
<li class=" » id= »comment-« >
<b></b> dit :
comment_approved == ‘0’) : ?>
<em>Votre commentaire est en attente de modération.</em>
<br />
<small class="commentmetadata"><a href="#comment- » title= » »> à </a> </small>
<br /><br />
</li>
</ol>
<!-- end of inline comments //-->
que j’appelle par
?php if ($post->comment_count > 0 ) { ?>
(<a class="thickbox" title="Commentaire" href="/single_comments.php?p=KeepThis=true&TB_iframe=true&height=600&width=400″></a>)
Ca marche bien, sauf que je n’arrive pas à avoir ma feuille CSS du thème dans la thickbox.