I can't figure this out, and am now wondering if it is an ATA 3.5.3 issue: In comments.php I've added in the separate trackbacks/comments section the following code: (see
my related post)
Code:
if ( ! empty($comments_by_type['pings']) ) : //only placed in if there are indeed pingbacks
echo "inside";
echo "<BR><h3 id='comments'>Pingbacks:</h3>";
echo "<div id='pings'>";
wp_list_comments('type=pings&callback=list_pings');
echo "</div>";
endif;
//end add-in
This is apparently the standard way to go about this with others, but it my if statement is being completely ignored here. That is, it never gets inside, even on pages with pingbacks. (Note, the code inside the if statement works as expected if I get rid of the if statement.) So, something is wrong with the if statement, and I don't think it is the code or logic itself. Rather, I wonder if ATA 3.5.3 does not have the function
Code:
! empty($comments_by_type['pings'])
Does anyone have insights on this?
Thanks,
Derek
http://www.1775thebook.com