Support » Plugins » Using Narchives with Include?

  • Resolved ericakadisco



    I created a nice narchive page that works on it’s own:

    But then when I try to use it as an include, the entries are missing and all I see are the category headers:

    Here is the code for my template page:

    Template Name: Archives
    <?php get_header(); ?>
    <?php get_sidebar(); ?>
    <div id="content" class="narrowcolumn">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class="post" id="post-<?php the_ID(); ?>">
    <h2><font color=#5C5858><?php the_title(); ?></font></h2>
    <div class="entry">
    <?php include('narchives.php'); ?>
    <?php endwhile; endif; ?>
    <?php edit_post_link('Edit this entry.', '', '
    '); ?>
    <?php get_footer(); ?>

    Am I using this the wrong way?


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Using Narchives with Include?’ is closed to new replies.