instagram.tpl.php in Social Feed 7
Same filename and directory in other branches
This template handles the layout of Social Feed instagram block.
Variables available:
- $instagram_images: An array of the Instagram pictures.
- $instagram_image: A single picture fetched from $instagram_image.
File
templates/instagram.tpl.phpView source
<?php
/**
* @file
* This template handles the layout of Social Feed instagram block.
*
* Variables available:
* - $instagram_images: An array of the Instagram pictures.
* - $instagram_image: A single picture fetched from $instagram_image.
*/
?>
<ul>
<?php
foreach ($instagram_images as $instagram_image) {
?>
<li>
<img src="<?php
echo $instagram_image;
?>">
</li>
<?php
}
?>
</ul>