I have shortcodes inside my post_content in a custom post type wordpress. But when I echo
the post content, all the shortcodes are not getting applied.
What I've tried so far:
$post = get_post(post_id, OBJECT);
echo apply_filters('the_content', $post->post_content);
I've also applied the do_shortcode()
function but that also doesn't process the shortcodes. I've already applied most of the solutions present on this platform but no luck. Any help would be highly appreciated.
Thanks & Regards