wp_list_categories builds array in Chrome but not FF/IE?
-
Hello,
I am starting to get into the API, but I’ve already found tricky bits!Here’s the oddness:
Using a php include within index.php, I am calling the wp_list_categories(); function.
In Chrome I get the list as it should be, no problems. But IE and FF both fail to populate the array.
See here: http://www.blogscanada.ca/categories/
I’ve tried various calls to the array, including making it into a bullet list as such:
<ul class="catsList"> <?php foreach($cat as $var){ ?> <li> <?php echo $var->name?> </li> <?php } ?> </ul>Any idea why a browser would render the arrays differently?
Thank you!
The topic ‘wp_list_categories builds array in Chrome but not FF/IE?’ is closed to new replies.