Did you know, that WordPress allows a single post to be split into different web pages. It is a great feature for those who doesn’t want to display a long article in one page. To be able to split an article into different pages you need to do is to type
<!--nextpage-->
into the HTML editor where you want your page split to appear. You can use it in a long post to make it two, three or five pages. Navigation between pages will appear as below
Pages 1, 2









I have seen the pagination of post in many blogs and I have also tried to have that in my blog too, but have never had any luck. Now I will implement the suggestion. Thanks a lot.
The code works great! Lovely post!