40 posts
  • 5 Years of Membership
  • Author Level 6
  • Collector Level 4
  • Exclusive Author
+1 more
synesthete
says

Hi all,

does anyone know, how to receive thumbnail (with predefined add_image_size) from slider loop?

if ( function_exists( 'get_option_tree' ) ) {
  $slides = get_option_tree( 'my_slider', $option_tree, false, true, -1 );
  foreach( $slides as $slide ) {

    echo '<img src="'.$slide['image'].'" alt="'.$slide['title'].'" />';

  }
}

thanks in advance

by
by
by
by
by
by