Support » Themes and Templates » Sidebar Issue in Pages Only

  • Resolved bcreighton



    I’ve included the sidebar on a Page template, however my sidebar content is not behaving the same way as a Post template.

    On the sidebar I have query_posts run to pull in a little content, with a more link, like so:

    <?php query_posts('cat=6&showposts=1 ');	?>
            <?php if (have_posts()) : ?>
            <?php while (have_posts()) : the_post(); ?>
                    <h4><?php the_title(); ?></h4>
              <?php the_content('Read more &raquo;');?>

    However, the more link is not working on the Page template. It instead pulls in all of the text and places <span id="more-30"></span> where the more link should be.

    Posts, however, everything works perfectly.

    Any thoughts? Thanks!

  • The topic ‘Sidebar Issue in Pages Only’ is closed to new replies.