Hi There,
I haven’t used EE for a year so am super rusty.
I’m pulling news items into the home page from a particular category. The news items are displaying but the {page_url} isn’t being applied to the headline and button - so the news items are just linking back to the home page.
The site has been live for over a year using the following code:
<ul class="listing inner">
{exp:channel:entries channel="news_items" dynamic="no" limit="2" category="15" orderby="date" sort="desc" disable="comments|member_data" status="not Not on MAIN"}
<!-- news item -->
<li class="group">
<div class="c12 title">
<h3><a href="http://{page_url}">{title}</a></h3>
<p>{entry_date format="%l %F %j %Y"}<br />
</div></p>
<p><div class="c8"><br />
<a href="http://{page_url}" class="button sml">Read full story</a><br />
</div><br />
</li><!-- end news item --></p>
<p>{/exp:channel:entries}</p>
<p></ul><!-- end news listing -->I know I’ve faced this issue before but for the life of me can’t remember what is wrong - no templates have changed.
Any help would be much appreciated.
Cheers
ben