简体   繁体   中英

How to add multiple post in single wordpress page as per post id

I can try this code in page text but not working

<?php
$post_id = '138'; 
echo get_post_field('post_content', $post_id); 
?>

show a code only not display content, provide solutions in which file I can add this code.

wordpress提供insert_pages插件,并在此插件的页面中添加帖子或其他页面标题,内容等

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM