Opening posts in one ‘postholder’ on a page
-
Hey,
a couple of months ago I made a website for a friend of mine (https://www.robinpiree.nl), which I am now turning into a WordPress theme (so he can use it as a CMS supported website).
Problem is that I am having trouble with one of its pages –> the film page.
For the submenu (above the regular menu) I am using posts (see code below). When a post is clicked it should show its content in the center part of the website! In the static version of the website I used the $_GET function (which serves as a sort of placeholder), but doing this inside a WordPress theme is much harder. So I’m stuck!!!
Can anybody help me?
<?php query_posts('showposts=-1'); ?> <ul style="list-style:none;"> <?php while(have_posts()) : the_post(); ?> <li> <a href="<?php the_permalink() ?>"><?php the_title(); ?></a> </li> <?php endwhile; ?> </ul>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Opening posts in one ‘postholder’ on a page’ is closed to new replies.