WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Change title attribute of categories listed with wp_list_categories (6 posts)

  1. tylerhauser
    Member
    Posted 7 years ago #

    When a person uses wp_list_categories there is automatically a title attribute attached to each category, "View all posts filed under _____". I would like to either change this or get rid of it altogether. Is this possible?

  2. tylerhauser
    Member
    Posted 7 years ago #

    Bump.

  3. MichaelH
    Member
    Posted 7 years ago #

    I believe you would need to change the core code to stop that.

    Or use something like this: http://wordpress.org/support/topic/124374?replies=7#post-587069

  4. tylerhauser
    Member
    Posted 7 years ago #

    Can one change the core code? If so, how?

  5. MichaelH
    Member
    Posted 7 years ago #

    Make a backup of your WordPress files, then get something like WinGrep and find the file containing the function, wp_list_categories. Then after you decide what you want to change, then make that change and test it.

    Remember if you change core code, you may have to make that same change in future updates.

  6. tylerhauser
    Member
    Posted 7 years ago #

    I figured it out! I'm so happy. All I wanted to do was get rid of the title all together because it interfered with browsing the menu. All I did was delete "View all posts filed under %s" in the 'classes.php' file. It's found inside the 'wp-includes' folder. Thank you so much Michael!

Topic Closed

This topic has been closed to new replies.

About this Topic