%PDF- %PDF-
| Direktori : /home/vacivi36/public_bakcup/old/wp-content/themes/inspiry-medicalpress/ |
| Current File : /home/vacivi36/public_bakcup/old/wp-content/themes/inspiry-medicalpress/single-gallery-item.php |
<?php
get_header();
get_template_part('template-parts/banner');
?>
<div class=" page-top clearfix">
<div class="container">
<div class="row">
<div class="<?php bc_all('12'); ?>">
<h2><?php the_title(); ?></h2>
<nav class="bread-crumb">
<?php theme_breadcrumb(); ?>
</nav>
</div>
</div>
</div>
</div>
<div class="gallery-single-wrapper clearfix">
<article class="gallery-single clearfix hentry">
<div class="container">
<div class="row">
<div class="<?php bc_all('12') ?>">
<div class="next-prev-posts pull-right clearfix">
<?php previous_post_link('%link', ''); ?>
<?php next_post_link('%link', ''); ?>
</div>
</div>
</div>
<?php
if (have_posts()) :
while (have_posts()) :
the_post();
?>
<div class="row">
<div class="<?php bc('7', '7', '7', ''); ?>">
<div class="gallery-single-post clearfix">
<div class="clearfix" id="slider">
<?php inspiry_list_custom_gallery_images('gallery-post-single'); ?>
</div>
<?php
$size_thumb = 'gallery-post-single-thumb';
$gallery_images = rwmb_meta('MEDICAL_META_custom_gallery', 'type=plupload_image&size=' . $size_thumb, $post->ID);
if (!empty($gallery_images)) {
?>
<div id="carousel" class="flexslider">
<ul class="slides">
<?php
foreach ($gallery_images as $gallery_image) {
$caption = (!empty($gallery_image['caption'])) ? $gallery_image['caption'] : $gallery_image['alt'];
echo '<li>';
echo '<img src="' . $gallery_image['url'] . '" alt="' . $gallery_image['title'] . '" />';
echo '</li>';
}
?>
</ul>
</div>
<?php
}
?>
</div>
</div>
<div class="<?php bc('5', '5', '5', ''); ?>">
<div class="side-content clearfix">
<h1 class="entry-title"><?php the_title(); ?></h1>
<div class="gallery-item-types">
<i class="fa fa-tags"></i>
<?php the_terms($post->ID, 'gallery-item-type', ' ', ', ', ' '); ?>
</div>
<div class="entry-content">
<?php
/* output contents */
the_content();
?>
</div>
</div>
</div>
</div>
<?php
endwhile;
endif;
?>
</div>
</article>
<?php
global $theme_options;
if ( $theme_options[ 'display_related_gallery_items' ] ) {
get_template_part( 'template-parts/related-gallery-items' );
}
?>
</div>
<?php get_footer(); ?>