WordPress.org

Ready to get started?Download WordPress

Forums

Category Icons
display categories list with icons in a dropdown menu (6 posts)

  1. Hassan
    Member
    Posted 1 year ago #

    Hi,

    I'd like to use this plugin to display the list of my categories in a dropdown menu rather than just in a list format. There is already a WordPress function to display categories in a default dropdown list (without icons) which is available from Codex:

    <?php wp_dropdown_categories('show_option_none=Choose...&show_count=1'); ?>

    Is it possible to alter the above function to display the icons in the dropdown list along with the text?

    Thanks in advance.
    http://wordpress.org/extend/plugins/category-icons/

  2. submarine
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    it is possible but not simple. I've found a thread that talk about icons in dropdown menu : maybe that could be a start.

  3. Hassan
    Member
    Posted 1 year ago #

    I see. Thanks for pointing that out.
    Would come in even more handy if you could as well give me the URL to that thread you mentioned :)
    Appreciate your time.

  4. submarine
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry : http://www.talkphp.com/javascript-ajax-e4x/4011-dropdown-menu-icons.html

    I've tested it : it worked just under firefox. :(

  5. Hassan
    Member
    Posted 1 year ago #

    This was actually just some "fancy" feature I wanted on the website I'm working on, and since I didn't have that extra time to try to figure it out, I just went along and forgot about it. HOWEVER, I would love to know if anyone could figure out how to do it.

    Cheers.

  6. osmana
    Member
    Posted 11 months ago #

    Hello there,
    Same problem here if anyone can figure it out.

    I find it odd that displaying a category menu with category icons in a widget is so difficult (as far as my google searches go) in wordpress.

    Thanks anyone for any pointers.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic