Exemplo n.º 1
0
<?php

yit_slider($name);
Exemplo n.º 2
0
	<?php 
    define('YIT_SLIDER_USED', true);
    // use static header of Appearance -> Header
} elseif (get_header_image() != '') {
    ?>
	    <div class="slider fixed-image inner group">
			<div class="fixed-image-wrapper" style="max-width: <?php 
    echo get_custom_header()->width;
    ?>
px;">
	        	<img src="<?php 
    header_image();
    ?>
" height="<?php 
    echo get_custom_header()->height;
    ?>
" width="<?php 
    echo get_custom_header()->width;
    ?>
" alt="<?php 
    bloginfo('name');
    ?>
 Header" />
            </div>
	    </div>
	<?php 
    define('YIT_SLIDER_USED', true);
    // use the slider
} else {
    yit_slider();
}