WordPress.org

Ready to get started?Download WordPress

Forums

Removing Sidebar List Tags (6 posts)

  1. anthonyqkiernan
    Member
    Posted 8 years ago #

    How can I remove the list tags (ie

  2. etc) from my sidebar (categories, archives list etc)?
  • Kafkaesqui

    Posted 8 years ago #

    If the theme you're using has a sidebar.php template, then it's likely you'll find the template tags for them there, and from which you can edit them out.

  • anthonyqkiernan
    Member
    Posted 8 years ago #

    You would think so, wouldn't you? The tag in the side bar is:

    <?php wp_list_cats('sort_column=name&optioncount=0&hierarchical=0'); ?>

  • anthonyqkiernan
    Member
    Posted 8 years ago #

    Hmmm. Where went the rest of my post? Anyhoo

    It appears to stick the tags in in templates-functions-categories.php Managed to remove them completely (search & replace), but couldn't find from where to replace them with a line break

  • anthonyqkiernan
    Member
    Posted 8 years ago #

    Just in case anyone wanders in here

    <?php wp_list_cats('sort_column=name&optioncount=0&hierarchical=0&list=0'); ?>

  • anthonyqkiernan
    Member
    Posted 8 years ago #

    Hmmm. that should be "list=0"

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags