Ejemplo n.º 1
0
<div id="kwicksHolder" class="page-slider">
	<div id="kwicksBorder">

		<div class="flexslider">
			<ul class="slides">
			<?php 
// Catch and create the image for the slider
$i = 0;
foreach ($meta[MAX_SHORTNAME . '_featured_image'] as $sort => $value) {
    ?>
					<li class="kwick<?php 
    echo $i;
    ?>
">
						<?php 
    $img_array = max_get_slider_image($value, 'tablet', $i, false, false, false, 400);
    ?>
					</li>
					<?php 
    $i++;
}
?>
			</ul>
		</div>

	</div>
</div>

<span id="responsiveFlag"></span>

<script type="text/javascript">
Ejemplo n.º 2
0
	<?php 
    max_get_slider_image($_temp_meta, 'slides-slider', 0, false, false, false);
    ?>
	</div>
	<?php 
}
// Catch and create the image for the slider
$i = 1;
foreach ($meta[MAX_SHORTNAME . '_featured_image'] as $sort => $value) {
    ?>
	<div class="slide<?php 
    echo $no_hover;
    ?>
">
	<?php 
    max_get_slider_image($value, 'slides-slider', $i, false, false, false);
    $i++;
    ?>
	</div>
	<?php 
}
?>

</div>
<!--END .slider -->

<script type="text/javascript">
	jQuery(document).ready(function(){

		var slidesContainer = jQuery("#slider-<?php 
echo get_the_id();
Ejemplo n.º 3
0
<div id="nivoHolder"  class="page-slider">
	<div class="nivo-border">
		<div id="nivoSlider-post<?php 
echo get_the_ID();
?>
" class="nivoSlider">

			<?php 
$_temp_meta['imgID'] = get_post_thumbnail_id($post->ID);
if (function_exists('has_post_thumbnail') && has_post_thumbnail()) {
    max_get_slider_image($_temp_meta, 'full', 0, false, false, false, 400);
}
// Catch and create the image for the slider
$i = 0;
foreach ($meta[MAX_SHORTNAME . '_featured_image'] as $sort => $value) {
    max_get_slider_image($value, 'full', $i, false, false, false, 400);
    $i++;
}
?>
		</div>

		<?php 
// Catch and create the caption for the slider
$i = 0;
foreach ($meta[MAX_SHORTNAME . '_featured_image'] as $sort => $value) {
    // Get Image URL
    $img_array = image_downsize($value['imgID'], 'full');
    $img_url = $img_array[0];
    ?>

				<?php