category.php (3 posts)

  1. SannySinghs
    Posted 3 years ago #

    Hi all ,
    I am having a problem that my category.php is not working at all . Whenever i choose a single category 'localhost/wordpress?cat=3' it is not showing the content what i've written in category.php .... Pls help me ...
    Here is my category.php code

     * Category Template
     * The archive template is the default template used for archives pages without a more specific template.
     * @package Hatch
     * @subpackage Template
    get_header(); // Loads the header.php template. ?>
    <?php single_cat_title(); ?>
    <?php get_footer(); // Loads the footer.php template. ?>
  2. pete_398
    Posted 3 years ago #

    Where are the functions defined, the 3 in the sample code ..


    You will have to do a php 'include' or 'require' , so that the php files containing those functions are included.

  3. Michael
    Forum Moderator
    Posted 3 years ago #

    does the category archive show the category title?

    there is no further code in your posted snippet to show any content.

Topic Closed

This topic has been closed to new replies.

About this Topic