i am trying to insert a post/page into one of my themes files and it wont display shortcodes or php
i have created a page called home in the wordpress admin-paned and inserted into my code the following:
<div id="home_page"> <!-- echos the content from the page "home" id:43 --> <?php $home_id = 43; $home_page = get_page( $home_id ); ?> <?php echo $home_page->post_content; ?> </div> <!-- end #home_page -->
and non of the shortcodes that i have in the page work.
i installed a
php in post or page and tried useing php and it doesnt work.
when i insert
echo do_shortcode('[youtube_sc url=http://www.youtube.com/watch?v=Db3XGpt6nNU]');
directly into the code it works.
does anyone know y this happens?