WordPress.org

Ready to get started?Download WordPress

Forums

Frontend Uploader
[resolved] The shortcode for the title field (7 posts)

  1. Migo5
    Member
    Posted 11 months ago #

    Hi
    Thanks for a nice plugin.
    Any way of changing the shortcode below to show only the Title field?

    [fu-upload-form class="your-class" title="Upload your media"] [textarea name="caption" class="textarea" id="ug_caption" description="Description (optional)"] [input type="file" name="photo" id="ug_photo" class="required" description="Your Photo" multiple=""] [input type="submit" class="btn" value="Submit"] [/fu-upload-form]

    Thanks again
    Migo

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

  2. Rinat Khaziev
    Member
    Plugin Author

    Posted 11 months ago #

    Hey,

    Thanks for the kind words.

    Try this:

    [fu-upload-form class="your-class" title="Upload your media"]
    [textarea name="caption" class="textarea" id="ug_caption" description="Title"]
    [input type="file" name="photo" id="ug_photo" class="required" description="Your Photo" multiple=""]
    [input type="submit" class="btn" value="Submit"]
    [/fu-upload-form]

    Let me know if that worked

  3. Migo5
    Member
    Posted 11 months ago #

    Thanks for your quick response
    Unfortunately the title of the file is not coming through and the file is getting titled as Unknown. I tried to modify the short code below, the same unsuccessful result. None of the info in the form was registered.

    [fu-upload-form class="your-class" title="Upload your media"]
    [textarea name="caption" class="textarea" id="ug_caption" description="Description (optional)"]
    [input type="file" name="photo" id="ug_photo" class="required" description="Your Photo"]
    [input type="text" name="email" id="ug_email" class="required" description="Your email"]
    [input type="text" name="name" id="ug_name" class="required" description="Your name"]
    [input type="submit" class="btn" value="Submit"] [/fu-upload-form]

  4. mhartel
    Member
    Posted 11 months ago #

    I'm having the same problem... any resolution?

  5. Rinat Khaziev
    Member
    Plugin Author

    Posted 11 months ago #

    Sorry guys,

    instead of using name="caption" it should be name="post_title"

  6. mhartel
    Member
    Posted 11 months ago #

    works a treat - thank you!

  7. Migo5
    Member
    Posted 11 months ago #

    Hi
    Works fine, though had to change id="ug_caption" to id="uq_title", as well.
    [textarea name="post_title" class="textarea" id="ug_title" description="Title"]
    Thanks again
    Migo

Reply

You must log in to post.

About this Plugin

About this Topic