Get the content of a page with div.
By Nick, 9 years ago. Last reply by Greg Priday, 9 years ago
With the following code: echo do shortcode( get post field( 'post content', $page id ) ); The content of the page is displayed, but there is not the div that wraps the content. With the following code: echo do shortcode( the content( $page id ) ); With this code, it works well, the div are…