Support » Fixing WordPress » Display Category Description on Mouseover?

  • I asked this two years ago, but didn’t get a viable answer. So, I was wondering if anything had changed. I now have over 100 categories and entered descriptions for all of them. I would like a way to display those descriptions to users when they mouseover the category titles on the sidebar. Is this possible? If so, how?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Template_Tags/wp_list_categories

    Take a look at the use_desc_for_title Parameter

    How did I miss that? Thanks a bunch!

    Not a problem. 🙂

    Is it also possible to access and display the category description somewhere ‘outside’ the wp_list_categories parameter?

    Okay, it’s possible with <?php echo category_description(); ?>

    But is it also possible to get an automatic category listing like this:

    • Category title
      Category description

    Do I have to use a “for each loop” ? Sorry, I’m not so firm with PHP..

    I haven’t been able to make <?php echo category_description(); ?> no matter where I put it. I haven’t been able to get it to work yet. Only if I put a number in the parenthesis, like <?php echo category_description(3); ?> or something. But then it’s a fixed, sticky post that will always display that category description, no matter what.

    How can I simply display the correct, corresponding category description?

    Seems like there should be a strip of code to do this, but i’m missing it.

    Ba-dump-bump.

    Anyone?

    Ba-dump-bump.

    Anyone?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Display Category Description on Mouseover?’ is closed to new replies.