예제 #1
0
function kt_slideshows_position_callback()
{
    if (is_page()) {
        kt_show_slideshow();
    }
}
예제 #2
0
function kt_slideshows_position_callback()
{
    if (is_page()) {
        kt_show_slideshow();
    } elseif (is_singular('post')) {
        $layout = kt_post_option(null, '_kt_blog_post_layout', 'single_layout', 1, false);
        if (!post_password_required() && $layout == 3) {
            echo '<div class="entry-thumb-fullwidth">';
            kt_post_thumbnail('full', 'img-responsive', false);
            echo '</div>';
        }
    }
}