Tagged: external links
In MediaPress when I look at a WordPress page with a gallery on it, the image thumbnails appear.
I need to be able to see a clickable link on each image that leads to an external web page.
I tried putting an URL into the title and description, didn’t work.
I tried putting html into title and description ->
‘click here for download and location.‘
Doesn’t work.
I am just directed to another WordPress page.
Is there a way to include a hyperlink to an external URL?
Thanks
In WordPress I pick MediaPress ->
I Pick “All Galleries”, I pick a Gallery. ->
In “Edit Gallery” I pick “Edit Media” ->
In the “Title” tab I have entered ->
< a href=”https://imgur.com/C2oXyra”>link text
and
and
and
<https://imgur.com/C2oXyra>
and
<p>https://imgur.com/C2oXyra</p>
‘<p>https://imgur.com/C2oXyra</p>’None work to place a link under the thumbnails of the opening page of the gallery.
Thanks
Hello Jack,
Thank you for sharing the details. Sorry, But still not getting it. You can try this following code in your bp-custom.php (more info: https://codex.buddypress.org/themes/bp-custom-php/).
https://gist.github.com/raviousprime/c14532a281f478e2bef1148fc6865946
Also you need to override related gallery template in the active theme. To add some actions before and afer thumbnail.
The above code provide functionality to add a new custom link text field in gallery edit media screen. You can put custom link to media over there. It will navigate to the media thumbnail.
Please give a shot and let me know. If works for you or not.
Regards
Ravi
You must be logged in to reply to this topic.