test
$post_id = 123; // Replace with your post ID $post = get_post($post_id); if ($post) { setup_postdata($post); // Prepare post data for use echo ‘ ‘ . get_the_title() . ‘ ‘; echo ‘ ‘ . get_the_content() . ‘ ‘; wp_reset_postdata(); // Reset post data } else { echo ‘Post not found.’; }