Trying to display different link for one entry (thing1
) inside channel entries loop.
{exp:channel:entries channel=“things”}
<h2>{title}</h2>
<p>{description}</p>
{if url_title == ’thing1’}
<a href=“somecustomlink.html”>Read more</a>
{if:else}
<a href=“{path=’things’}/{url_title}”>Read more</a>
{/if}
{/exp:channel:entries}
Problem is, that EE uses to compare {url_title}
with current template, not with “things” channel entrie's.
How to write this conditional?
exp:channel:entries
variable pair nested inside another one?