Пример #1
0
                $output .= '    <div class="gallery-title">' . $image_title . '</div>';
                $output .= '    <div class="gallery-caption">' . $caption . '</div>';
                $output .= '</div>';
                $lightbox_push_top = 'lightbox-push-top';
            }
            if (isset($custom_links[$i]) && $custom_links[$i] != '') {
                $output .= '<a href="' . $custom_links[$i] . '" class="mk-image-shortcode-lightbox"><i class="mk-jupiter-icon-plus-circle"></i></a>';
            } else {
                $output .= '<a href="' . $lightbox_full_size[0] . '" alt="' . $alt . '" title="' . $title . '" data-fancybox-group="gallery-group-' . $uniqid . '" class="mk-lightbox ' . $lightbox_push_top . ' mk-image-shortcode-lightbox"><i class="mk-jupiter-icon-plus-circle"></i></a>';
            }
        }
        $output .= '<span class="gallery-inner"><img alt="' . $alt . '" title="' . $title . '" src="' . $image_output_src . '" /></span>';
        if ($hover_scenarios == 'none') {
            $output .= '</a>';
        }
        $output .= '</div></article>' . "\n\n";
        $i++;
        $mansory_pointer_css = '';
    }
}
$output .= '</section>';
$output .= '<a class="mk-loadmore-button" style="display:none;" href="#"><i class="mk-moon-loop-4"></i><i class="mk-moon-arrow-down-4"></i>' . __('Load More', 'mk_framework') . '</a>';
if ($pagination == 'true') {
    ob_start();
    mk_theme_blog_pagenavi('', '', $r, $paged);
    $output .= ob_get_clean();
}
$output .= '<div class="mk-preloader"></div>';
$output .= '</div>';
wp_reset_postdata();
echo $output;
Пример #2
0
        }
        ?>
								
							</div>
							<div class="the-excerpt"><p><?php 
        the_excerpt_max_charlength(200);
        ?>
</p></div>
						</article>

					

					<?php 
        $post_type = '';
    }
    mk_theme_blog_pagenavi($before = '', $after = '', NULL, $paged);
    wp_reset_query();
}
?>

			</section>
			</div>

		<?php 
if ($mk_options['search_page_layout'] != 'full') {
    get_sidebar();
}
?>
		<div class="clearboth"></div>
		</div>
	</div>