Hey guys,
I was wondering is there a public guide or code that somebody did before that would show how to shorten my pagination? I am using the pagination that tutorials recommend however I have 30 pages of news and it lists 1-30, it doesn't look good. I'm looking a way to make it so that it shows 1 2 3 ...18 19 [20] 21 22 ... 30
And if I were to click on 22 then it would show 1 2 3 ... 20 21 [22] 23 24 ... 30. This is fairly coming in websites, just wondering if there is another version to pagination that is shown in tutorials. I've been researching but could not find anything.