Display only the current page number and another numbered page in pagination

Display only the current page number and another numbered page in pagination

tech