Get the_content by post id in WordPress
1 |
echo get_post_field('post_content', $post_id); |
1 |
echo get_post_field('post_content', $post_id); |
WordPress plugin posts 2 posts allows you to use shortcodes like p2p_connected and p2p_related to display connected custom post information. If you want to display the_content() or echo get_the_content() from the connected post(s) in the loop, you need to use … Continued