WordPress.org

Ready to get started?Download WordPress

Forums

Disable category descriptions as alt text? (3 posts)

  1. mwandel
    Member
    Posted 4 years ago #

    Hi!

    My theme uses categories and sub categories for structure. On category archives it pulls the category description to display on the archive page. A plugin was used to allow html in category descriptions to format that copy for when it displays on the page.

    My problem is that when categories are listed in the secondary navigation, category links show the cat description as alt text (along with all the html markup).

    Is there any way do disable, or globally change the scheme for alt text on category links?

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    http://codex.wordpress.org/Template_Tags/wp_list_categories

    Check out the use_desc_for_title parameter.

  3. mwandel
    Member
    Posted 4 years ago #

    Awesome - that did it! Thanks so much for your help!

    Cheers!

Topic Closed

This topic has been closed to new replies.

About this Topic