I want to totally disable this functionality from WordPress because I'm implementing my own version of this with Javascript.
When I try to grab all the content in a post via the get_the_content()
or the_content()
it gives me only the first page, since the content has the page breaks. When I use $post->the_content
I get the full post but it's not formatted with HTML tags. I don't want to have to add those myself programatically.
So I either need to get all the content already formatted - the way to do this is unknown to me at the momentor disable wp_page_links()
so it doesn't paginate my posts.