• ok i’ve read this

    I’ve created a category.php, here’s what it looks like:

    <?php  get_header(); ?>
    <!-- dropshadow divs -->
    <div id="content_bg">
    <div id="container_left">
    <div id="container_right">
    <div id="wrapper">
    <div id="content">
    <div class="main">
    <ul>
    <?php wp_list_categories('orderby=name&show_count=1'); ?>
    </ul>
    
    </div>
    
    </div>
    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    this is the error I get:

    Fatal error: Call to undefined function: get_header() in /home/oswaldtr/public_html/testing/wp-content/themes/oswaldtrading/category.php on line 1

    WTF?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘category index?’ is closed to new replies.