The Stack Overflow podcast is back! Listen to an interview with our new CEO.
2 Adjusted the title, improved formatting and removed "Thanks"
source | link

How do Ito disable wp_page_links all togethercontent pagination?

I want to totally disable this functionality from wordpressWordPress because I'm implementing my own version of this with javascriptJavascript.

When I try to grab all the content in a post via the get_the_content()get_the_content() or the_content()the_content() it gives me only the first page, since the content has the page breaks. When I use $post->the_content$post->the_content I get the full post but it's not formatted with htmlHTML 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 moment or disable wp_page_links disable wp_page_links() so it doesn't paginate my posts.

Thanks!

How do I disable wp_page_links all together?

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 moment or disable wp_page_links so it doesn't paginate my posts.

Thanks!

How to disable content pagination?

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 moment or disable wp_page_links() so it doesn't paginate my posts.

1
source | link

How do I disable wp_page_links all together?

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 moment or disable wp_page_links so it doesn't paginate my posts.

Thanks!