This is probably easy once you know but I'm having trouble getting the static page content to appear AFTER a list of posts.
I'm using a named page template which displays posts as a slider and I want to display the static content of the page underneath this slider.
To display the static content I've got this in my template:
<!-- display page content (if any) before blog posts --> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div <?php post_class(); ?>> <h1 class="title"><?php the_title(); ?></h1> <div class="entry"> <?php the_content(); ?> </div><!-- /.entry --> <div class="fix"></div> </div><!-- /.post --> <?php endwhile; endif; ?> <!-- end of page content -->
If I use this bit of code BEFORE the slider query/loop then my static content displays fine with the slider displaying the posts after. However if I use this snippet AFTER the slider posts then I just get a list of the slider posts - because of the query set up for the list of posts.
Basically, to show the static content after the slider posts I need to reset the query back to the current static page content somehow.