WP User Frontend
Multiple categories? (3 posts)

  1. mlotorocks
    Posted 3 years ago #

    Is it possible to have users select multiple categories?
    I don't see a way off the bat and I did try duplicating this in wpuf-add-post.php
    wp_dropdown_categories( 'show_option_none=' . __( '-- Select --', 'wpuf' ) . '&hierarchical=1&hide_empty=0&orderby=name&name=category[]&id=cat-ajax&show_count=0&title_li=&use_desc_for_title=1&class=cat requiredField&depth=1&exclude=' . $exclude );

    I get another dropdown but it doesn't work quite the way I need.
    Any help would be awesome, thanks!


  2. chavo
    Posted 3 years ago #

    Did you try to change the "Category selection type" item to "checkbox"?

  3. mlotorocks
    Posted 3 years ago #

    Thanks for responding!
    Yes I did try the checkbox option. The only problem with that is that I have parent and child categories. They all appear in in a row vertically down and you can't tell which is a parent and which is a child. Is there a way to indent the children? Or some other way to visually show that relationship?
    Thanks for your help!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP User Frontend
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic