I’m trying to list certain categories in a file I named categories.php, but each time I refresh I get
Fatal error: Call to undefined function: wp_list_cats() in /home/sites/daisymedia.net/public_html/movies/categories.php on line 10
I don’t understand what I’m doing wrong. Help, anyone? Here’s the coding for categories.php
<? include('header.php'); ?>
Below are listed the movies reviewed so far. All movies have been set as categories, and may contain several reviews, each by another reviewer.
<?php wp_list_cats('sort_column=name&optioncount=1&exclude=1, 17'); ?>
<? include('footer.php'); ?>
Any help appreciated!
- The topic ‘Fatal error when trying to list categories’ is closed to new replies.