[resolved] Opening posts in one 'postholder' on a page (3 posts)

  1. MD84
    Posted 5 years ago #


    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; ?>
  2. MD84
    Posted 5 years ago #

    Additional information:
    - The above mentioned website is the static version, I am working on the WordPress version from a local server (XAMPP).

  3. MD84
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic