WordPress.org

Support

Support » Plugins and Hacks » [NextGen plugin] Adding links in descriptions

[NextGen plugin] Adding links in descriptions

  • Hi,

    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”] ?>
    </p>

    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?

  • The topic ‘[NextGen plugin] Adding links in descriptions’ is closed to new replies.
Skip to toolbar