wordpress uses <!--next page-->
as a hint to paginate the content of a post only when it is in a content of a post. Your code produce direct HTML code in which <!--next page-->
is just an html comment.
wordpress uses <!--next page-->
as a hint to paginate the content of a post only when it is in a content of a post. Your code produce direct HTML code in which <!--next page-->
is just an html comment.