Multiple Loops question
-
I am designing a site for a client using WordPress as a CMS. It can be viewed here https://dev.reciprocity.be/mu/lovs.
As you can see, the bar below the header and menu currently has excerpts of 3 pages from the site. This part works great. The problem I’m having is how to get the page content to show up in the area below this bar. I have it sort-of working, but the only page content I can get it to show is the Home page. Here’s the code I’m currently using to do the page content area:
<div id="content"> <?php query_posts(); ?> <?php while (have_posts()) : the_post(); ?> <h2><?php the_title(); ?></h2> <?php the_content("Continue reading " . the_title('', '', false)); ?> <?php endwhile; ?> </div>
Any ideas?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Multiple Loops question’ is closed to new replies.