/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $post_id = 26; $queried_post = get_post($post_id); $title = $queried_post->post_title; echo $title; echo $queried_post->post_content; ?>
<?php $post_id = 26; $queried_post = get_post($post_id); $title = $queried_post->post_title; echo $title; echo $queried_post->post_content; ?>