34 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Located in Europe
+2 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