I have the following code which creates a list with all my categories and an ‘all posts’. However it also outputs a ‘category’ on top of the list. I would like to remove that, and just have the list items.
HTML
<?php
$args = array(
'show_option_all' => 'All posts'
);
?>
<h3><?php wp_list_categories($args); ?></h3>
OUTPUT
Set the
title_li
argument value to empty string. Refer the WordPress Codex