Can you use pagination inside embedded templates? I’m getting {paginate} {/paginate} printed to the page when I use this set-up:
{exp:query sql="SELECT cat_id, cat_name FROM exp_categories WHERE cat_url_title = '{segment_3}'"}
{embed="includes/content" section="{segment_1}" catID="{cat_id}"}
{/exp:query}
The embed
{exp:weblog:entries weblog="{embed:section}" category="{embed:catID}" limit="20" disable="member_data|pagination|trackbacks" dynamic="off" paginate="bottom"}
{if no_results}<p>There are currently no items in this category.</p>{/if}
<div class="post">
<h2><a href="{path={segment_1}/item/{url_title}}">{title}</a></h2>
{summary}
</div>
{paginate}
{if "{total_pages}" != 1}<p class="paginate">Page {current_page} of {total_pages} pages {pagination_links}</p>{/if}
{/paginate}
{/exp:weblog:entries}
