<?php $nimbus_text_logo = trim(nimbus_get_option('nimbus_text_logo')); if (!empty($nimbus_text_logo)) { ?> <h1 class="text_logo"><a href="<?php echo esc_url(home_url('/')); ?> "><?php echo $nimbus_text_logo; ?> </a></h1> <?php } ?>
function nimbus_gravatar($avatar_defaults) { $myavatar = nimbus_get_option('gravatar'); $avatar_defaults[$myavatar] = "Custom Gravatar"; return $avatar_defaults; }
<?php if (nimbus_get_option('display_bio') == 1) { ?> <div class="bio_wrap"> <?php echo get_avatar(get_the_author_meta('email'), '105'); ?> <h3><?php the_author_posts_link(); ?> </h3> <p><?php the_author_meta('description'); ?> </p> <div class="clear"></div> </div> <?php } ?>
<?php // set variables if front-page if (is_front_page()) { $nimbus_left_featured = nimbus_get_option('nimbus_left_featured'); $nimbus_center_featured = nimbus_get_option('nimbus_center_featured'); $nimbus_right_featured = nimbus_get_option('nimbus_right_featured'); $toggle = nimbus_get_option('nimbus_toggle_featured'); // set variables if alternate template } else { if (is_page_template('alt_frontpage.php')) { $nimbus_left_featured = trim(get_post_meta($post->ID, 'left_featured', true)); $nimbus_center_featured = trim(get_post_meta($post->ID, 'center_featured', true)); $nimbus_right_featured = trim(get_post_meta($post->ID, 'right_featured', true)); $toggle = trim(get_post_meta($post->ID, 'toggle_featured', true)); } } if (is_front_page() && !is_paged() || is_page_template('alt_frontpage.php')) { $nimbus_featured = array('nimbus_left_featured' => $nimbus_left_featured, 'nimbus_center_featured' => $nimbus_center_featured, 'nimbus_right_featured' => $nimbus_right_featured); if ($toggle == 1) { ?> <div class="container frontpage_featured"> <div class="row"> <?php foreach ($nimbus_featured as $key => $featured) { ?> <div id="<?php echo $key; ?> " class="col-sm-4 featured"> <?php
<div class="container"> <?php get_template_part('parts/logo'); $nimbus_banner_content = trim(get_post_meta($post->ID, 'frontpage_banner_content', true)); if (empty($nimbus_banner_content)) { if (nimbus_get_option('nimbus_example_content') == "on") { get_template_part('parts/example', 'banner_content'); } } else { echo apply_filters('the_content', $nimbus_banner_content); } ?> </div>
<?php $nimbus_post_meta_blog = nimbus_get_option('nimbus_post_meta_blog'); if (has_category() || has_tag()) { ?> <div class="row tax_tags"> <div class="col-xs-6 tax"> <?php if ($nimbus_post_meta_blog['categories'] == 1) { if (has_category()) { _e('Posted in: ', 'nimbus'); the_category(', '); } } ?> </div> <div class="col-xs-6 tags"> <?php if ($nimbus_post_meta_blog['tags'] == 1) { if (has_tag()) { the_tags('Tags: ', ', ', ''); } } ?> </div> </div> <?php }
<?php $nimbus_post_meta = nimbus_get_option('nimbus_post_meta_single'); if ($nimbus_post_meta['tags'] == 1) { if (has_tag()) { ?> <div id="tags_wrap"> <?php the_tags('Tagged: ', ', ', ''); ?> </div> <?php } }
Post ID <?php the_ID(); } else { the_title(); } ?> </a></h3> <?php if (nimbus_get_option('toggle_featured_exerpt') != '1') { the_excerpt(); ?> <p class="featured_more"><a href="<?php the_permalink(); ?> "><?php echo esc_html(nimbus_get_option('read_more')); ?> </a></p> <?php } ?> <div class="clear10"></div> <?php } } else { ?> <p><?php _e('Sorry, no page matched your criteria.', 'nimbus'); ?> </p> <?php
</div> <div class="clear"></div> </div> </div> <? $url = site_url(); $footerimgurl = nimbus_get_option('landing_footer'); ?> <? if (is_front_page()) { ?> <br> <? }; ?> <?php wp_footer(); ?> <?php if(is_front_page() ) { ?> <? } else { ?> <img id="footerimg" src=" <? echo $footerimgurl; ?> "> <? }; ?>
echo $key; ?> fa-socialcircle" style="color:<?php echo nimbus_get_option('social_media_font_color'); ?> ;"></i></a> <?php } } if (nimbus_get_option('nimbus_hide_rss_icon') == 0) { ?> <a href="<?php echo get_bloginfo('rss2_url'); ?> "><i class="fa fa-rss fa-socialcircle" style="color:<?php echo nimbus_get_option('social_media_font_color'); ?> ;"></i></a> <?php } ?> </p> </div> <div class="col-sm-6 col-sm-pull-6"> <?php get_template_part('parts/header', 'logo'); ?> </div> </div>
<?php if (has_post_thumbnail()) { the_post_thumbnail('nimbus_140_137', array('class' => 'nimbus_140_137')); } else { if (nimbus_get_option('reminder_images') == "on" || in_the_loop() == false) { ?> <img class="nimbus_140_137" src="<?php echo get_template_directory_uri(); ?> /images/preview/cirrus<?php echo rand(1, 6); ?> sm.jpg" alt="<?php the_title(); ?> " /> <?php } }
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><?php wp_title(); ?> </title> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?> " /> <?php wp_head(); ?> </head> <body <?php body_class(); ?> > <header id="<?php if (nimbus_get_option('home-slug') == '') { echo "action2"; } else { echo nimbus_get_option('home-slug'); } ?> "> <?php get_template_part('parts/header', 'menu'); get_template_part('parts/header', 'banner'); ?> </header>
</div> </div> </div> </section> <?php } else { if (nimbus_get_option('fp-about-toggle') == '3') { // Don't do anything } else { ?> <section id="<?php if (nimbus_get_option('fp-about-slug') == '') { echo "about"; } else { echo nimbus_get_option('fp-about-slug'); } ?> " class="frontpage-row frontpage-about preview"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="about-title h1">About Us</div> <div class="about-sub-title h4">A little bit of background on our fabulous company.</div> <p class="about-desc">Uenatis mattis non vitae augue. Nullam congue commodo lorem vitae facilisis. Suspendisse malesuada id turpis interdum dictum.Cum sociis natoque penatibus.</p> <div class="row frontpage-about-row" data-sr="enter left and move 50px after 1s"> <div class="col-sm-4"> <div class="about-content"> Uenatis mattis non vitae augue. Nullam congue commodo lorem vitae facilisis. Suspendisse malesuada id turpis interdum dictum.Cum sociis natoque penatibus. Uenatis mattis non vitae augue. Nullam congue commodo lorem vitae facilisis. Suspendisse malesuada id turpis interdum dictum.Cum sociis natoque penatibus. </div> </div>
<?php $reminder_images = trim(nimbus_get_option('reminder_images')); ?> <div class="banner"> <?php /* if (is_front_page()) { if (nimbus_get_option('nimbus_banner_option') == 'static_banner') { if (nimbus_get_option('banner_image') != '') { ?> <? // <img src="<?php echo nimbus_get_option('banner_image'); ?>" /> ?> <?php } else { if ($reminder_images == "on" ) { // get_template_part( 'parts/image', '1170_315'); } } } } else { // No layout } */ ?> </div>
<div id="ribbon_wrap"> <div class="row"> <div id="ribbon" class="span12 center none"> <div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> <h1 class="text_logo"><a href="<?php echo get_home_url(); ?> "><?php echo nimbus_get_option('text_logo'); ?> </a></h1> <a class="btn btn-navbar" data-toggle="collapse" data-target="#mobile_menu"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <div class="clear"></div> <?php wp_nav_menu(array('theme_location' => 'mobile', 'menu' => 'Primary Menu', 'depth' => 3, 'menu_class' => 'collapse', 'menu_id' => 'mobile_menu', 'container' => false)); ?> </div> </div> </div> <?php get_template_part('parts/logo'); wp_nav_menu(array('theme_location' => 'primary', 'menu' => 'Primary Menu', 'depth' => 3, 'menu_id' => 'menu', 'container' => 'div', 'container_class' => 'menu')); ?> </div> </div>
<?php /* Template Name: Full Width */ ?> <?php $top_scripts = nimbus_get_option('top_scripts_multi'); $bottom_scripts = nimbus_get_option('bottom_scripts_multi'); get_header(); ?> <div id="content_wrap"> <div class="row"> <div id="content_full" class="editable span12 center none"> <?php if (have_posts()) { while (have_posts()) { the_post(); ?> <?php if (get_post_meta($post->ID, 'include_image_on_page', true) == "true") { ?> <?php if (has_post_thumbnail()) { the_post_thumbnail('nimbus-post-full', array('class' => 'page_image')); } ?> <?php }
</div> </div> </div> </section> <?php } else { if (nimbus_get_option('fp-team-toggle') == '3') { // Don't do anything } else { ?> <section id="<?php if (nimbus_get_option('fp-team-slug') == '') { echo "team"; } else { echo nimbus_get_option('fp-team-slug'); } ?> " class="frontpage-row frontpage-team preview"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="team-title h1">Meet the Team</div> <div class="team-sub-title h4">Showcase the great people behind your company.</div> <div class="row row-centered"> <div class="col-sm-3 col-centered"> <div class="team-item" data-sr="wait 0.3s, enter right and move 50px after 1s"> <h4 class="team-item-title">Sally Brown</h4> <img class="img-responsive center-block" src="<?php
<?php if (has_post_thumbnail()) { the_post_thumbnail('nimbus_375_225', array('class' => 'nimbus_375_225 img-responsive')); } else { if (nimbus_get_option('reminder_images') == "on") { ?> <img src="<?php echo get_template_directory_uri(); ?> /images/preview/nimbus_375_225_<?php echo rand(1, 3); ?> .jpg" class="img-responsive nimbus_375_225" alt="<?php the_title(); ?> " /> <?php } else { ?> <div class="clear10"></div> <?php } } ?>
?> <div class="footer_widget sidebar sidebar_editable"> <?php the_widget('WP_Widget_Tag_Cloud'); ?> </div> <?php } } ?> </div> </div> <div class="row"> <div class="col-md-5"> <p id="copyright"><?php echo nimbus_get_option('copyright'); ?> </p> </div> <div class="col-md-5 col-md-offset-2"> <p id="credit"><a href="http://www.nimbusthemes.com/wordpress-themes/simple/">Simple Theme</a> <?php _e('Powered by', 'nimbus'); ?> <a href="http://wordpress.org">WordPress</a></p> </div> </div> </div> </div> <?php wp_footer(); ?>
function nimbus_options_to_head() { global $NIMBUS_FONT_FACES, $NIMBUS_OPTIONS_ARR, $post; $get_fonts = $NIMBUS_FONT_FACES; $options = $NIMBUS_OPTIONS_ARR; foreach ($options as $option) { if ($option['type'] == "typography" || $option['type'] == "font" || $option['type'] == "face") { ${$option}['id'] = nimbus_get_option($option['id']); } } $font_list = array(); foreach ($options as $option) { if ($option['type'] == "typography" || $option['type'] == "font" || $option['type'] == "face") { $nimbus_get_face = nimbus_get_option($option['id']); array_push($font_list, $nimbus_get_face['face']); } } $filtered_font_list = array_unique($font_list); foreach ($filtered_font_list as $key => $font) { if (isset($get_fonts[$font])) { echo $get_fonts[$font]['import']; echo "\n"; } } ?> <!-- Style from <?php echo THEME_NAME; ?> Theme Options. --> <?php echo "\n"; ?> <style type="text/css"><?php echo "\n"; ?> /* Body */ body { font:<?php echo $body_style['style']; ?> <?php echo $body_style['size']; ?> /<?php echo $body_style['line']; ?> <?php echo $get_fonts[$body_style['face']]['fam']; ?> ; color:<?php echo $body_style['color']; ?> ; text-transform:<?php echo $body_style['fonttrans']; ?> ; background-color:#fff; } body > .container { background:<?php echo nimbus_get_option('nimbus_content_bg_color'); ?> ; border:1px solid <?php echo nimbus_get_option('nimbus_content_border_color'); ?> ; } .line { background:<?php echo nimbus_get_option('nimbus_content_border_color'); ?> ; } div.sidebar_widget { border: 1px solid <?php echo nimbus_get_option('nimbus_content_border_color'); ?> ; } /* Links*/ a { color:<?php echo nimbus_get_option('link_color'); ?> ; } a:hover, a:focus { color:<?php echo nimbus_get_option('link_hover_color'); ?> ; } /* Headings*/ h1, h1 a { font:<?php echo $h1_style['style']; ?> <?php echo $h1_style['size']; ?> /<?php echo $h1_style['line']; ?> <?php echo $get_fonts[$h1_style['face']]['fam']; ?> ; color:<?php echo $h1_style['color']; ?> ; text-transform:<?php echo $h1_style['fonttrans']; ?> ; } h1 a:hover { color:<?php echo nimbus_get_option('h1_hover_color'); ?> ; } h2, h2 a { font:<?php echo $h2_style['style']; ?> <?php echo $h2_style['size']; ?> /<?php echo $h2_style['line']; ?> <?php echo $get_fonts[$h2_style['face']]['fam']; ?> ; color:<?php echo $h2_style['color']; ?> ; text-transform:<?php echo $h2_style['fonttrans']; ?> ; } h2 a:hover { color:<?php echo nimbus_get_option('h2_hover_color'); ?> ; } h3, h3 a { font:<?php echo $h3_style['style']; ?> <?php echo $h3_style['size']; ?> /<?php echo $h3_style['line']; ?> <?php echo $get_fonts[$h3_style['face']]['fam']; ?> ; color:<?php echo $h3_style['color']; ?> ; text-transform:<?php echo $h3_style['fonttrans']; ?> ; } h3 a:hover { color:<?php echo nimbus_get_option('h3_hover_color'); ?> ; } h4, h4 a { font:<?php echo $h4_style['style']; ?> <?php echo $h4_style['size']; ?> /<?php echo $h4_style['line']; ?> <?php echo $get_fonts[$h4_style['face']]['fam']; ?> ; color:<?php echo $h4_style['color']; ?> ; text-transform:<?php echo $h4_style['fonttrans']; ?> ;} h4 a:hover { color:<?php echo nimbus_get_option('h4_hover_color'); ?> ; } h5, h5 a { font:<?php echo $h5_style['style']; ?> <?php echo $h5_style['size']; ?> /<?php echo $h5_style['line']; ?> <?php echo $get_fonts[$h5_style['face']]['fam']; ?> ; color:<?php echo $h5_style['color']; ?> ; text-transform:<?php echo $h5_style['fonttrans']; ?> ;} h5 a:hover { color:<?php echo nimbus_get_option('h5_hover_color'); ?> ; } h6, h6 a { font:<?php echo $h6_style['style']; ?> <?php echo $h6_style['size']; ?> /<?php echo $h6_style['line']; ?> <?php echo $get_fonts[$h6_style['face']]['fam']; ?> ; color:<?php echo $h6_style['color']; ?> ; text-transform:<?php echo $h6_style['fonttrans']; ?> ;} h6 a:hover { color:<?php echo nimbus_get_option('h6_hover_color'); ?> ; } /* Tables */ th, ul.css-tabs a, div.accordion h2, h2.hide_show_title span { font:<?php echo $th_style['style']; ?> <?php echo $th_style['size']; ?> /<?php echo $th_style['line']; ?> <?php echo $get_fonts[$th_style['face']]['fam']; ?> ; color:<?php echo $th_style['color']; ?> ; text-transform:<?php echo $th_style['fonttrans']; ?> ;} td, td a, td a:hover { font:<?php echo $td_style['style']; ?> <?php echo $td_style['size']; ?> /<?php echo $td_style['line']; ?> <?php echo $get_fonts[$td_style['face']]['fam']; ?> ; color:<?php echo $td_style['color']; ?> ; text-transform:<?php echo $td_style['fonttrans']; ?> ;} caption { font:<?php echo $tc_style['style']; ?> <?php echo $tc_style['size']; ?> /<?php echo $tc_style['line']; ?> <?php echo $get_fonts[$tc_style['face']]['fam']; ?> ; color:<?php echo $tc_style['color']; ?> ; text-transform:<?php echo $tc_style['fonttrans']; ?> ;} /* Header */ .fa-socialcircle { background: <?php echo nimbus_get_option('social_media_color'); ?> ; } .fa-socialcircle:hover { background: <?php echo nimbus_get_option('social_media_hover_color'); ?> ; } .text_logo, .text_logo a { font:<?php echo $nimbus_logo_style['style']; ?> <?php echo $nimbus_logo_style['size']; ?> /<?php echo $nimbus_logo_style['line']; ?> <?php echo $get_fonts[$nimbus_logo_style['face']]['fam']; ?> ; color:<?php echo $nimbus_logo_style['color']; ?> ; text-transform:<?php echo $nimbus_logo_style['fonttrans']; ?> ; } .navbar-default .navbar-brand, .navbar-default a, .navbar-brand a, .navbar-default:hover .navbar-brand:hover, .navbar-default a:hover, .navbar-brand a:hover { font:<?php echo $nimbus_mobile_logo_style['style']; ?> <?php echo $nimbus_mobile_logo_style['size']; ?> /<?php echo $nimbus_mobile_logo_style['line']; ?> <?php echo $get_fonts[$nimbus_mobile_logo_style['face']]['fam']; ?> ; color:<?php echo $nimbus_mobile_logo_style['color']; ?> ; text-transform:<?php echo $nimbus_mobile_logo_style['fonttrans']; ?> ; } .carousel-caption p { font:<?php echo $nimbus_slideshow_caption_style['style']; ?> <?php echo $nimbus_slideshow_caption_style['size']; ?> /<?php echo $nimbus_slideshow_caption_style['line']; ?> <?php echo $get_fonts[$nimbus_slideshow_caption_style['face']]['fam']; ?> ; color:<?php echo $nimbus_slideshow_caption_style['color']; ?> ; text-transform:<?php echo $nimbus_slideshow_caption_style['fonttrans']; ?> ; } /* Footer */ #credit, #credit a, #copyright, #copyright a { font:<?php echo $nimbus_copyright_style['style']; ?> <?php echo $nimbus_copyright_style['size']; ?> /<?php echo $nimbus_copyright_style['line']; ?> <?php echo $get_fonts[$nimbus_copyright_style['face']]['fam']; ?> ; color:<?php echo $nimbus_copyright_style['color']; ?> ; text-transform:<?php echo $nimbus_copyright_style['fonttrans']; ?> ; } /* Menu */ .navbar-default .navbar-nav > li > a, .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus, .nav>li>a:hover, .nav>li>a:focus, .fallback_cb > ul > li > a, .fallback_cb > ul > li > a:hover { font:<?php echo $nimbus_menu_style['style']; ?> <?php echo $nimbus_menu_style['size']; ?> /<?php echo $nimbus_menu_style['line']; ?> <?php echo $get_fonts[$nimbus_menu_style['face']]['fam']; ?> ; color:<?php echo $nimbus_menu_style['color']; ?> ; text-transform:<?php echo $nimbus_menu_style['fonttrans']; ?> ; } .nav .caret, .navbar-default .navbar-nav>.dropdown>a .caret,.navbar-default .navbar-nav>.dropdown>a .caret, .navbar-default .navbar-nav>.dropdown.active>a .caret, .navbar-default .navbar-nav>.open>a .caret, .navbar-default .navbar-nav>.open>a:hover .caret, .navbar-default .navbar-nav>.open>a:focus .caret, .nav a:hover .caret { border-top-color: <?php echo $nimbus_menu_style['color']; ?> ; border-bottom-color: <?php echo $nimbus_menu_style['color']; ?> ; } .navbar-default .navbar-nav > li li a, header .fallback_cb > ul > li > ul li a, header .fallback_cb > ul > li > ul li a:hover { font:<?php echo $nimbus_sub_menu_style['style']; ?> <?php echo $nimbus_sub_menu_style['size']; ?> /<?php echo $nimbus_sub_menu_style['line']; ?> <?php echo $get_fonts[$nimbus_sub_menu_style['face']]['fam']; ?> ; color:<?php echo $nimbus_sub_menu_style['color']; ?> ; text-transform:<?php echo $nimbus_sub_menu_style['fonttrans']; ?> ; } .dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus { color:<?php echo $nimbus_sub_menu_style['color']; ?> ; } #menu_row .dropdown-menu { background-color:<?php echo nimbus_get_option('nimbus_content_bg_color'); ?> ; } .navbar-default, .navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus, .dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus, .dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus, header .fallback_cb > ul > li > a{ background-color:<?php echo nimbus_get_option('nimbus_content_bg_color'); ?> ; } .dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus{ background-color:<?php echo nimbus_get_option('nimbus_dd_sub_hover_color'); ?> ; } .navbar-default .navbar-toggle, .navbar-default .navbar-toggle { background-color: <?php echo nimbus_get_option('nimbus_mobile_dd_toggle_color'); ?> ; } .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus { background-color: <?php echo nimbus_get_option('nimbus_mobile_dd_toggle_hover_color'); ?> ; } .navbar-default .navbar-toggle { border-color: <?php echo nimbus_get_option('nimbus_mobile_dd_toggle_border_color'); ?> ; } .navbar-default .navbar-toggle .icon-bar { background-color: <?php echo nimbus_get_option('nimbus_mobile_dd_toggle_detail_color'); ?> ; } .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:hover .caret, .navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus, .nav>li>a:hover, .nav>li>a:focus, .fallback_cb > ul > li > a:hover { color:<?php echo nimbus_get_option('nimbus_menu_hover_color'); ?> ; border-top-color: <?php echo nimbus_get_option('nimbus_menu_hover_color'); ?> !important; border-bottom-color: <?php echo nimbus_get_option('nimbus_menu_hover_color'); ?> !important; } .navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus { color:<?php echo nimbus_get_option('nimbus_menu_active_color'); ?> ; } .dropdown-menu { border-right: 1px solid <?php echo nimbus_get_option('nimbus_content_border_color'); ?> ; border-left: 1px solid <?php echo nimbus_get_option('nimbus_content_border_color'); ?> ; border-bottom: 1px solid <?php echo nimbus_get_option('nimbus_content_border_color'); ?> ; } /* Frontpage */ body > .container .row.content_squeeze.frontpage_featured { background:<?php echo nimbus_get_option('feature_row_color'); ?> ; } /* Odds n Ends */ code, pre, var { font-family:<?php echo $get_fonts[$code_style['face']]['fam']; ?> ; color:<?php echo $code_style['color']; ?> ; } blockquote, blockquote p { font:<?php echo $blockquote_style['style']; ?> <?php echo $blockquote_style['size']; ?> /<?php echo $blockquote_style['line']; ?> <?php echo $get_fonts[$blockquote_style['face']]['fam']; ?> ; color:<?php echo $blockquote_style['color']; ?> ; text-transform:<?php echo $blockquote_style['fonttrans']; ?> ; font-size: <?php echo $blockquote_style['size']; ?> ; font-weight: <?php echo $blockquote_style['style']; ?> ; line-height: <?php echo $blockquote_style['line']; ?> ; } div.content blockquote { border-left:4px solid <?php echo nimbus_get_option('nimbus_blockquote_border_color'); ?> ; } /* Custom*/ <?php echo nimbus_get_option('custom_css'); ?> @media (max-width: 767px) { <?php echo nimbus_get_option('custom_css_less_767'); ?> } @media (min-width: 768px) and (max-width: 979px) { <?php echo nimbus_get_option('custom_css_768_979'); ?> } @media (min-width: 980px)and (max-width: 1200px) { <?php echo nimbus_get_option('custom_css_980_1200'); ?> } @media (min-width: 1200px) { <?php echo nimbus_get_option('custom_css_more_1200'); ?> } /* conditional settings */ <?php if (!comments_open()) { ?> .comments_on { display:none; } <?php } ?> <?php echo "\n"; ?> </style> <?php echo "\n"; }
<h2 class="page_title"><?php get_template_part('parts/title', 'page'); ?> </h2> <?php if (get_post_meta($post->ID, 'toggle_featured', true) == "show") { get_template_part('parts/image', '1168_526'); } ?> <div class="row single_meta"> <div class="col-sm-8"> <p> <?php _e('Posted by ', 'nimbus'); the_author_posts_link(); if (nimbus_get_option('nimbus_toggle_single_date') == 1) { _e(' on ', 'nimbus'); the_time(get_option('date_format')); } ?> </p> </div> <div class="col-sm-4"> <?php if (comments_open()) { ?> <p class="text-right"><a href="<?php the_permalink(); ?> #comments" ><?php comments_number('No comments', 'One comment', '% comments');
<?php $nimbus_blog_sidebar_position = nimbus_get_option('nimbus_blog_sidebar_position'); if ($nimbus_blog_sidebar_position == 'right') { $sidebar_select_aside_classes = ''; $sidebar_select_content_classes = ''; } else { $sidebar_select_aside_classes = 'col-sm-pull-8'; $sidebar_select_content_classes = 'col-sm-push-4'; } ?> <div class="main_content content row content_squeeze"> <div class="col-sm-8 blog_content_col <?php echo $sidebar_select_content_classes; ?> "> <?php global $more; $more = 0; if (have_posts()) { while (have_posts()) { the_post(); ?> <div <?php post_class('row blog_content_row'); ?> > <div class="row blog_content_row"> <div class="col-sm-4"> <?php
} else { if (nimbus_get_option('example_widgets') == "on") { get_template_part('parts/sidebar', 'example_widgets'); } } } else { if (trim(get_post_meta($postid, 'alt_sidebar_select', true)) == "" && is_single()) { if (is_active_sidebar("sidebar_blog")) { dynamic_sidebar("sidebar_blog"); } else { if (nimbus_get_option('example_widgets') == "on") { get_template_part('parts/sidebar', 'example_widgets'); } } } } } } else { if (is_front_page()) { if (is_active_sidebar("sidebar_frontpage")) { dynamic_sidebar("sidebar_frontpage"); } else { if (nimbus_get_option('example_widgets') == "on") { get_template_part('parts/sidebar', 'example_widgets'); } } } } } ?> </div>
function nimbus_scripts_content_bottom() { echo nimbus_get_option('scripts_bottom_content'); }
<?php // set variables if front-page $nimbus_left_featured = nimbus_get_option('nimbus_left_featured'); $nimbus_center_featured = nimbus_get_option('nimbus_center_featured'); $nimbus_right_featured = nimbus_get_option('nimbus_right_featured'); $toggle = nimbus_get_option('nimbus_toggle_featured'); if (is_front_page()) { $nimbus_featured = array('nimbus_left_featured' => $nimbus_left_featured, 'nimbus_center_featured' => $nimbus_center_featured, 'nimbus_right_featured' => $nimbus_right_featured); if ($toggle == 1 || $toggle == 'show') { ?> <div class="row frontpage_featured content_squeeze"> <?php foreach ($nimbus_featured as $key => $featured) { $icon = nimbus_get_option($key . '_icon'); $color = nimbus_get_option($key . '_icon_color'); ?> <div id="<?php echo $key; ?> " class="col-sm-4 featured"> <?php if (!empty($featured)) { $original_query = $wp_query; $wp_query = null; $wp_query = new WP_Query(array('page_id' => $featured, 'posts_per_page' => 1, 'post__not_in' => get_option('sticky_posts'))); if (have_posts()) { while (have_posts()) { the_post(); ?> <div class="frontpage_featured_item">
<li id="youtube_footer_button"><a target="_blank" href="<?php echo esc_url(nimbus_get_option('youtube_url')); ?> "></a></li> <?php } if (nimbus_get_option('google_plus_url') != "") { ?> <li id="google_plus_footer_button"><a target="_blank" href="<?php echo esc_url(nimbus_get_option('google_plus_url')); ?> "></a></li> <?php } if (nimbus_get_option('nimbus_hide_rss_icon') == 0) { $nimbus_alt_rss_url = nimbus_get_option('nimbus_alt_rss_url'); if (!empty($nimbus_alt_rss_url)) { echo "<li id='rss_footer_button'><a href='" . esc_url($nimbus_alt_rss_url) . "'></a></li>"; } else { ?> <li id='rss_footer_button'><a target="_blank" href='<?php echo bloginfo('rss2_url'); ?> '></a></li> <?php } } ?> </ul>
<?php if (has_post_thumbnail()) { the_post_thumbnail('nimbus_750_500', array('class' => 'nimbus_750_500 img-responsive')); } else { ?> <?php if (nimbus_get_option('fp-news-thumbs-toggle') == "1" || nimbus_get_option('fp-news-thumbs-toggle') == "") { ?> <img src="<?php echo get_template_directory_uri(); ?> /images/preview/750x500-<?php echo rand(1, 8); ?> .jpg" class="nimbus_750_500 img-responsive" alt="<?php the_title(); ?> " /> <?php } }
// Do frontpage banner options if (is_front_page()) { // Content width banner if ($banner_option == 'image_content_width') { ?> <div> <?php if (!empty($nimbus_content_width_banner)) { ?> <img id="frontpage_banner" class="static_banner nimbus_1168_526" src="<?php echo $nimbus_content_width_banner; ?> " /> <?php } else { if (nimbus_get_option('nimbus_example_content') == 'on') { ?> <img src="<?php echo get_template_directory_uri(); ?> /images/preview/nimbus_1168_526.jpg" class="nimbus_1168_526 static_banner" alt="Example Banner" /> <?php } } ?> </div> <?php } else { // No Banner } } else {
<?php $nimbus_left_featured = nimbus_get_option('nimbus_left_featured'); $nimbus_center_left_featured = nimbus_get_option('nimbus_center_left_featured'); $nimbus_center_right_featured = nimbus_get_option('nimbus_center_right_featured'); $nimbus_right_featured = nimbus_get_option('nimbus_right_featured'); $nimbus_featured = array('nimbus_left_featured' => $nimbus_left_featured, 'nimbus_center_left_featured' => $nimbus_center_left_featured, 'nimbus_center_right_featured' => $nimbus_center_right_featured, 'nimbus_right_featured' => $nimbus_right_featured); if (!is_paged()) { ?> <div id="frontpage_featured_row"> <div class="container"> <div class="row"> <?php foreach ($nimbus_featured as $key => $featured) { ?> <div id="<?php echo $key; ?> " class="col-sm-3 featured"> <?php if (!empty($featured)) { $original_query = $wp_query; $wp_query = null; $wp_query = new WP_Query(array('page_id' => $featured, 'posts_per_page' => 1, 'post__not_in' => get_option('sticky_posts'))); if (have_posts()) { while (have_posts()) { the_post(); get_template_part('parts/content', 'frontpage_featured'); } } else { get_template_part('parts/error', 'no_results');
<?php } ?> <?php if (nimbus_get_option('fp-news-sub-title') != '') { ?> <div class="news-sub-title h4"><?php echo nimbus_get_option('fp-news-sub-title'); ?> </div> <?php } else { ?> <div class="news-sub-title h4">Get up to date with the latest news from our newsroom.</div> <?php } ?> <?php get_template_part('parts/content', 'blog'); ?> </div> </div> </div> </section> <?php } } else { if (nimbus_get_option('fp-news-toggle') == '2') { // Don't do anything } }