GW-IG-Feed is an Instagram feed plugin made by George Whitcher.
PHP CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gw-ig-feed
.gitignore
README.md

README.md

##GW-IG-Feed

GW-IG-Feed is an Instagram feed plugin made by George Whitcher for Wordpress. Due to restrictions on the Instagram API you can only get 20 items at this time.

  1. Download and extract contents to the /wp-content/plugins/ folder
  2. Activate plugin.
  3. Visit plugin administration page and click "Sign in with Instagram"
  4. Click "Authorize".
  5. You will be forwarded to a URL and back with the access token now filled in.
  6. Enter your Instagram username and submit the form.
  7. Use the shortcode or PHP code provided below to display your Instagram feed.

####Shortcode GW-IG-Feed comes with a shortcode. Once configured you can display the feed anywhere you like with simply inserting [GW-IG-Feed] into any page.

####Widget GW-IG-Feed comes with a widget. Once configured you can display the widget anywhere you like by going to Appearance > Widgets > Add GW-IG-Feed into any widget area.

####PHP To insert GW-IG-Feed into a PHP page, activate the plugin and then enter the following into the page in which you would like it displayed.

  1. $instagramgw = new InstagramGW();
  2. $instagramgw->instagram_gw_shortcode();

OR (to design your own (see administration.php for example))

  1. $instagramgw = new InstagramGW();
  2. $instagramgw_array = $instagramgw->instagram_gw_init();
  3. foreach($instagramgw_array as $instagw) { //your code here }