Support » Plugin: uCan Post » [Plugin: uCan Post] Selecting Multiple categories?

  • Hey,
    Im using the UcanPost plugin on my site 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)
  • uCan Post adds the both the default category that you have selected in the settings and the one the user chooses to the post.

    Is there any way to change this at all? Even in the php?

    Plugin Author cartpauj


    You’ll need to find this in the ucan-post-class.php file:

            $ucan_new_post['post_category'] = array($this->ucan_options['uCan_Default_Category'], $_POST['ucan_submission_category']);

    And change it to:

            $ucan_new_post['post_category'] = array($_POST['ucan_submission_category']);

    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.