Show file upload images with custom link name

By: Carlos Ossa | Asked: 02/18/2023
ForumsCategory: General questionsShow file upload images with custom link name
Carlos Ossa asked 2 years ago
Hello.
The following shortcode allows me to add a link to display an image [x add_link=1 new_tab=1 show_filename=1], but I want to add a custom name to the link that is "Open" and not the file name.
How can I do this?
Rob LeVineRob LeVine replied 2 years ago

A screenshot or picture of your goal would help me. I can think of some simple jQuery things to do, but I don't understand your ultimate goal.

Carlos Ossa replied 2 years ago

Excuse me if I didn't express myself well.
If what I want is to give a name to the link. I want to name the link as "Open" or "View" instead of the uploaded file name.

1 Answers
Walter JonesWalter Jones answered 2 years ago
open meaning you want to name the link instead of showing the url as the link? that will be difficult especially if your uploading multiple files.  Do you just want to make the file name the link instead?
Carlos Ossa replied 2 years ago

Excuse me if I didn't express myself well.
If what I want is to give a name to the link. I want to name the link as "Open" or "View" instead of the uploaded file name.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right