Title: [Plugin: uCan Post] Selecting Multiple categories?
Last modified: August 19, 2016

---

# [Plugin: uCan Post] Selecting Multiple categories?

 *  [dchen05](https://wordpress.org/support/users/dchen05/)
 * (@dchen05)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-ucan-post-selecting-multiple-categories/)
 * Hey,
    Im using the UcanPost plugin on my site [http://www.trekclass.com](http://www.trekclass.com).
   For some reason, when people post it automatically chooses the default category(
   from the UcanPost plugin) and the one the user chose, so the post has two categories.
   Any idea what could be causing this?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [cartpauj3](https://wordpress.org/support/users/cartpauj3/)
 * (@cartpauj3)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-ucan-post-selecting-multiple-categories/#post-1878761)
 * uCan Post adds the both the default category that you have selected in the settings
   and the one the user chooses to the post.
 *  Thread Starter [dchen05](https://wordpress.org/support/users/dchen05/)
 * (@dchen05)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-ucan-post-selecting-multiple-categories/#post-1878819)
 * Is there any way to change this at all? Even in the php?
 *  Plugin Author [cartpauj](https://wordpress.org/support/users/cartpauj/)
 * (@cartpauj)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-ucan-post-selecting-multiple-categories/#post-1878879)
 * You’ll need to find this in the ucan-post-class.php file:
 *     ```
       if($this->ucan_options['uCan_Show_Categories'])
               $ucan_new_post['post_category'] = array($this->ucan_options['uCan_Default_Category'], $_POST['ucan_submission_category']);
       ```
   
 * And change it to:
 *     ```
       if($this->ucan_options['uCan_Show_Categories'])
               $ucan_new_post['post_category'] = array($_POST['ucan_submission_category']);
       ```
   
 *  Thread Starter [dchen05](https://wordpress.org/support/users/dchen05/)
 * (@dchen05)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-ucan-post-selecting-multiple-categories/#post-1878923)
 * Thanks! This worked perfectly. Your the best. Keep it up.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: uCan Post] Selecting Multiple categories?’ is closed to new 
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ucan-post.svg)
 * [uCan Post](https://wordpress.org/plugins/ucan-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ucan-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ucan-post/)
 * [Active Topics](https://wordpress.org/support/plugin/ucan-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ucan-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ucan-post/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [dchen05](https://wordpress.org/support/users/dchen05/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-ucan-post-selecting-multiple-categories/#post-1878923)
 * Status: not resolved