Esempio n. 1
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>';
        }
    }
}
Esempio n. 2
0
		<div class="entry-meta">
		    <span class="post-date"><?php 
echo get_the_date('F j, Y');
?>
</span>
			<span class="blog-comment">
				<i class="fa fa-comment"></i>
				<span class="count-comment">
					<?php 
comments_number(esc_html__('0', 'kute-boutique'), esc_html__('1', 'kute-boutique'), esc_html__('%', 'kute-boutique'));
?>
				</span>
			</span>                                   
		</div>
		<?php 
kt_post_thumbnail();
?>
		<div class="blog-short-desc">
			<?php 
the_content();
?>
		</div>
	</article>
	<?php 
wp_link_pages(array('before' => '<div class="page-links"><span class="page-links-title">' . __('Pages:', 'kute-boutique') . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>', 'pagelink' => '<span class="screen-reader-text">' . __('Page', 'kute-boutique') . ' </span>%', 'separator' => '<span class="screen-reader-text">, </span>'));
?>
</div>
<?php 
$kt_display_about_author = kt_option('kt_display_about_author', 'yes');
$kt_enable_related_post = kt_option('kt_enable_related_post', 'yes');
if ($kt_display_about_author == "yes") {
Esempio n. 3
0
if ($layout == 6) {
    $sidebar['sidebar'] = '';
}
?>
<div class="container">
    <?php 
do_action('kt_before_main');
$main_column = $sidebar['sidebar'] ? '8' : '12';
$sidebar_class = $sidebar['sidebar'] ? 'sidebar-' . $sidebar['sidebar'] : 'no-sidebar';
$pull_class = $sidebar['sidebar'] == 'left' ? 'pull-right' : '';
?>
    <?php 
if (!post_password_required() && $layout == 4) {
    ?>
        <div class="entry-thumb-fullwidth"><?php 
    kt_post_thumbnail($imageSize, 'img-responsive', false);
    ?>
</div>
    <?php 
}
?>
    <div class="row main <?php 
echo esc_attr($sidebar_class);
?>
">
        <?php 
echo '<div class="main-content col-sm-12 col-xs-12 col-md-' . esc_attr($main_column . ' ' . $pull_class) . '">';
?>
            <?php 
while (have_posts()) {
    the_post();