[resolved] Question Editing Category-Template (3 posts)

  1. The Night Fox
    Posted 3 years ago #

    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 :P

  2. alchymyth
    Forum Moderator
    Posted 3 years ago #

    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)

  3. The Night Fox
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.