WordPress.org

Support

Support » Plugins and Hacks » Dynamic Featured Image » [Resolved] Twentythirteen childtheme images in loop error

[Resolved] Twentythirteen childtheme images in loop error

  • Hi Ankit,

    Would love to use this super awesome feature but somehow I cant get it to work. Added the standard featured image and 1 extra one, featured image 2. Then edited page.php in my childtheme:

    Replaced <?php the_post_thumbnail(); ?> with:

    <?php
       while ( have_posts() ) : the_post();
    
       if( function_exists('dfiGetFeaturedImages') ) {
           $featuredImages = dfiGetFeaturedImages();
       }
    
       endwhile;
    ?>

    Generates my content to be repeated multiple times, check this page to see the bug: http://www.martijndegroot-com.nl04.members.pcextreme.nl/over-martijn/communicatieadvies/

    Make sure you let it load long enough 🙂

    Tried some other ways of getting them to load, all without success, either they dont load at all or this repeating of the content occurs.

    Any help appreciated.

    Kind Regards,
    Thomas Borkent

    http://wordpress.org/plugins/dynamic-featured-image/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ankit Pokhrel

    @ankitpokhrel

    Hi Thomas,

    Thank you for using my plugin :). Could you send me your page.php file at ankitpokhrel@gmail.com so that i can examine it? I guess you are using loop inside a loop.

    Thanks,
    Ankit

    Thank you for your super fast and to the point support!, works like a charm now!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Twentythirteen childtheme images in loop error’ is closed to new replies.
Skip to toolbar