[NextGen plugin] Adding links in descriptions (1 post)

  1. rhythmofthecosmos
    Posted 3 years ago #


    I have added all the custom fields etc for the NextGen plugin. I can now add links to images and use the descriptions to display. I want to create links though in the descriptions for the source of the images.

    I have managed to get the description to display the custom field link but I was wondering how I would make it clickable

    <p align="left" style="margin-left:0px;">
    <?php echo $image->alttext ?>

    <?php echo $image->ngg_custom_fields["img_url"] ?>

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by rhythmofthecosmos
  • This topic is not resolved
  • WordPress version: 3.5


No tags yet.