I'm working on a blog site that uses a base index file as a "driver", with embedded templates for all the important data. The embedded templates both have {exp:channel:entry} tags that display a certain # of blog entries. Each template is formatted differently per the certain # of blog entries being shown, as I wanted the last four entries to look different than the first four.
The issue I'm having with pagination is that in the index files {exp:channel:entry} tag, I've set the limit to 1, and now it's giving me 10 pages worth of results (which is the total # of entries I have), but what I really want is just normal pagination that shows eight entries per page, formatted as I normally do.
Here's the relevant code:
<? //Formats article page w/ embedded EE variables. ?>
{embed="home/header" page-title="Lean Articles"}
{embed="resources/subhead"}
<? //Container for multiple blog articles, 700px wide defined by Grid system. ?>
{embed="a_update/article-nav"}
{if segment_2 == "" || segment_2 == "category" || segment_2 == "P1"}
<span class="rightcol-700">
<?//Embed main and side content for Homepage section of site.?>
{exp:channel:entries channel="aupdate" limit="1" paginate="bottom" orderby="desc" dynamic="off"}
{embed="a_update/.hidden_main_content"}
{embed="a_update/.hidden_side_content"}
{paginate}
<p id="pagination">Page {current_page} of {total_pages} pages {pagination_links}</p>
{/paginate}
{/exp:channel:entries}
</span>
</div>