Auto nav, get the last item (or, get the count minus the excluded items)
Permalink
Is there a simple way to get the count of the items in the auto nav, minus the excluded items in the auto-nav template?
If I try:
$numItems actually gives me the count of all the items (including the items excluded from the nav.
If I try:
$numItems = count($aBlocks);
$numItems actually gives me the count of all the items (including the items excluded from the nav.