Adding shortcode to custom php file in wordpress

admin

Administrator
Staff member
i got the following short lines for showing content in a php file

Code:
<p><?php echo $item->post_content; ?></p>

Problem being that when i add a news item from my admin panel in wordpress and use a shortcode the shortcode itself is being displayed instead of the content. Is there any possible way to allow the short code being proccessed in the php file?

It is some kind of news plugin that i must use for the client so cant remove that or use another one.