I'm looking for a way to create a pagination which will look like this:
« - 1 - 2 - ... - 13 (active) - 14 - 15 - ... - 25 - 26 - »
A first link, then the first 2 pages, then skipping to the current page and showing the next 2 pages, then skipping again, then showing the last 2 pages and a last link.
I hope it is clear what I'm trying to do
Any help is greatly appreciated