I am using the following code for pagination (within the Solspace “tag” module):
{tag_paginate}
{tag_pagination_links}
<ul class="pages">
{first_page}
<li><a href="http://{pagination_url}" class="page-first"> First </a></li>
{/first_page}
{previous_page}
<li><a href="http://{pagination_url}" class="page-previous"> Previous </a></li>
{/previous_page}
{page}
<li><a href="http://{pagination_url}" class="page-{pagination_page_number} {if current_page}active{/if}">{pagination_page_number}</a></li>
{/page}
{next_page}
<li><a href="http://{pagination_url}" class="page-next"> Next </a></li>
{/next_page}
{last_page}
<li><a href="http://{pagination_url}" class="page-last"> Last </a></li>
{/last_page}
</ul>
{/tag_pagination_links}
{/tag_paginate}Everything is displaying properly except that the current page number is not rendered in bold type with the tag. This makes it very difficult for the user to know what page he or she is on. Where and how do I fix this. I’ve tried:
<strong>{pagination_page_number}</strong>
as shown in the EE docs, but it had no effect.
Please advise.
Thanks,
MikeCJ
EE 2.5