I have the following code for a page. When I select the template Home Page from the drop down menu in the page edit, it doesn't work on my web host, but locally it works fine, so I don't think it is my code. I don't know why its not working though.
<?php
/*
Template Name:Home Page
*/
?>
<?php get_header(); ?>
test
<div class="row">
<div id="welcome" class="seven columns centered">
<?php
$page_id = 2;
$page_data = get_page( $page_id );
$content = apply_filters('the_content', $page_data->post_content);
echo $content;
?>
</div>
</div>
<?php get_footer(); ?>