Skip to content

Instantly share code, notes, and snippets.

@jeremyworboys
Created October 25, 2012 13:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremyworboys/3952526 to your computer and use it in GitHub Desktop.
Save jeremyworboys/3952526 to your computer and use it in GitHub Desktop.
View all in EE template
{exp:channel:entries channel="CHANNEL_NAME" {if last_segment != "all"}limit="9"{/if} paginate="bottom"}
CHANNEL DATA
{paginate}
{pagination_links}
<a href="{path='{segment_1}/{segment_2}/{segment_3}/all'}">View All</a>
{/paginate}
{/exp:channel:entries}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment