Example #1
0
?>
" />
<?php 
wp_head();
?>
</head>

<body <?php 
body_class();
?>
>
    <div id="parent-wrapper" class="parent-wrapper grid-col-16">
        <div id="wrapper" class="wrapper grid-col-16">

        <?php 
if (!decent_get_option('disable_header')) {
    ?>
            <div class="header-bg-section clearfix">
                <div id="header-section" class="header-section grid-col-16 clearfix">
                    <div id="logo-section" class="logo-section grid-col-16 grid-float-left clearfix"><?php 
    decent_logo();
    ?>
</div>
                    <div id="my-image"><img src="<?php 
    echo get_bloginfo('template_directory');
    ?>
/images/ashutosh-pandey.jpg" alt="Ashutosh Pandey"/></div>
                    <?php 
    // get_sidebar('top')
    ?>
                </div><!-- header section ends -->
/**
 *
 */
function decent_customizer_css()
{
    global $wp_customize;
    $output = '';
    $options_color = array('color_site_title' => '#wrapper .site-title a', 'color_site_desc' => '#wrapper .site-description', 'color_blog_p_title' => '#wrapper .loop-post-title h1 a', 'color_blog_p_meta' => '#wrapper .loop-post-meta, #wrapper .loop-post-meta .loop-meta-comments a', 'color_blog_p_content' => '#wrapper .loop-post-excerpt', 'color_p_title' => '#wrapper .post-title h1', 'color_p_meta' => '#wrapper .post-meta', 'color_p_content' => '#wrapper .post-content');
    $output .= "\n" . '<style type="text/css">';
    foreach ($options_color as $option => $location) {
        if (decent_get_option($option)) {
            $output .= $location . '{color:' . decent_get_option($option) . ';}';
        }
    }
    $output .= '</style>' . "\n";
    echo $output;
}