This is the code I use to create pagination page. I want to limit pagination to max 4 pages. I'm trying to limit the page number shown,and look for many examples .. Can get a little hints? Thank you.
($i=1;$i<=1;$i++)
Make changes in loop give it limit 1 to 4
($i=1;$i<=4;$i++)