Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WordPress show post content example with page ID 5670
<?php
$id = 5670;
$p = get_page($id);
echo apply_filters('the_content', $p->post_content);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.