removing ‘categories’ title from list

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

Read More
<?php
  $args = array(
  'show_option_all' => 'All posts'
  );
?>

<h3><?php wp_list_categories($args); ?></h3>

OUTPUT

enter image description here

Related posts

1 comment

  1. Set the title_li argument value to empty string. Refer the WordPress Codex

    <?php
      $args = array(
        'show_option_all' => 'All posts',
        'title_li' => ''
      );
    ?>
    

Comments are closed.