{"id":138,"date":"2017-01-31T17:37:56","date_gmt":"2017-01-31T17:37:56","guid":{"rendered":"http:\/\/tommustester.wpengine.com\/?page_id=138"},"modified":"2017-01-31T17:37:56","modified_gmt":"2017-01-31T17:37:56","slug":"instagram","status":"publish","type":"page","link":"https:\/\/rossk.uk\/?page_id=138","title":{"rendered":"Elements &#8211; Instagram"},"content":{"rendered":"<p>[vc_row full_width=&#8221;stretch_row&#8221;][vc_column]\n\t\t\t<section class=\"imagebg image--light cover cover-blocks bg--secondary \" >\n\t\t\t\t<div class=\"background-image-holder\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1253\" src=\"https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-scaled.jpg\" class=\"attachment-full size-full\" alt=\"\" srcset=\"https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-scaled.jpg 2560w, https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-300x147.jpg 300w, https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-1024x501.jpg 1024w, https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-768x376.jpg 768w, https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-1536x752.jpg 1536w, https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-2048x1002.jpg 2048w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><\/div>\n\t\t\t\t<div class=\"container\">\n\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t<div class=\"col-sm-6 col-md-5\">\n\t\t\t\t\t\t\t<div>[vc_column_text]<\/p>\n<h1>Instagram<\/h1>\n<p class=\"lead\">These modular elements can be readily used and customized across pages and in different blocks.<\/p>\n<hr class=\"short\" \/>\n<p>Explore all of Stack&#8217;s modular elements<br \/>\nat the\u00a0<a href=\"\/elements\/\">Element Index Page \u2192<\/a>[\/vc_column_text]<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div><!--end of row-->\n\t\t\t\t<\/div><!--end of container-->\n\t\t\t\t\n\t\t\t<\/section>\n\t\t[\/vc_column][\/vc_row][vc_section css=&#8221;.vc_custom_1498220859148{padding-top: 0px !important;}&#8221; ebor_docs=&#8221;&#8221;][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;5\/12&#8243;]<div class=\" boxed--lg bg--secondary  boxed boxed--border\" ><div class=\"container\">[vc_column_text]<\/p>\n<h4>Basic Feed<\/h4>\n<p>Stack uses the <a href=\"http:\/\/spectragram.js.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Spectragram<\/a> plugin in conjunction with the Instagram Developer API to create galleries that pull media from your Instagram account.<\/p>\n<p>Once you&#8217;ve set up your developer account and obtained your Client ID and Access token, the feed is controlled by data attributes on the <strong>.instafeed<\/strong> element.<\/p>\n<p>The most basic usage requires the <strong>data-user-name<\/strong> attribtue which specifies the Instagram account to pull images from.[\/vc_column_text]<\/div><\/div>[\/vc_column][vc_column width=&#8221;7\/12&#8243;]<div class=\"instafeed gaps \" data-user-name=\"tommusrhodus\" data-amount=\"3\" data-grid=\"3\"><\/div>[\/vc_column][\/vc_row][\/vc_section][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;5\/12&#8243;]<div class=\" boxed--lg bg--secondary  boxed boxed--border\" ><div class=\"container\">[vc_column_text]<\/p>\n<h4>Specifying Count<\/h4>\n<p>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 <strong>data-amount<\/strong> attribute. This attribute should be a numerical value from 1 &#8211; 20.<\/p>\n<p>[\/vc_column_text]<\/div><\/div>[\/vc_column][vc_column width=&#8221;7\/12&#8243;]<div class=\"instafeed gaps \" data-user-name=\"tommusrhodus\" data-amount=\"9\" data-grid=\"3\"><\/div>[\/vc_column][\/vc_row][\/vc_section][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;5\/12&#8243;]<div class=\" boxed--lg bg--secondary  boxed boxed--border\" ><div class=\"container\">[vc_column_text]<\/p>\n<h4>Specifying Grid<\/h4>\n<p>By default, the images will stack vertically on top of one another. To arrange the images in a grid, use the <strong>data-grid<\/strong> attribute. The value will specify how many images will be placed in each row.<\/p>\n<p>In the example below, <strong>data-grid<\/strong> is set to 5, hence each row containes 5 images.[\/vc_column_text]<\/div><\/div>[\/vc_column][vc_column width=&#8221;7\/12&#8243;]<div class=\"instafeed gaps \" data-user-name=\"tommusrhodus\" data-amount=\"10\" data-grid=\"5\"><\/div>[\/vc_column][\/vc_row][\/vc_section][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;5\/12&#8243;]<div class=\" boxed--lg bg--secondary  boxed boxed--border\" ><div class=\"container\">[vc_column_text]<\/p>\n<h4>Gapless Grid<\/h4>\n<p>Add the class <strong>.instafeed&#8211;gapless<\/strong> to the <strong>.instafeed<\/strong> element to remove the gaps between each of the grid times.[\/vc_column_text]<\/div><\/div>[\/vc_column][vc_column width=&#8221;7\/12&#8243;]<div class=\"instafeed instafeed--gapless \" data-user-name=\"tommusrhodus\" data-amount=\"9\" data-grid=\"3\"><\/div>[\/vc_column][\/vc_row][\/vc_section][vc_row][vc_column][vc_column_text]<\/p>\n<h2 style=\"text-align: center;\">Looking for styled Instagram sections?<\/h2>\n<p style=\"text-align: center;\"><a class=\"btn btn--primary type--uppercase\" href=\"\/sections\/instagram\/\">View Instagram Sections<\/a><\/p>\n<p class=\"type--fine-print\" style=\"text-align: center;\">or try the\u00a0<a href=\"http:\/\/tommusrhodus.theme-demo.net\/stackwordpresstheme\" target=\"_blank\" rel=\"noopener noreferrer\">admin demo &#x2197;<\/a><\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row full_width=&#8221;stretch_row&#8221;][vc_column][\/vc_column][\/vc_row][vc_section css=&#8221;.vc_custom_1498220859148{padding-top: 0px !important;}&#8221; ebor_docs=&#8221;&#8221;][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;5\/12&#8243;][\/vc_column][vc_column width=&#8221;7\/12&#8243;][\/vc_column][\/vc_row][\/vc_section][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;5\/12&#8243;][\/vc_column][vc_column width=&#8221;7\/12&#8243;][\/vc_column][\/vc_row][\/vc_section][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;5\/12&#8243;][\/vc_column][vc_column width=&#8221;7\/12&#8243;][\/vc_column][\/vc_row][\/vc_section][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom:&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":33,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-138","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/pages\/138"}],"collection":[{"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rossk.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=138"}],"version-history":[{"count":0,"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/pages\/138\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/pages\/33"}],"wp:attachment":[{"href":"https:\/\/rossk.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}