Title: Category archive.php problem
Last modified: August 19, 2016

---

# Category archive.php problem

 *  [vegim](https://wordpress.org/support/users/vegim/)
 * (@vegim)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/category-archivephp-problem/)
 * hey guys im new to wordpress i recently installed wordpress and a new theme but
   when i click on the categories button i get this
 * Fatal error: Call to undefined function: the_content_limit() in /home2/edibraco/
   public_html/wp-content/themes/shiva/archive.php on line 31
 * anyone could help me this is whats in line 31 of the archive.php
 *     ```
       >
       		<h2 class="pagetitle">Archive for <?php the_time('Y'); ?></h2>
       	  <?php /* If this is an author archive */ } elseif (is_author()) { ?>
       		<h2 class="pagetitle">Author Archive</h2>
       LINE31:	  <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
       		<h2 class="pagetitle">Blog Archives</h2>
        	  <?php } ?>
   
       		<?php while (have_posts()) : the_post(); ?>
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/category-archivephp-problem/#post-1170708)
 * [http://wordpress.org/support/topic/217004?replies=4](http://wordpress.org/support/topic/217004?replies=4)
 *  Thread Starter [vegim](https://wordpress.org/support/users/vegim/)
 * (@vegim)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/category-archivephp-problem/#post-1170803)
 * no it not about the content limit i already tried that …
 * <?php /* If this is a paged archive */ } elseif
 * i dunno what this means
    if it help … when i delete the_content_limit ….. i can
   enter categories but the text doesnt come up just the tittle of the article and
   the thmbnail … check it out… [http://edibra.com/?cat=53](http://edibra.com/?cat=53)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Category archive.php problem’ is closed to new replies.

## Tags

 * [categories](https://wordpress.org/support/topic-tag/categories/)

 * 2 replies
 * 2 participants
 * Last reply from: [vegim](https://wordpress.org/support/users/vegim/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/category-archivephp-problem/#post-1170803)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
