Need Help
-
I’m having a problem here with one of the pages. I’m moving a blog theme from 3.0.4 to 3.3.1 and this is supposed to list all the posts in category 9, but yet it shows nothing. I get a blank page. Is there something I’m missing?
Enclosed is the code.
<?php ?> <?php get_header(); ?> <!--/div --> <hr class="clear height-3" /> <div> <div class="container" id="content"> <div class="span-3 blog-circle"> <!-- img src="< ?php bloginfo("template_url"); ?>/images/blog-circle.png" --> <?php the_tags(); ?> </div> <div class="span-6 alt-content"> <h2>Write-it-Right Weekly Tips</h2> <hr class="prepend-bottom" /> <h4><?php the_title(); ?></h4> <div class="date">Week of <?php the_time('F jS, Y') ?></div> <?php if($post->post_parent) $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); if ($children) { ?> <ul class="menu-subpages"> <?php echo $children; ?> </ul> <?php } ?> <hr class="clear height-2" /> <?php if (have_posts()) :while (have_posts()) :the_post();the_content();endwhile;endif;?> <?php posts_nav_link(); ?> <hr class="clear height-2" /> </div> <div class="span-2 last"> <!-- ?php get_sidebar(); ? --> </div> </div> </div> <?php get_footer(); ?>
Thanks In Advance.
- The topic ‘Need Help’ is closed to new replies.