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: https://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
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Twentythirteen childtheme images in loop error’ is closed to new replies.