Instagram

These modular elements can be readily used and customized across pages and in different blocks.


Explore all of Stack’s modular elements
at the Element Index Page →

Basic Feed

Stack uses the Spectragram plugin in conjunction with the Instagram Developer API to create galleries that pull media from your Instagram account.

Once you’ve set up your developer account and obtained your Client ID and Access token, the feed is controlled by data attributes on the .instafeed element.

The most basic usage requires the data-user-name attribtue which specifies the Instagram account to pull images from.

Specifying Count

By default, the feed will pull in the 12 most recent images on your account. You can specify the exact amount (20 being the maximum) to pull in using the data-amount attribute. This attribute should be a numerical value from 1 – 20.

Specifying Grid

By default, the images will stack vertically on top of one another. To arrange the images in a grid, use the data-grid attribute. The value will specify how many images will be placed in each row.

In the example below, data-grid is set to 5, hence each row containes 5 images.

Gapless Grid

Add the class .instafeed–gapless to the .instafeed element to remove the gaps between each of the grid times.

Looking for styled Instagram sections?

View Instagram Sections

or try the admin demo ↗

DISCLAIMER:
Stephen Duncan, DCH., S.PhD., PSc.D, FSAC is not a licensed medical doctor and is not licensed or credentialed by the Texas Medical Board, nor does he choose to be based on his personal and professional beliefs regarding natural healing modalities. Stephen Duncan, DCH., S.PhD., PSc.D, FSAC in no way provides procedures, services, labs, or treatments which should be perceived as recommendations made by a license, medical healthcare provider. Stephen Duncan, DCH., S.PhD., PSc.D, FSAC believes that God has created within our bodies the perfect signatures for healing. It is his call/desire to help each individual clear the pathways that block healing and create disharmony by utilizing God’s great pharmacy-the Earth.
The information and resources presented on this site are not intended to replace the care of a qualified health professional. While the ideas presented here are based on extensive research, they are not intended to provide specific advice for any individual person’s medical concerns. The resources on this site are for educational purposes; it is recommended that each individual choose a trusted health care professional for diagnosis and treatment purposes. The author of this site encourages visitors to educate themselves about the various theories and treatment approaches for health care issues, so that the safest, most effective approach can be identified.