excluding the featured image thumbnail from slideshow

I am using this bit of code inside a template to show a gallery on this type of page no matter what the page (works great):

<?php  $id_gal = get_post_thumbnail_id(get_the_ID()); // gets the post thumbnail ID ?>
<?php echo do_shortcode('[tribulant_slideshow post_id="'.$post->ID.'" exclude="'.$id_gal.'"]'); ?>

The slideshow words great, however, it is not excluding the featured image from the slider, am I using your exclude shortcode incorrectly?

Even when I tried to exclude a particular number (with an actual id number) rather than a variable it did not work
Sign In or Register to comment.