Esempio n. 1
0
/**
 * Wp in Progress
 * 
 * @author WPinProgress
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
 * It is also available at this URL: http://www.gnu.org/licenses/gpl-3.0.txt
 */
function novalite_before_content_function()
{
    global $post;
    ?>


    <div class="line"> 
    
        <div class="entry-info">
       
            <div class="entry-date"><strong> <?php 
    _e('Posted on:', 'wip');
    ?>
 </strong> <?php 
    echo get_the_date();
    ?>
 <span class="sep">/</span> </div>
            
            <?php 
    if (comments_open() && novalite_setting('wip_view_comments') == "on") {
        ?>

                <div class="entry-comments"> <strong><?php 
        _e('Comments: ', 'wip');
        ?>
</strong>
                    <?php 
        echo comments_number('<a href="' . get_permalink($post->ID) . '#respond">' . __("No comments", "wip") . '</a>', '<a href="' . get_permalink($post->ID) . '#comments">1 ' . __("comment", "wip") . '</a>', '<a href="' . get_permalink($post->ID) . '#comments">% ' . __("comments", "wip") . '</a>');
        ?>

                <span class="sep">/</span> </div> 
            <?php 
    }
    ?>

            
            <div class="entry-standard"> 
            	<strong> <?php 
    _e('Categories: ', 'wip');
    echo the_category(', ');
    ?>
 </strong>
            </div>

        </div>

    </div>
    
<?php 
}
Esempio n. 2
0
/**
 * Wp in Progress
 * 
 * @author WPinProgress
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
 * It is also available at this URL: http://www.gnu.org/licenses/gpl-3.0.txt
 */
function novalite_after_content_function()
{
    if (is_home() || is_category() || is_page()) {
        the_excerpt();
    } else {
        the_content();
        the_tags('<footer class="line"><span class="entry-info"><strong>' . __('Tags', 'wip') . ':</strong> ', ', ', '</span></footer>');
        if (get_post_format()) {
            echo '<footer class="line"><span class="entry-info"><strong>' . __('Post type', 'wip') . ':</strong> ' . ucfirst(get_post_format()) . '</span></footer>';
        }
        if (novalite_setting('wip_view_comments') == "on") {
            comments_template();
        }
    }
}
Esempio n. 3
0
function novalite_social_function()
{
    $socials = array("icon-facebook" => "facebook", "icon-twitter" => "twitter", "icon-flickr" => "flickr", "icon-google-plus" => "google", "icon-linkedin" => "linkedin", "icon-pinterest" => "pinterest", "icon-tumblr" => "tumblr", "icon-youtube" => "youtube", "icon-skype" => "skype", "icon-instagram" => "instagram", "icon-github" => "github", "icon-envelope-alt" => "email");
    $i = 0;
    $html = "";
    foreach ($socials as $social_icon => $social_name) {
        if (novalite_setting('novalite_footer_' . $social_name . '_button')) {
            $i++;
            $html .= '<a href="' . novalite_setting('novalite_footer_' . $social_name . '_button', 'url') . '" target="_blank" class="social"><i class="' . $social_icon . '" ></i></a>';
        }
    }
    if (novalite_setting('novalite_footer_rss_button') == "on") {
        $i++;
        $html .= '<a href="' . get_bloginfo('rss2_url') . '" title="Rss" class="social rss"> <i class="icon-rss" ></i>  </a> ';
    }
    if ($i > 0) {
        ?>

        <section class="bottom bottom_socials">
        
            <div class="container">
            
                <div class="row copyright" >
                
                    <div class="span12">
            
                        <div class="socials">
                            
                            <?php 
        echo $html;
        ?>
                            
                        </div>
            
                    </div>
                    
                </div>
                
            </div>
            
        </section>
    
	<?php 
    }
}
Esempio n. 4
0
            
            <div class="span3" >
               
                <div id="logo">
                        
                    <a href="<?php 
echo esc_url(home_url('/'));
?>
" title="<?php 
bloginfo('name');
?>
">
                            
                        <?php 
if (novalite_setting('novalite_custom_logo')) {
    echo "<img src='" . novalite_setting('novalite_custom_logo', 'url') . "' alt='" . __('Logo', 'novalite') . "'>";
} else {
    bloginfo('name');
}
?>
                                
                    </a>
                            
                </div>
                
    		</div>

            <div class="span9" >
              
                <nav id="mainmenu">
             
Esempio n. 5
0
function novalite_widgets_init()
{
    register_sidebar(array('name' => 'Sidebar', 'id' => 'side_sidebar_area', 'description' => 'This sidebar will be shown at the side of content.', 'before_widget' => '<div class="pin-article span4"><div class="article">', 'after_widget' => '</div></div>', 'before_title' => '<h3 class="title">', 'after_title' => '</h3>'));
    register_sidebar(array('name' => 'Header Sidebar', 'id' => 'header_sidebar_area', 'description' => 'This sidebar will be shown before the content.', 'before_widget' => '<div class="pin-article ' . novalite_setting('wip_header_sidebar_area') . '"><div class="article">', 'after_widget' => '</div></div>', 'before_title' => '<h3 class="title">', 'after_title' => '</h3>'));
    register_sidebar(array('name' => 'Bottom Sidebar', 'id' => 'bottom_sidebar_area', 'description' => 'This sidebar will be shown after the content.', 'before_widget' => '<div class="' . novalite_setting('wip_bottom_sidebar_area') . '"><div class="widget-box">', 'after_widget' => '</div></div>', 'before_title' => '<h3 class="title">', 'after_title' => '</h3>'));
}
Esempio n. 6
0
function novalite_template($id)
{
    $template = array("full" => "span12", "left-sidebar" => "span8", "right-sidebar" => "span8");
    $span = $template["full"];
    $sidebar = "full";
    if (is_search() && novalite_setting('wip_search_layout')) {
        $span = $template[novalite_setting('wip_search_layout')];
        $sidebar = novalite_setting('wip_search_layout');
    } else {
        if ((is_category() || is_tag() || is_tax() || is_month()) && novalite_setting('wip_category_layout')) {
            $span = $template[novalite_setting('wip_category_layout')];
            $sidebar = novalite_setting('wip_category_layout');
        } else {
            if (is_home() && novalite_setting('wip_home')) {
                $span = $template[novalite_setting('wip_home')];
                $sidebar = novalite_setting('wip_home');
            } else {
                if (is_home() && !novalite_setting('wip_home')) {
                    $span = $template["right-sidebar"];
                    $sidebar = "right-sidebar";
                } else {
                    if (novalite_postmeta('wip_template')) {
                        $span = $template[novalite_postmeta('wip_template')];
                        $sidebar = novalite_postmeta('wip_template');
                    }
                }
            }
        }
    }
    return ${$id};
}
Esempio n. 7
0
/**
 * Wp in Progress
 * 
 * @author WPinProgress
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
 * It is also available at this URL: http://www.gnu.org/licenses/gpl-3.0.txt
 */
function novalite_panel($panel)
{
    novalite_saveoption($panel);
    if (!isset($_GET['tab'])) {
        $_GET['tab'] = "General";
    }
    foreach ($panel as $element) {
        switch ($element['type']) {
            case 'navigation':
                ?>

				
				<div class="header">
                    <h2 class="maintitle settings"> <?php 
                _e('General Settings', 'wip');
                ?>
 </h2> 
                    <div class="right">
                        <h2 class="maintitle"> <?php 
                echo novalite_theme_data('Name') . " " . novalite_theme_data('Version');
                ?>
 </h2>
                    </div>
                    <div class="clear"></div>
                </div>
                
				<?php 
                novalite_message($panel);
                ?>

                
                <div id="tabs">

                <ul>
    
   				<?php 
                foreach ($element['item'] as $option => $name) {
                    if (str_replace(" ", "", $option) == $_GET['tab']) {
                        $class = "class='ui-state-active'";
                    } else {
                        $class = "";
                    }
                    echo "<li " . $class . "><a href='themes.php?page=novaoption&tab=" . str_replace(" ", "", $option) . "'>" . $name . "</a></li>";
                }
                ?>

               
                </ul>
               
                <?php 
                break;
            case 'endpanel':
                ?>

				
				</div>
				<div style="margin:10px 0; font-size:11px">Icons by: <a href="http://www.woothemes.com/2009/09/woofunction/" target="_blank">WooFunction</a> </div>
			
			<?php 
                break;
        }
        if (isset($element['tab'])) {
            switch ($element['tab']) {
                case $_GET['tab']:
                    foreach ($element as $value) {
                        if (isset($value['type'])) {
                            switch ($value['type']) {
                                case 'form':
                                    ?>

							
							<div id="<?php 
                                    echo str_replace(" ", "", $value['name']);
                                    ?>
">
							<form method="post" action="?page=novaoption&tab=<?php 
                                    echo $_GET['tab'];
                                    ?>
">
						
						<?php 
                                    break;
                                case 'endtab':
                                    ?>

							
							</form>
							</div>
						
						<?php 
                                    break;
                                case 'start':
                                    ?>

	
						<?php 
                                    if ('Save' == novalite_request('action') && $value['val'] == novalite_request('element-opened')) {
                                        $class = " inactive";
                                        $style = 'style="display:block;"';
                                    } else {
                                        $class = "";
                                        $style = '';
                                    }
                                    ?>

	
							<div class="wip_container">
			
							<h5 class="element<?php 
                                    echo $class;
                                    ?>
" id="<?php 
                                    echo $value['val'];
                                    ?>
"><?php 
                                    echo $value['name'];
                                    ?>
</h5>
				   
							<div class="wip_mainbox"> 
			
						<?php 
                                    break;
                                case 'startopen':
                                    ?>

				
							<div class="wip_container">
			
							<h5 class="element-open"><?php 
                                    echo $value['name'];
                                    ?>
</h5>
				   
							<div class="wip_mainbox2"> 
			
						<?php 
                                    break;
                                case 'end':
                                    ?>

				
							</div>            
			
							</div>
			   
						<?php 
                                    break;
                                case 'text':
                                    ?>

			
								<div class="wip_inputbox">
			
								<label for="<?php 
                                    echo $value['id'];
                                    ?>
"><?php 
                                    echo $value['name'];
                                    ?>
</label>
								
								<input name="<?php 
                                    echo $value['id'];
                                    ?>
" id="<?php 
                                    echo $value['id'];
                                    ?>
" type="<?php 
                                    echo $value['type'];
                                    ?>
" value="<?php 
                                    if (novalite_setting($value['id']) != "") {
                                        echo stripslashes(novalite_setting($value['id']));
                                    } else {
                                        echo $value['std'];
                                    }
                                    ?>
" />
								
								<p> <?php 
                                    echo $value['desc'];
                                    ?>
 </p>
			
								</div>
			
							<?php 
                                    break;
                                case 'form':
                                    ?>

				
							<?php 
                                    break;
                                case 'navigation':
                                    ?>

				
								<?php 
                                    echo $value['start'];
                                    ?>

			
								<?php 
                                    foreach ($value['item'] as $option) {
                                        echo "<li><a href='#" . str_replace(" ", "", $option) . "'>" . $option . "</a></li>";
                                    }
                                    ?>

			
								<?php 
                                    echo $value['end'];
                                    ?>

			   
							<?php 
                                    break;
                                case 'textarea':
                                    ?>

				
								<div class="wip_inputbox">
			
								<label for="bl_custom_style"> <?php 
                                    echo $value['name'];
                                    ?>
 </label>
								
								<textarea name="<?php 
                                    echo $value['id'];
                                    ?>
" id="<?php 
                                    echo $value['id'];
                                    ?>
" type="<?php 
                                    echo $value['type'];
                                    ?>
" cols="" rows=""><?php 
                                    if (novalite_setting($value['id']) != "") {
                                        echo stripslashes(novalite_setting($value['id']));
                                    } else {
                                        echo $value['std'];
                                    }
                                    ?>
</textarea>
			
								<p><?php 
                                    echo $value['desc'];
                                    ?>
</p>
			
								</div> 
				
							<?php 
                                    break;
                                case "on-off":
                                    ?>

			
								<div class="wip_inputbox">
			
								<label for="<?php 
                                    echo $value['id'];
                                    ?>
"><?php 
                                    echo $value['name'];
                                    ?>
</label>
			
								<div class="bool-slider <?php 
                                    if (novalite_setting($value['id']) != "") {
                                        echo stripslashes(novalite_setting($value['id']));
                                    } else {
                                        echo $value['std'];
                                    }
                                    ?>
">
									<div class="inset">
										<div class="control"></div>
									</div>
									<input name="<?php 
                                    echo $value['id'];
                                    ?>
" id="<?php 
                                    echo $value['id'];
                                    ?>
" class="on-off" type="hidden" value="<?php 
                                    if (novalite_setting($value['id']) != "") {
                                        echo stripslashes(novalite_setting($value['id']));
                                    } else {
                                        echo $value['std'];
                                    }
                                    ?>
" />
								</div>  
								
								<div class="clear"></div>      
								
								<p><?php 
                                    echo $value['desc'];
                                    ?>
</p>
								
								</div>
			
							<?php 
                                    break;
                                case 'categoria':
                                    ?>

				
								<div class="wip_inputbox">
			
								<label for="<?php 
                                    echo $value['id'];
                                    ?>
"><?php 
                                    echo $value['name'];
                                    ?>
</label>
			
								<select name="<?php 
                                    echo $value['id'];
                                    ?>
" id="<?php 
                                    echo $value['id'];
                                    ?>
"><?php 
                                    foreach ($value['options'] as $option) {
                                        ?>
<option<?php 
                                        if (novalite_setting($value['id']) == get_cat_id($option)) {
                                            echo ' selected="selected"';
                                        } elseif ($option == $value['std']) {
                                            echo ' selected="selected"';
                                        }
                                        ?>
 value="<?php 
                                        echo get_cat_id($option);
                                        ?>
" ><?php 
                                        echo $option;
                                        ?>
</option><?php 
                                    }
                                    ?>
</select>
			 
								<p><?php 
                                    echo $value['desc'];
                                    ?>
</p>
			
								</div>
				
							<?php 
                                    break;
                                case 'select':
                                    ?>

				
								<div class="wip_inputbox">
			
								<label for="<?php 
                                    echo $value['id'];
                                    ?>
"><?php 
                                    echo $value['name'];
                                    ?>
</label>
			
								<select name="<?php 
                                    echo $value['id'];
                                    ?>
" id="<?php 
                                    echo $value['id'];
                                    ?>
">  
								
								<?php 
                                    foreach ($value['options'] as $val => $option) {
                                        ?>
  
								
								<option <?php 
                                        if (novalite_setting($value['id']) == $val || !novalite_setting($value['id']) && $value['std'] == $val) {
                                            echo 'selected="selected"';
                                        }
                                        ?>
 value="<?php 
                                        echo $val;
                                        ?>
"><?php 
                                        echo $option;
                                        ?>
</option><?php 
                                    }
                                    ?>
  
								</select>  
			 
								<p><?php 
                                    echo $value['desc'];
                                    ?>
</p>
			
								</div>
				
				
							<?php 
                                    break;
                                case "save-button":
                                    ?>

			
								<div class="wip_inputbox">
			
								<input name="action" id="element-open" type="submit" value="<?php 
                                    echo $value['value'];
                                    ?>
" class="button"/>
			
								</div>
			
							<?php 
                                    break;
                            }
                        }
                    }
            }
        }
    }
}
Esempio n. 8
0
 function novalite_setup()
 {
     if (!isset($content_width)) {
         $content_width = 1170;
     }
     add_theme_support('post-formats', array('aside', 'gallery', 'quote', 'video', 'audio', 'link', 'status', 'chat', 'image'));
     add_theme_support('automatic-feed-links');
     add_theme_support('post-thumbnails');
     add_theme_support('title-tag');
     if (novalite_setting('novalite_body_background')) {
         $background = novalite_setting('novalite_body_background');
     } else {
         $background = "/inc/images/background/patterns/pattern12.jpg";
     }
     /*add_theme_support( 'custom-background', array(
     			'default-color' => 'f3f3f3',
     			'default-image' => get_template_directory_uri() . $background,
     		) );*/
     add_image_size('blog', 1170, 429, TRUE);
     add_image_size('slide', 1170, 429, TRUE);
     add_image_size('large', 449, 304, TRUE);
     add_image_size('medium', 290, 220, TRUE);
     add_image_size('small', 211, 150, TRUE);
     register_nav_menu('main-menu', 'Main menu');
     load_theme_textdomain('novalite', get_template_directory() . '/languages');
     $require_array = array("/core/classes/", "/core/admin/customize/", "/core/functions/", "/core/templates/", "/core/metaboxes/");
     foreach ($require_array as $require_file) {
         novalite_require($require_file);
     }
 }
Esempio n. 9
0
?>

    
<footer id="footer">
	<div class="container">
		<div class="row" >
             
			<div class="span12 copyright" >
            
                <p>
                    <?php 
if (novalite_setting('wip_copyright_text')) {
    ?>

                       <?php 
    echo stripslashes(novalite_setting('wip_copyright_text'));
    ?>

                    <?php 
} else {
    ?>

                      <?php 
    _e('Copyright', 'wip');
    ?>
 <?php 
    echo get_bloginfo("name");
    ?>
 <?php 
    echo date("Y");
    ?>
Esempio n. 10
0
novalite_bottom_content();
do_action('novalite_socials');
?>
    
<footer id="footer">
	<div class="container">
		<div class="row" >
             
			<div class="span12 copyright" >
            
                <p>
                    <?php 
if (novalite_setting('novalite_copyright_text')) {
    ?>
                       <?php 
    echo stripslashes(novalite_setting('novalite_copyright_text', 'html'));
    ?>
                    <?php 
} else {
    ?>
                      <?php 
    _e('Copyright', 'novalite');
    ?>
 <?php 
    echo get_bloginfo("name");
    ?>
 <?php 
    echo date("Y");
    ?>
 
                    <?php 
Esempio n. 11
0
function novalite_css_custom()
{
    ?>

<style type="text/css">

<?php 
    /* =================== BODY STYLE =================== */
    if (get_theme_mod('novalite_full_image_background') == "on") {
        echo "body.custombody {  -webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;}";
    }
    /* =================== BEGIN LOGO STYLE =================== */
    $logostyle = '';
    /* Logo Font Size */
    if (novalite_setting('novalite_logo_font_size')) {
        $logostyle .= "font-size:" . novalite_setting('novalite_logo_font_size') . ";";
    }
    if ($logostyle) {
        echo '#logo a { ' . $logostyle . ' } ';
    }
    /* =================== END LOGO STYLE =================== */
    /* =================== BEGIN NAV STYLE =================== */
    $navstyle = '';
    /* Nav  Font Size */
    if (novalite_setting('novalite_menu_font_size')) {
        $navstyle .= "font-size:" . novalite_setting('novalite_menu_font_size') . ";";
    }
    if ($navstyle) {
        echo 'nav#mainmenu ul li a { ' . $navstyle . ' } ';
    }
    /* =================== END NAV STYLE =================== */
    /* =================== BEGIN CONTENT STYLE =================== */
    if (novalite_setting('novalite_content_font_size')) {
        echo ".article p, .article li, .article address, .article dd, .article blockquote, .article td, .article th { font-size:" . novalite_setting('novalite_content_font_size') . "}";
    }
    /* =================== END CONTENT STYLE =================== */
    /* =================== START TITLE STYLE =================== */
    $titlestyle = '';
    if ($titlestyle) {
        echo 'h1.title, h2.title, h3.title, h4.title, h5.title, h6.title, h1, h2, h3, h4, h5, h6  { ' . $titlestyle . ' } ';
    }
    if (novalite_setting('novalite_h1_font_size')) {
        echo "h1 {font-size:" . novalite_setting('novalite_h1_font_size') . "; }";
    }
    if (novalite_setting('novalite_h2_font_size')) {
        echo "h2 { font-size:" . novalite_setting('novalite_h2_font_size') . "; }";
    }
    if (novalite_setting('novalite_h3_font_size')) {
        echo "h3 { font-size:" . novalite_setting('novalite_h3_font_size') . "; }";
    }
    if (novalite_setting('novalite_h4_font_size')) {
        echo "h4 { font-size:" . novalite_setting('novalite_h4_font_size') . "; }";
    }
    if (novalite_setting('novalite_h5_font_size')) {
        echo "h5 { font-size:" . novalite_setting('novalite_h5_font_size') . "; }";
    }
    if (novalite_setting('novalite_h6_font_size')) {
        echo "h6 { font-size:" . novalite_setting('novalite_h6_font_size') . "; }";
    }
    /* =================== END TITLE STYLE =================== */
    /* =================== END LINK STYLE =================== */
    if (novalite_setting('novalite_custom_css_code')) {
        echo novalite_setting('novalite_custom_css_code');
    }
    ?>

</style>
    
<?php 
}
Esempio n. 12
0
            
            <div class="span3" >
               
                <div id="logo">
                        
                    <a href="<?php 
echo home_url();
?>
" title="<?php 
bloginfo('name');
?>
">
                            
                        <?php 
if (novalite_setting('wip_custom_logo')) {
    echo "<img src='" . novalite_setting('wip_custom_logo') . "' alt='logo'>";
} else {
    bloginfo('name');
}
?>
                                
                    </a>
                            
                </div>
    		</div>

            <div class="span9" >
              
                <nav id="mainmenu">
                    <?php 
wp_nav_menu(array('theme_location' => 'main-menu', 'container' => 'false', 'depth' => 3));
Esempio n. 13
0
function novalite_css_custom()
{
    ?>

<style type="text/css">

<?php 
    /* =================== END HEADER STYLE =================== */
    if (novalite_setting('wip_header_background_color')) {
        echo '#header, nav#mainmenu ul ul { background-color: ' . novalite_setting('wip_header_background_color') . '; } ';
        echo 'nav#mainmenu ul ul { border-top-color: ' . novalite_setting('wip_header_background_color') . '; } ';
    }
    if (novalite_setting('wip_subheader_background_color')) {
        echo '#subheader { background-color: ' . novalite_setting('wip_subheader_background_color') . '; } ';
    }
    if (novalite_setting('wip_header_border_color')) {
        echo '#header, nav#mainmenu ul ul li a, #subheader { border-color: ' . novalite_setting('wip_header_border_color') . '; } ';
        echo 'nav#mainmenu ul ul { border-left-color: ' . novalite_setting('wip_header_border_color') . '; border-right-color: ' . novalite_setting('wip_header_border_color') . '; border-bottom-color: ' . novalite_setting('wip_header_border_color') . '; } ';
    }
    /* =================== END HEADER STYLE =================== */
    /* =================== END BOTTOM STYLE =================== */
    if (novalite_setting('wip_bottom_background_color')) {
        echo '.bottom_widget { background-color: ' . novalite_setting('wip_bottom_background_color') . '; } ';
    }
    if (novalite_setting('wip_socialbox_background_color')) {
        echo '.bottom_socials { background-color: ' . novalite_setting('wip_socialbox_background_color') . '; } ';
    }
    if (novalite_setting('wip_footer_background_color')) {
        echo '#footer { background-color: ' . novalite_setting('wip_footer_background_color') . '; } ';
    }
    if (novalite_setting('wip_bottom_border_color')) {
        echo '#footer, .bottom_socials, .bottom_widget, .bottom_widget ul.contact-info li, .bottom_widget .widget-box li { border-color: ' . novalite_setting('wip_bottom_border_color') . '; } ';
    }
    /* =================== END HEADER STYLE =================== */
    /* =================== BEGIN LOGO STYLE =================== */
    $logostyle = '';
    /* Logo Font */
    if (novalite_setting('wip_logo_font')) {
        $logostyle .= "font-family:'" . novalite_setting('wip_logo_font') . "',Verdana, Geneva, sans-serif;";
    }
    /* Logo Font Size */
    if (novalite_setting('wip_logo_font_size')) {
        $logostyle .= "font-size:" . novalite_setting('wip_logo_font_size') . ";";
    }
    if ($logostyle) {
        echo '#logo a { ' . $logostyle . ' } ';
    }
    /* =================== END LOGO STYLE =================== */
    /* =================== BEGIN NAV STYLE =================== */
    $navstyle = '';
    /* Nav Font */
    if (novalite_setting('wip_menu_font')) {
        $navstyle .= "font-family:'" . novalite_setting('wip_menu_font') . "',Verdana, Geneva, sans-serif;";
    }
    /* Nav  Font Size */
    if (novalite_setting('wip_menu_font_size')) {
        $navstyle .= "font-size:" . novalite_setting('wip_menu_font_size') . ";";
    }
    /* Nav  Font Color */
    if (novalite_setting('wip_menu_font_color')) {
        $navstyle .= "color:" . novalite_setting('wip_menu_font_color') . ";";
    }
    if ($navstyle) {
        echo 'nav#mainmenu ul li a { ' . $navstyle . ' } ';
    }
    /* =================== END NAV STYLE =================== */
    /* =================== BEGIN CONTENT STYLE =================== */
    if (novalite_setting('wip_content_font_size')) {
        echo ".article p, .article li, .article address, .article dd, .article blockquote, .article td, .article th { font-size:" . novalite_setting('wip_content_font_size') . "}";
    }
    /* =================== END CONTENT STYLE =================== */
    /* =================== START TITLE STYLE =================== */
    $titlestyle = '';
    if (novalite_setting('wip_titles_font')) {
        $titlestyle .= "font-family:'" . novalite_setting('wip_titles_font') . "',Verdana, Geneva, sans-serif;";
    }
    if ($titlestyle) {
        echo 'h1.title, h2.title, h3.title, h4.title, h5.title, h6.title, h1, h2, h3, h4, h5, h6  { ' . $titlestyle . ' } ';
    }
    if (novalite_setting('wip_h1_font_size')) {
        echo "h1 {font-size:" . novalite_setting('wip_h1_font_size') . "; }";
    }
    if (novalite_setting('wip_h2_font_size')) {
        echo "h2 { font-size:" . novalite_setting('wip_h2_font_size') . "; }";
    }
    if (novalite_setting('wip_h3_font_size')) {
        echo "h3 { font-size:" . novalite_setting('wip_h3_font_size') . "; }";
    }
    if (novalite_setting('wip_h4_font_size')) {
        echo "h4 { font-size:" . novalite_setting('wip_h4_font_size') . "; }";
    }
    if (novalite_setting('wip_h5_font_size')) {
        echo "h5 { font-size:" . novalite_setting('wip_h5_font_size') . "; }";
    }
    if (novalite_setting('wip_h6_font_size')) {
        echo "h6 { font-size:" . novalite_setting('wip_h6_font_size') . "; }";
    }
    /* =================== END TITLE STYLE =================== */
    /* =================== START LINK STYLE =================== */
    if (novalite_setting('wip_link_color')) {
        echo '::-moz-selection { background-color: ' . novalite_setting('wip_link_color') . '; } ';
        echo '::selection { background-color: ' . novalite_setting('wip_link_color') . '; } ';
        echo 'article blockquote { border-left-color: ' . novalite_setting('wip_link_color') . '; } ';
    }
    if (novalite_setting('wip_link_color_hover')) {
        echo '#back-to-top a:hover, body.light #back-to-top a:hover, .pin-article .link a:hover, .pin-article .quote:hover, #searchform input[type=submit]:hover, .contact-form input[type=submit]:hover, .comment-form input[type=submit]:hover, .widget-category li a:hover, .tagcloud a:hover, .socials a:hover,.button:hover, .wp-pagenavi a:hover, .wp-pagenavi span.current, #wp-calendar #today, #wp-calendar #today a { background-color: ' . novalite_setting('wip_link_color_hover') . '; } ';
        echo '#sidebar a:hover, .bottom a:hover, #footer a:hover, #logo a:hover, nav#mainmenu ul li a:hover, nav#mainmenu li:hover > a, nav#mainmenu ul li.current-menu-item > a,  nav#mainmenu ul li.current_page_item > a, nav#mainmenu ul li.current-menu-parent > a, nav#mainmenu ul li.current_page_ancestor > a, nav#mainmenu ul li.current-menu-ancestor > a, .pin-article h3.title a:hover, .entry-info a:hover { color: ' . novalite_setting('wip_link_color_hover') . '; } ';
        echo '#back-to-top a:hover { border-color: ' . novalite_setting('wip_link_color_hover') . '; } ';
    }
    if (novalite_setting('wip_header_text_color')) {
        echo '#logo a, nav#mainmenu ul li a, nav#mainmenu ul ul li a { color: ' . novalite_setting('wip_header_text_color') . '; } ';
    }
    if (novalite_setting('wip_subheader_text_color')) {
        echo '#subheader, #subheader p, #subheader h1, #subheader p a, #subheader h1 a { color: ' . novalite_setting('wip_subheader_text_color') . '; } ';
    }
    if (novalite_setting('wip_bottom_text_color')) {
        echo '.bottom_widget a, .bottom_widget h3, .bottom_widget label, .bottom_widget caption, .bottom_widget p, .bottom_widget li, .bottom_widget address, .bottom_widget dd, .bottom_widget blockquote, .bottom_widget td, .bottom_widget th, .bottom_widget .textwidget { color: ' . novalite_setting('wip_bottom_text_color') . '; } ';
    }
    if (novalite_setting('wip_copyright_text_color')) {
        echo '#footer a, #footer p, #footer li, #footer address, #footer dd, #footer blockquote, #footer td, #footer th, #footer .textwidget  { color: ' . novalite_setting('wip_copyright_text_color') . '; } ';
    }
    if (novalite_setting('wip_social_icons_color')) {
        echo '.bottom_socials a { color: ' . novalite_setting('wip_social_icons_color') . '; } ';
    }
    if (novalite_setting('wip_social_icons_hover')) {
        echo '.bottom_socials a:hover { color: ' . novalite_setting('wip_social_icons_hover') . '; } ';
    }
    /* =================== END LINK STYLE =================== */
    if (novalite_setting('wip_custom_css_code')) {
        echo novalite_setting('wip_custom_css_code');
    }
    ?>

</style>
    
<?php 
}