I'm working on a custom theme that exists as a two-page spread. The left hand page is meant to show a scrolling list (Oldest first) of all post titles (Chapters basically), while the right page displays the selected content.
Here is a link to the site
The index.php file seems to be working properly. I don't have the full right page content generated yet, but the chapter listing is running. Here is the code that I used:
<div id="chapters">
<!-- Display Posts By Title -->
<?php query_posts($query_string . '&orderby=date&order=ASC'); ?>
<?php while (have_posts()) : the_post(); ?>
<p>"><?php the_title(); ?></p>
<?php endwhile; ?>
<!-- Display Posts By Title -->
</div>
However, when I run the above code on the single.php page, it only lists the currently viewed post rather than listing all posts.
In addition, I used this code (from the twentyten single.php) to display the content for a single post:
<?php get_template_part( 'loop', 'single' );?>
But on loading an individual post, no content is actually displayed. The "Next/Previous" post links are functional, but the actual post remains hidden.
I have a feeling that I am way off in trying to impliment the single post php. This is my first adventure into custom themes, so if anyone has a solution, or can point me in the direction of one, it would be greatly appreciated.
-Dyc3r