Hi,
So i’m trying to display a featured entry and then beneath that I want to display all other entries with pagination.
My ‘featured entry’ displays fine, but I can’t seem to get the other entries with pagination to display at all.
Here is my code;
<h3>Featured Case Study</h3>
<p>{exp:channel:entries channel="case_studies" status="featured" limit="1" dynamic="off"}</p>
<p> {title}</p>
<p>{/exp:channel:entries}</p>
<h3>All Case Studies</h3>
<p>{exp:channel:entries channel="case_studies" status="open" limit="9" paginate="both"}<br />
{paginate}<br />
{pagination_links}<br />
<div class="pagination"><br />
<ul><br />
{previous_page}<br />
<li><a href="http://{pagination_url}" class="first page-previous">Previous page</a></li><li>//</li><br />
{/previous_page}<br />
<br />
{page}<br />
<li><a href="http://{pagination_url}" class="page-{pagination_page_number} {if current_page}active{/if}">Page {pagination_page_number}</a></li><li>//</li><br />
{/page}<br />
<br />
{next_page}<br />
<li><a href="http://{pagination_url}" class="last page-next">Next page</a></li><br />
{/next_page}<br />
</ul><br />
</div><br />
{/pagination_links}<br />
{/paginate}</p>
<p> {title}</p>
<p>{/exp:channel:entries}Any help with this would be much appreciated. I obviously need the ‘All Case Studies’ to be dynamic for the pagination to work when the entries do finally display.
The Case Studies page is a Structure managed page at the URI /about-us/case-studies/, which has the about-us/case-studies template assigned to it. This contains the code above.