Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ps3hero

    (@ps3hero)

    Repeater Template:

    <article>
        <div class="col_inner">
        	<p class="entry-meta">
                <span class="date_wrapper">
                    <span><?php the_time("M"); ?></span>
                    <span><?php the_time("Y"); ?></span>
                </span>
            </p>
        
            <h2 class="h3">
                <?php the_title(); ?>		
            </h2>
            
            <?php if ( has_post_thumbnail() ) { ?>
                <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'fullheight' ); $image = $image[0]; ?>
                <div class="loader_wrapper">
                <figure>
                    <img src="<?php echo $image; ?>" alt="">
                </figure>
                </div>
            <?php } ?>
    
            <div class="txt">
                <?php the_content(); ?>
            </div>
        </div>
    </article>
    Plugin Author Darren Cooney

    (@dcooney)

    @ps3hero Sorry for the delay. I’m just guessing, but likely the instagram plugin is using JS to load the images. And you’ll need to call a function to load them.

    I’d start by asking the Instagram plugin how (if possible) to load the IG images when a post is being loaded with Ajax.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Instagram posts not loading’ is closed to new replies.