I know this is a really newbie question, but I can't seem to get the loop to pull from the posts. all it is doing is pulling from the page itself.
I made a template and added the loop to it.
<?php
if( have_posts() ) {
while( have_posts() ) {
the_post();
?>
<h2><?php the_title(); ?></h2>
<?php
}
}
?>
edit: here is all the code: http://pastebin.com/k2rDu53b

get_header()instead, if it needs to differ from the main header file, create another eg.header-two.phpwith the code and call that in the template instead, eg.get_header( 'two' )– t31os Dec 23 '11 at 12:25