• Apologies if this is already answered–the search function of this site is either down, or…I don’t know.

    I can’t find how my index.php is pulling the sidebar into the page. Can someone take a look and tell me, please?

      <?php
      get_header();
      ?>

      <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

      <div class="post">

      <h3 class="storytitle" id="post-<?php the_ID(); ?>"><div id=docimage></div><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
      <div class="meta"><?php _e("Blogged in"); ?> <?php the_category(',') ?> <?php _e('by')?> <?php the_author() ?> <?php the_time('l F j, Y'); ?> <?php edit_post_link(__('Edit This')); ?></div>

      <div class="storycontent">
      <?php the_content(__('(more...)')); ?>
      </div>

      <div class="feedback">
      <?php wp_link_pages(); ?>
      <a href="<?php trackback_url(); ?>">Trackback</a> &middot; <?php comments_popup_link(__('No comments yet'), __('Only one comment'), __('% comments')); ?>
      </div>

      <?php trackback_rdf(); ?>

      </div>

      <?php comments_template(); // Get wp-comments.php template ?>

      <?php endwhile; else: ?>
      <?php _e('Sorry, no posts matched your criteria.'); ?>

      <?php endif; ?>
      <div class="feedback"><?php posts_nav_link(' — ', __('&laquo; previous page'), __('next page &raquo;')); ?></div>

      <?php get_footer(); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Where is get_sidebar in this index?’ is closed to new replies.