output post_content with HTML formatting?
-
The post referenced has an ordered list in the content. The problem is no HTML shows up when the code below is used – this is in functions.php.
Is there a way to output the content with the HTML formatting?
$postContent = get_post($post_id) -> post_content; print_r($postContent);
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘output post_content with HTML formatting?’ is closed to new replies.