Use get_post without losing post tag functionality
-
Hi there,
I’m using get_post right now to make parts of pages that can be altered by the user, such as a video on the page and a right sidebar.
The problem now is, if I open the page normally I see a video. But when I include it with get_post it just gives me plain text. I use [quicktime]filename[/quicktime]. With the plugin called “Viper’s Video Quicktags”.
Is there a way to include the post/page and keep the video as it should be and not just plain text?
Full code I use for including post/page.
<?php $my_id = 17; $post_id_17 = get_post($my_id); $sidebarRight = $post_id_17->post_content; echo $sidebarRight; ?>Thanks,
Xevo
The topic ‘Use get_post without losing post tag functionality’ is closed to new replies.