Hi all, I’ve make a basic entries loop where each entry adds a list item to a <ul> with a limit of 4. I also want to add a link to a page that displays all of the entries with a link that says “there are a total of X entries click here” (or if possible) “there are X more entries click here”
I can get the link in there but it repeats as its part of the loop PLUS I don’t want it as part of the list I want it outside.
This is what I have…
<ul class="diarydates">
{exp:weblog:entries weblog="diary" disable="member_data|pagination|trackbacks" category="9" show_future_entries="yes" orderby="date" sort="asc"}
<li class="{switch="leftdl|rightdl"}"><h3>{diary-heading}</h3>
<p>When is it? - <strong>{entry_date format="%d%S %F %Y"}</strong></p>
<div class="explanation">{diary-summary}</div>
</li>
<p>There are a total of {total_results} Diary Dates, <a href="{title_permalink="/parents/diary/"}>Click here to see them all</a></p>
{/exp:weblog:entries}
</ul>
Hope someone can help
