WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Request: tool-tip over category names (5 posts)

  1. wendyhouse
    Member
    Posted 8 years ago #

    currently I enter a description of a category when i make that category. Blog visitors do not see that description. One or two word category names cannot convey the scope of the statgory. Add a few more words in a tool-tip (hover-over) and the reader knows what to expect. We have hover-overs on other sidebar links (e.g. Blog Roll) let exten d that for consistency.

    WordPress: 2.02
    Theme: Orcadia
    Experience: Novice - no coding no plugins (that I've been able to make wor, no 'hacking'.

  2. Kafkaesqui

    Posted 8 years ago #

    Category descriptions can already be passed to the title attribute when using list_cats()/wp_list_cats() (see the info on the 'use_desc_for_title' parameter). In most web browers the title attribute is what is used to generate a "tool tip" on mouseover.

  3. wendyhouse
    Member
    Posted 8 years ago #

    This rule is how my categories currently look:
    ?php wp_list_cats('optioncount=1'); ?

    This is what I changed it to - this didn't work for me:
    ?php wp_list_cats('optioncount=1' 'use_desc_for_title=1'); ?

    Any advice on formatting? The above formatting totally blows away my sidebar.

  4. wendyhouse
    Member
    Posted 8 years ago #

    Fixed with:
    ?php wp_list_cats('optioncount=1, use_desc_for_title=1'

    Thankyou for pointing me in the right direction and giving me enough to try multiple formatting options - that lead to the right result :-)

  5. wendyhouse
    Member
    Posted 8 years ago #

    I just selected 'resolve' at the top, not sure if that closes this....

Topic Closed

This topic has been closed to new replies.

About this Topic