Ejemplo n.º 1
0
function flatio_custom_style()
{
    $output = '';
    $output .= '<style>';
    $output .= '.navbar-default .navbar-nav li a, .navbar-default .navbar-brand { color: ' . get_theme_mod('flatio_menu_color', '#FFFFFF') . ' }';
    $output .= '.navbar { background: ' . flatio_hex2rgba(get_theme_mod('flatio_menu_bg_color', '#FFFFFF'), 0.4) . ' }';
    $output .= '</style>';
    echo $output;
}
Ejemplo n.º 2
0
    ?>
" data-inclass="<?php 
    echo esc_attr($flatio_inclass);
    ?>
" style="background-image: url(<?php 
    echo esc_url(get_theme_mod('flatio_pagebgimage_4', get_template_directory_uri() . '/images/background.jpg'));
    ?>
);">
		<div id="<?php 
    echo esc_attr(preg_replace('/\\s+/', '', get_theme_mod('flatio_name_4', 'blog')));
    ?>
-wrapper" class="section-wrapper section-wrapper-4" style="background-color: <?php 
    echo esc_attr(get_theme_mod('flatio_pagebgcolor_4', '#0FA2CB'));
    ?>
;background-color: <?php 
    echo esc_attr(flatio_hex2rgba(get_theme_mod('flatio_pagebgcolor_4', '#61CAFF'), 0.6));
    ?>
;">
			<div class="container">
				<?php 
    if (get_theme_mod('flatio_page_4') > 0) {
        ?>
					<h1 class="h1 section-title" style="color:<?php 
        echo esc_attr(get_theme_mod('flatio_app_title_color', '#FFFFFF'));
        ?>
"><?php 
        echo esc_attr(get_the_title(get_theme_mod('flatio_page_4')));
        ?>
</h1>
					<?php 
        $flatio_post = get_post(get_theme_mod('flatio_page_4'));