I can’t seem to get {if trackbacks} to work properly on version 1.4.0.
If I don’t use {if trackbacks} the tracks on a particular entry DO show. However, if I wrap the conditional around the trackback code, those tracks do NOT show, even though we know they are there. I’ve tried wrapping it in a few different places, most recently like this:
{exp:trackback:entries}
{if trackbacks}
{exp:no_follow}<a href="{trackback_url}">{title}</a>{/exp:no_follow}<br />
{exp:no_follow}
<p>
{content}
</p>
{/exp:no_follow}
Tracked on: {exp:no_follow}<a href="{trackback_url}">{weblog_name}</a>{/exp:no_follow}<br />{trackback_date format="%F %d, %Y at %g:%i %A"}
{/if}
{/exp:trackback:entries}
I also tried putting it BEFORE the exp:trackback:entries as well as doing the ending /if AFTER the closing /exp:trackback:entries.
Again, I know for sure those tracks are there. If I take out the if, they show up. So why do I want the if? Client doesn’t want a header of “trackbacks” to show if there aren’t any. (The code above doesnt’ show this header). If I wrap it around the header, like this:
{if trackbacks}
<div class="commentsheader">Trackbacks:</div>
{/if}
the trackbacks show, but the header doesn’t. *scratch* Am I missing something here?
