i'm fairly new to wordpress, and i'm building a website out of it. I decided to use wordpress for it becuase all the pages are just text and its a simple site.
I put the different sections content in different posts, and i want to display 1 post on the homepage (its the newest post in a catgegory called "pages")and then i have the post titles listed in a loop acting as the menu.
when i click on the page titles the browser title changes to the correct one, and the url changes correctly, but the content always stays as the newest post.
is there a certain file i have to make, for example page.php or archive.php
any help would be great! Here is a link to the live site:
and here is the code for displaying the content:
<?php if (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <div class="entry"> <?php the_content(); ?> </div> </div> <?php endif; ?>