Creating a link via shortcode function
I have a plugin which doesn't do what I need it to so I have to edit the code. It's an image based plugin which I need to add links in the thumbnail descriptions. I have managed to edit the plugin to display whatever descriptions. However, I need to create a clickable link which isn't yet possible.
I added the ngg_custom_fields["img_url"] bit which displayed the URL that I have added but can I change the code somehow to make it clickable?
<p align="left" style="margin-left:0px;">
<?php echo $image->alttext ?>
<?php echo $image->ngg_custom_fields["img_url"] ?>