wendyhouse
Member
Posted 6 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'.
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.
wendyhouse
Member
Posted 6 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.
wendyhouse
Member
Posted 6 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 :-)
wendyhouse
Member
Posted 6 years ago #
I just selected 'resolve' at the top, not sure if that closes this....