Support » Themes and Templates » [Resolved] Opening posts in one ‘postholder’ on a page

[Resolved] Opening posts in one ‘postholder’ on a page

  • Hey,

    a couple of months ago I made a website for a friend of mine (http://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(); ?>
    <a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
    <?php endwhile; ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • Additional information:
    – The above mentioned website is the static version, I am working on the WordPress version from a local server (XAMPP).

    I found the solution in the ‘Single Post Template’ plugin, which let you use a template file for posts.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Opening posts in one ‘postholder’ on a page’ is closed to new replies.
Skip to toolbar