OS instagram Feed
Feed Instagram for WP
by Oscar Sanchez · github.com/oscarvha/os-instagram-feed · website
★ 1stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/oscarvha/os-instagram-feed/archive/refs/heads/master.zipWP Plugin Return Media For intagram Plugin With Transient during 24 hours
Installation
Install in your WP
Usage
Insert in your theme
$medias = getMediasInstagramByAccount('account instagram',number of post);
Foreach medias
<div class="instagram-home__container">
<?php foreach($medias as $media) : ?>
<div class="instagram-feed-image">
<a href="<?php echo $media['link'] ?>" target="_blank" title="<?php echo $media['title'] ?>">
<img src="<?php echo $media['image'] ?>" />
</a>
</div>
<?php endforeach; ?>
</div>
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
Credits
Oscar Sanchez oscarsan1986@gmail.com ]]