예제 #1
0
파일: templating.php 프로젝트: vrxm/htdocs
/**
 * Outputs styling of current slider
 * @param bool $echo
 */
function the_slider_styles($echo = true)
{
    $output = the_slider_margin(false);
    $output .= the_slider_horizontal_align(false);
    $output .= the_slider_font_size(false);
    $settings = fa_get_options('settings');
    if ($settings['preload_sliders']) {
        $output .= the_slider_width();
        $output .= the_slider_height();
    }
    if ($echo) {
        echo $output;
    }
    return $output;
}
예제 #2
0
<?php

/**
 * @package Featured articles Lite - Wordpress plugin
 * @author CodeFlavors ( codeflavors[at]codeflavors.com )
 * @version 2.4
 * 
 * For more information on FeaturedArticles template functions, see: http://www.codeflavors.com/documentation/display-slider-file/
 */
the_slideshow_title();
?>
<div class="FA_overall_container_classic <?php 
the_slider_color();
?>
" style="<?php 
the_slider_width();
?>
" id="<?php 
echo $FA_slider_id;
?>
">	
	<div class="FA_featured_articles" style="<?php 
the_slider_height();
?>
">
	<?php 
foreach ($postslist as $post) {
    ?>
		<div class="FA_article <?php 
    the_fa_class();
    ?>