WordPress.org

Ready to get started?Download WordPress

Forums

Visual Form Builder
[resolved] File upload URL not hyperlinked (2 posts)

  1. Tom Auger
    Member
    Posted 1 year ago #

    Another interesting quirk I discovered in the Entries Detail view - when dealing with a file upload, the link to the file is not hyperlinked. Not a big deal, right - you can just select, copy and paste the URL into the navbar. Well. You and I can do that in our sleep, but your average plugin user who is not a coder might find that a challenge. Besides, it's barely any extra work for you to wrap that URL in a hyperlink, right?

    Is there a reason you decided not to do this that I'm not thinking of?

    http://wordpress.org/extend/plugins/visual-form-builder/

  2. Matthew Muro
    Visual Form Builder Pro
    Plugin Author

    Posted 1 year ago #

    It should be linked for you.

    Here is the relevant code:
    $body .= '<tr><td><strong>' . stripslashes( $field->field_name ) . ': </strong></td><td><a href="' . $uploaded_file['url'] . '">' . $uploaded_file['url'] . '</a></td></tr>' . "\n";

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic