easy instagram plugin not linking to the pictures
-
Hello
I have managed to modify the easy instagram plugin to suit my needs for appearance on my blog at http://blog.flaxpond.net
I have tried a few times at making the thumbnails links to the full picture but only have managed at breaking the plugin and getting it deactivated.
I have basically commented out a few lines that display comments titles and so forth which I did not want and in this section I gave it a shot at the links but.. no luck.
Here is where I think is relevant from easy-instagram/index.php
if ( isset( $instagram_elements ) ) { $crt = 0; foreach ( $instagram_elements as $elem ) { $image_url = $elem['thumbnail']['url']; $width = $elem['thumbnail']['width']; $height = $elem['thumbnail']['height']; /* $out .= '<div class="easy-instagram-thumbnail-wrapper">'; */ $out .= '<img src="' . $image_url . '" alt="" style="width:' . $width. 'px; height: ' . $height . 'px;" class="easy-instagram-thumbnail" />'; /* $out .= '<div class="easy-instagram-thumbnail-author">by ' . $elem['caption_from'] . '</div>'; $out .= '<div class="easy-instagram-thumbnail-caption">' . $elem['caption_text'] . '</div>'; $elem_time = ( $elem['caption_created_time'] > $elem['created_time'] ) ? $elem['caption_created_time'] : $elem['created_time']; $out .= '<div class="easy-instagram-thumbnail-time">' . self::relative_time( $elem_time ) . __( ' using Instagram', 'Easy_Instagram' ) . '</div>'; */ /* $out .= '</div>'; */ $crt++; if ( $crt >= $limit ) { break; } } } return $out; }
is there a simple solution? Oh and I am using the short code option if that matters.
Thank you very much for any and all help you can provide!
- The topic ‘easy instagram plugin not linking to the pictures’ is closed to new replies.