Plugin to get instagram media feed of some user for a custom wordpress themes.
- httpful, already on submodules
- Clone the repository
- Update Submodules $ git submodule init $ git submodule update
In function.php
file of your theme load the Instagram file, like this:
require_once('Instagram.php');
To get a Instagram feed call this function:
Instagram::get_feed('999999', 16);
The first argument is a userid of user you want to get a photos and videos, the second is optional, is a limit of media quantity you want to call, the default is 16.
I have a lot things to do in this plugins, this is a initial beta version, if you want to use and increase this class, fork me and let's do the better world.
See more in: http://blog.egermano.com/blog/2013/07/30/instagram-wp-plugin/
Thanks.