public function getInstagramPosts() { $id = self::$config['instagram']['enclothed_id']; $instagram = ldmStreams::getInstagram(); $posts = $instagram->getUserMedia($id); return $posts; }
<div class="e_icon"></div> <div class="social_details"> <span class="social_author">Enclothed</span> <span class="social_date"><?php echo get_fb_posts_time(1, 30, false); ?> </span> </div> <a href="https://www.facebook.com/Enclothed" target="_blank"><div class="share_icon"></div></a> </div> </div> </div> <?php $streams = new ldmStreams(); ?> <!-- HIDDEN BLOG FEED 2 --> <!-- <div class="col-sm-6 featured_blog_boxes_wrapper featured2"> <?php $args = array('posts_per_page' => 1, 'offset' => 1, 'category' => 103); $myposts = get_posts($args); foreach ($myposts as $post) { setup_postdata($post); ?> <?php $img = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'home-featured'); ?> <div class="col-sm-12 featured_blog_box_left" style="background-image: url(<?php