Hello,
with the code below I ask an entry that needs to be placed in the picture.
But I need the category url title.
I would expect a single variable in EE to get the category url, but that’s not the case, right?
Do I need a custom query to get the category_url_title linked to the entry, or is there another way?
Thanks
Regards,
Vic
I have the following:
{exp:channel:entries channel="open_channel_{segment_1}" limit="1" dynamic="no" search:open_inthepicture="yes" }
{if title}
<div>
<h4>In the picture</h4>
<p> <strong>{title}</strong> <br />
<a href="/{segment_1}/{segment_2}/{cat_url_title}/{url_title}">more info</a> <br />
</div> <br />
{/if}<br />
{/exp:channel:entries}