Support » Plugins and Hacks » Hacks » [Resolved] Question Editing Category-Template

[Resolved] Question Editing Category-Template

  • There is a category navigation menu on my website so that users can easily access their required category. When I added a description to one of the categories it replaced the title attribute with the description, so that whenever I hover over the category in the navigation menu I see the full description instead of simply the category name.

    You can see my website by clicking here if you are not quite sure what i’m talking about 😛

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Michael


    Forum Moderator

    try to access the code of the category menu in header.php; something with wp_list_categories('title_li=');

    try and add:




    (boolean) Sets whether a category’s description is inserted into the title attribute of the links created (i.e. <a title="<em>Category Description</em>" href="...</a>). The default is true (category descriptions will be inserted). Valid values:
    1 (True) – Default
    0 (False)

    Thanks for the help, just went straight to the category-template.php and set use_desc_for_title to 0.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Question Editing Category-Template’ is closed to new replies.