I'm using a simple grid conditional to show academic references in a post. I only want to show it if someone has entered some references, but the conditional just isn't working. What am I doing wrong?
My code is:
{if references:total_rows > 0}
<h5>Further Reading</h5>
<ul>{references}
<li>{references:names}, {references:pub-year}, {references:title-work}, {references:publisher}, {references:country} </li>
{/references}</ul>
{/if}
I've also tried using " and brackets to surround the if condition but that doesn't work either.