No, it is now executed using adverts_single_rslides() the function is in wpadverts/includes/functions.php file.
You can replace it with your own using following code in your theme functions.php
add_action( "init", "replace_gallery_init", 1000 );
function replace_gallery_init() {
remove_action( "adverts_tpl_single_top", "adverts_single_rslides" );
add_action( "adverts_tpl_single_top", "replace_gallery_with_lightbox" );
}
function replace_gallery_with_lightbox( $post_id ) {
$images = get_children(array('post_parent'=>$post_id));
wp_enqueue_script( 'responsive-slides' );
if( empty( $images ) ) {
return;
}
?>
<div class="rslides_container">
<ul id="slides1" class="rslides rslides1">
<?php foreach($images as $tmp_post): ?>
<?php $image = wp_get_attachment_image_src( $tmp_post->ID, 'large' ) ?>
<?php if(isset($image[0])): ?>
<li>
<img src="<?php esc_attr_e($image[0]) ?>" alt="">
<?php if($tmp_post->post_excerpt || $tmp_post->post_content): ?>
<p class="caption">
<strong><?php esc_html_e($tmp_post->post_excerpt) ?></strong>
<?php esc_html_e($tmp_post->post_content) ?>
</p>
<?php endif; ?>
</li>
<?php endif; ?>
<?php endforeach; ?>
</ul>
</div>
<?php
}
In this code you can modify $images variable to display images the way you would like it to, but like i wrote in previous comment, right now it does not seem to be possible to sort using get_children() function.