I have a very urgent problem. Client just dumped a template on me saying it was a theme only needing minor adjustments, but it had NO WordPress code in it at all. *facepalm* Anyway, I got most everything working to satisfaction, but I ran into a problem I never had before. The blog content is not showing! I have the same exact code running the pages, and the page content is showing just fine. Furthermore, posts show just fine in the sidebar (using the "Sideblog" plug-in).
Here is the code:
<?php get_header(); ?> <?php include (TEMPLATEPATH . '/slideshow.php'); ?> <div id="left"> <div class="interior-content"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <?php the_content(); ?> <?php endwhile; endif; ?> </div> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>
Like I said, it works just fine for the page content, just not the blog posts. Also, I looked at the generated code and saw no post content being generated.
Here is the address of my test server, if anyone doesn't mind taking a look: http://goatlounge.com/worldicu
Hopefully I provided all the info people would need to figure this out. It's probably something stupid, but an extra set of eyes always helps!
Thank you, thank you, thank you!
Currently hating her client,