Hi,
I want to mask the full file uploaded url and just want to give filename. How can I do this?
Hi,
I want to mask the full file uploaded url and just want to give filename. How can I do this?
any update on this?
Can you give me more details on what you are trying to accomplish please?
In a Gravity form there is an option of File upload which I am using. And on the front end I am displaying the data whatever user has submitted through this form in a form of a Post. Now under this post description page , the File which is being uploaded by user shows full URL like:
http:/mysite.com/wp-content/uploads/gravity_forms/4-029b18596def1280a787b9aeb748707d/2012/04/filename.
And I dont want to display this whole path instead just the Filename. how can I do this?
Thanks
did you got what I am trying to achieve?
I did, and it will require some PHP code to achieve this. Basically not a Gravity Forms issue anymore, you'll have to change how the data is displayed. How are you displaying the file location in your theme? You are most likely going to have to write a function in your functions.php file to grab the URL and parse out the piece you need before displaying it on your theme.
ok got it.