• Resolved Emil

    (@qu1em)


    Hi,

    When users submit the form I want the post that is created to be posted under a category with the ID 19. I have whitelisted the category in the settings and the code I’m using is:

    [fu-upload-form category="19" form_layout="post_image" title=""]
    [input type="text" name="post_title" id="title" class="required" description="Titel (krævet)" multiple=""]
    [textarea name="post_content" class="textarea" id="ug_caption" description="Beskrivelse (valgfrit)"]
    [input type="file" name="photo" id="ug_photo" class="required" description="Billede(r) (krævet)" multiple=""]
    [input type="submit" class="btn" value="Tilføj"]
    [/fu-upload-form]

    The posts are posted in the default category (ID 1). The form can be seen here.

    http://wordpress.org/plugins/frontend-uploader/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Same problem here.

    But there’s a workaround:

    in line 745
    \wp-content\plugins\frontend-uploader\frontend-uploader.php

    add “category” to shortcode attributes, so it looks like this
    http://pastie.org/8290895

    Hope this will be fixed soon.

    Thread Starter Emil

    (@qu1em)

    Great! It worked. Thank you!

    In my experience the developers of this plugin are fairly quick to fix bugs and this one is easy so it’s probably going to be fixed in the next version.

    I’ll leave it for one of the developers to mark this thread as resolved as soon as they’ve seen this 🙂

    Plugin Author Rinat

    (@rinatkhaziev)

    Thanks guys,

    I committed the5skyliner’s patch and will release it with a new version.

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

The topic ‘Category assignment not working’ is closed to new replies.