function thethe_image_slider_shortcode2($atts, $content = null)
{
    extract(shortcode_atts(array('name' => 'thethe_image_slider'), $atts));
    return get_thethe_image_slider($name);
}
Пример #2
0
                    <img  src="<?php 
    echo get_stylesheet_directory_uri();
    ?>
/images/logo_fw.png" width="160" height="350" alt="Forward" />
                </a>
            </div>
            <?php 
}
?>
            
            
            <div id="header-slider" style="float:right; margin-right:15px;">
				<?php 
if (function_exists('get_thethe_image_slider')) {
    if (is_home()) {
        print get_thethe_image_slider('mainslider-' . qtrans_getLanguage());
    }
}
?>
            </div>
            
            <div style="clear:both;"></div>
            
            
        </div><!-- /main_header -->

    </div>
    
    <?php 
if (is_home()) {
    ?>