/Instagram-for-Custom-WP-Themes

Plugin to get instagram feed of some user for a custom wordpress themes.

Primary LanguagePHPMIT LicenseMIT

Instagram for Custom WP Themes

Build Status

Plugin to get instagram media feed of some user for a custom wordpress themes.

Dependencies

Install

  • Clone the repository
  • Update Submodules $ git submodule init $ git submodule update

Usage

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.

References

Fork me

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.