Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/oscarvha/os-instagram-feed/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
WP 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 ]]