Category-*.php not working, help please (1 post)

  1. chefslinejenn
    Posted 9 years ago #

    Hi -

    I've used my index.php and am testing category pages. Created a category-10.php. It retreives all posts, not category posts. At present, my other non-defined category links (in sidebar) bring up correct posts. Have reveiwed codex info. What could be the problem? 10 is the correct id.

    Here's my code up to the content...

    <?php include('http://www.chefsline.com/blog/wp-content/themes/chefsline/headerclasroom.php'); ?>
    <?php include ($_SERVER['DOCUMENT_ROOT']."/clat5/clat5_in.php"); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php the_date('','<h2>','</h2>'); ?>
    <style type="text/css"/>
    .style2 {font-size: small}
    <div class="post">
    <h3 class="storytitle" id="post-<?php the_ID(); ?>"><a>" rel="bookmark">
    <?php the_title(); ?>
    <div class="meta"> Posted
    <?php the_time() ?>
    <?php edit_post_link(__('Edit This')); ?>
     <div class="storycontent">
    <script src="http://feeds.feedburner.com/~s/Chefsline-TheCulinaryHotline?i=<?php the_permalink() ?>" type="text/javascript" charset="utf-8"/></script>
    <?php the_excerpt(__('(more...)')); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic