• Hi,

    I am using the following code to display all the images tagged with the same name as the custome page that called this template using the edia tags plugin

    <?php
    $media_items = get_attachments_by_media_tags('media_tags='.$post->post_name.'&return_type=li');
    
    if ($media_items) {
    echo "<ul>". $media_items. "</ul>";
    }
    ?>

    Does anyone know how I can add links around the images to the url specified in the media gallery?

    Rach

  • The topic ‘Images with links automatically added’ is closed to new replies.