Skip to content

Instantly share code, notes, and snippets.

Created June 23, 2020 17:59
What would you like to do?
WordPress show post content example with page ID 5670
$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