Hi there, well, finally I decided to start learning how to create custom themes, and I think I’m doing great, however I’m stuck with something, I created a template page with the name of homepage.php, the idea is to have this page as front page when it’s template is selected to a “home” page, so, I added the template tag by placing:
<?php /* Template Name: Homepage */ ?>
At the very top, then, created the page “home” on WP and assigned that template, finally, on Settings -> Reading and selecting “A Static Page” and then choosing the page Home, the thing is, is not working, in the home page I’m having this text: Not Found – Not Found – Sorry, but you are looking for something that isn’t here.
So I don’t know what’s going on, the rest of the pages using the regular and by default template are working fine, but not this one, actually, it calls the footer and the header pefectly, but is not working with the content area, my content area on that page is:
<!--main Content Start --> <div class="clr"></div> <div class="content"> <div class="content_resize"> <div class="widebar"> <div class="article"> <h2><?php the_title(); ?></h2> <div class="clr"></div> <?php the_post_thumbnail(); ?> <div class="clr"></div> <?php the_content(); ?> <div><hr /><br /></div> </div> </div> <!--Main Content End -->
So, not really sure what I’m doing wrong, any idea guys?
Thanks so much!
- The topic ‘Problem creating a new template page’ is closed to new replies.