I have a simple window on my front page that will display featured items, when I designate this from my status in my entry. Simple enough.
The tricky bit is I need to make sure the category changes in the url/link to the details of this, because the entries can be from 1 of 4 different categories.
The link is:
And it doesn’t give me what I want. Here is the full code that places the category url name above my link, useless to me if I cant generate a dynamic link…
{if '{segment_3}’ == ‘’}
{exp:weblog:entries weblog="folio" limit="1" orderby="date" sort="desc" status="featured"}
<div id=“main_image”>
{categories}
{category_url_title}
{/categories}
{path="SITE_INDEX/"}
{news_image}
</div>
<div id=“heading_bar”>
feature: {title}
</div>
{/exp:weblog:entries}
{/if}
I am noob at this so far, so any and all advice/help would be greatly appreciated.