add paginator in single post page