index.php, while there exist a problem in pagination. In all page it show the same content of first page.
How to solve this problem?
In order to remove the duplicate posts, I used the below process in one of the theme I worked on.
post__not_into remove the already shown posts.
Or, you can also check if current post id is in array of global variable and skip that post.