Exemplo n.º 1
0
/**
 * 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;
}
Exemplo n.º 2
0
 * 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();
    ?>
">	
			<div class="FA_wrap">
				<?php 
    /**
     * Template function to display post image.
     */
    the_fa_image();