WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove/edit title="" attribute from wp_list_categories (3 posts)

  1. Casper
    Member
    Posted 7 years ago #

    Hi,

    I'm building a new theme, from scratch, heavily customized.
    I'm listing my categories like this;

    <?php wp_list_categories('title_li=&hide_empty=0&exclude=1,2'); ?>

    - I need to be able to edit the title in the generated link that currently says: View all posts filed under...
    Basically I just want the title in the link to display the name of the category, nothing else..

    I've been searching high and low in both the Codex and the Forums, but haven't been able to find anything related to this..

    Thoughts anyone?

  2. Casper
    Member
    Posted 7 years ago #

    OMG, I just now realized that the Description is displayed as the title, if present.

    Jeez, I feel stupid.

  3. whooami
    Member
    Posted 7 years ago #

    funny how that works :) Thats what the docs are for!

Topic Closed

This topic has been closed to new replies.

About this Topic