there may or may not already be a plug-in like this but i figured i would post it if someone found it useful.
I wanted more control over the Pagination links and class names of links or putting JavaScript Functions in my links etc.
{exp:weblog:entries weblog="site" limit="4"}
{title}
{paginate}
{exp:clean_paginate:paging weblog="site" anchor="#paginate" page="{current_page}" pages="{total_pages}" perpage="4" max_links="2"}
first_page_link = {first_page_link}
prev_page_link = {prev_page_link}
clean_pagination_links = {clean_pagination_links}
next_page_link = {next_page_link}
last_page_link = {last_page_link}
first_page_url = {first_page_url}
prev_page_url = {prev_page_url}
total_items = {total_items}
current_page = {current_page}
total_pages = {total_pages}
next_page_url = {next_page_url}
last_page_url = {last_page_url}
{/exp:clean_paginate:paging}
{/paginate}
{/exp:weblog:entries}
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.