WordPress.org

Support

Support » Plugins and Hacks » [Resolved] The shortcode for the title field

[Resolved] The shortcode for the title field

  • 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/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Rinat Khaziev

    @rinatkhaziev

    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

    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]

    I’m having the same problem… any resolution?

    Plugin Author Rinat Khaziev

    @rinatkhaziev

    Sorry guys,

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

    works a treat – thank you!

    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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] The shortcode for the title field’ is closed to new replies.