I'm pretty new to WordPress and am trying to learn how to create custom themes. Right now I have my home page pretty well laid out and there are 2 areas on it I need editable through WordPress. One is a box on the left side bar which displays the most recent post and the other is a little area under the navigation bar that gives a short welcome. I have the side bar piece working but I can't get the welcome area to show the right thing. I have my permalinks set to show the post title and I've named this page welcome. This is the code I have where the welcome area is in the html:
<?php $recent = new WP_Query("page_id=**welcome**"); while($recent->have_posts()) : $recent->the_post();?>
<?php the_content(); ?>
<?php endwhile; ?>
The problem is instead of displaying the content of the welcome page it displays the most recent post. Can anyone tell me what I'm doing wrong?
You can see the page I'm working on here: http://propellseo.com/dev/