I have a channel entries loop that I need to paginate but am having an issue with the location of the pagination code.
The channel entries loop surrounds a table structure but is inside the main table tags as to not repeat them.
The pagination code needs to be outside of the main table tags.
How can I achieve this?