function ac_render_post_slideshow($full_width)
{
    // Check the slideshow type
    $slideshow_type = ac_get_meta('slideshow_type');
    if ($slideshow_type == '') {
        // No slideshow
        return false;
    } elseif ($slideshow_type == 'ac') {
        // Render the AC slideshow
        return ac_render_ac_easy_slideshow($full_width);
    } elseif ($slideshow_type == 'ac_carousel') {
        // Render the AC slideshow
        return ac_render_ac_easy_slideshow($full_width, 'slick');
    } elseif ($slideshow_type == 'revslider') {
        if (ac_revslider_is_installed()) {
            // Get the RevSlider id
            $revolution_slideshow = ac_get_meta('revolution_slideshow');
            if ($revolution_slideshow) {
                putRevSlider($revolution_slideshow);
                return true;
            }
        }
    }
}
    // Apple a filter for child theme control
    $show_featured_image = apply_filters('ac_page_hide_featured_image', $show_featured_image);
    $hero_class = ' ' . shoestrap_container_class('ac-page-hero-img') . ' ' . ac_get_hide_until_fade_class();
    // Check for post type specific slideshows
    $post_type = get_post_type(ac_get_post_id());
    switch ($post_type) {
        case 'ac_portfolio':
            $show_ss = false;
            $template_type = ac_get_meta("template_type");
            if ($template_type == 'top-images') {
                ?>
<div class='ac-page-hero-img ac-no-container-padding <?php 
                echo esc_attr($hero_class);
                ?>
'><?php 
                ac_render_ac_easy_slideshow(true);
                ?>
</div><?php 
                $show_featured_image = false;
            } else {
                if ($template_type == 'top-images-carousel') {
                    ?>
<div class='ac-page-hero-img ac-no-container-padding <?php 
                    echo esc_attr($hero_class);
                    ?>
'><?php 
                    $images = ac_get_images_for_post(ac_get_post_id(), ac_get_meta('include_featured_image', null, ac_get_post_id()));
                    ac_render_slick_carousel_from_images($images);
                    ?>
</div><?php 
                    $show_featured_image = false;