I love the extended comments functionality introduced in 2.7, even if it took me till 2.8.4 before I realized they were in there and made use of them....
But now that we have the option to split comments and trackbacks up when displaying in our comments section, there is a small problem: there's no conditional tag to say "if there's trackbacks" or "if there's pings" so we can keep the trackbacks list silent until there's actually a trackback. The problem is that, with the new formulation, we end up with a non-XHTML-compliant ol
or ul
with no li
in the middle:
<h2 id="pings">Pingbacks and Trackbacks</h2>
<ul id="pinglist">
<?php wp_list_comments('type=ping&style=ul'); ?>
</ul>