Parse shortcode in post called in a template? [Wordpress]

I’m inserting a specific post in a template using the following:

$post_id = 99;
$queried_post = get_post($post_id);
echo wpautop($queried_post->post_content);

Is it possible to also parse a shortcode that’s in the post, without having to hard code it in the template?

I think you want to use do_shortcode

$post_id = 99;
$queried_post = get_post($post_id);
echo wpautop(do_shortcode($queried_post->post_content));

Beautiful! Thanks very much.

I’m new to tweaking Wordpress, so will probably have some more Qs. :slight_smile: