hello,
is it possible to get the title of the post in the array?
<img data-slider='<?php the_ID(); ?>'/> <?php the_post_thumbnail(
array(200, 200),
array(
'class' => 'thumbnail-slider',
'alt' => 'post thumbnail',
'title' => $title,
'data-slider' => $id
)
); ?>
i get the ID, but not the title (I also tried $post-title)